Cure-induced residual strain build-up in a thermoset resin