Life prediction and virtual testing