Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 112.2 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 181.3 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 43.92 kB / 370.4 MB, free: 9.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2865, allocations: 52.2 MB / 422.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01301/0.2995, allocations: 10.3 MB / 432.9 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008335/0.3078, allocations: 3.826 MB / 436.8 MB, free: 420 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001813/0.3096, allocations: 67.69 kB / 436.8 MB, free: 352 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004324/0.314, allocations: 1.985 MB / 438.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005211/0.3192, allocations: 1.696 MB / 440.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.3212, allocations: 0.6238 MB / 441.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005695/0.3269, allocations: 3.325 MB / 444.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003847/0.3307, allocations: 2.134 MB / 446.6 MB, free: 6.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002905/0.3336, allocations: 1.261 MB / 447.9 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003782/0.3374, allocations: 1.826 MB / 449.7 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001223/0.3386, allocations: 252 kB / 449.9 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003068/0.3417, allocations: 1.069 MB / 451 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002511/0.3442, allocations: 1.609 MB / 452.6 MB, free: 488 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004104/0.3483, allocations: 1.833 MB / 454.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009663/0.358, allocations: 5.867 MB / 460.3 MB, free: 8.742 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.358, allocations: 0 / 460.3 MB, free: 8.742 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.358, allocations: 0 / 460.3 MB, free: 8.742 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002556/0.3582, allocations: 0 / 460.3 MB, free: 8.742 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01225/0.3705, allocations: 4.061 MB / 464.4 MB, free: 4.625 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.3706, allocations: 12.03 kB / 464.4 MB, free: 4.613 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001968/0.3725, allocations: 0.6043 MB / 465 MB, free: 4 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007157/0.3797, allocations: 1.808 MB / 466.8 MB, free: 2.188 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005988/0.3857, allocations: 2.203 MB / 469 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002519/0.3859, allocations: 188.8 kB / 469.2 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001275/0.3872, allocations: 255.8 kB / 469.4 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01779/0.405, allocations: 8.423 MB / 477.9 MB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001952/0.4052, allocations: 39.64 kB / 477.9 MB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009426/0.4061, allocations: 131.9 kB / 478 MB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003111/0.4092, allocations: 1.695 MB / 479.7 MB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01514/0.4244, allocations: 7.098 MB / 486.8 MB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05034/0.4747, allocations: 33.98 MB / 0.5086 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007775/0.4825, allocations: 2.72 MB / 0.5112 GB, free: 7.699 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002301/0.4848, allocations: 1.36 MB / 0.5126 GB, free: 6.328 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00892/0.4937, allocations: 3.684 MB / 0.5162 GB, free: 2.609 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.424e-05/0.4938, allocations: 47.22 kB / 0.5162 GB, free: 2.555 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 4.298e-06/0.4938, allocations: 0 / 0.5162 GB, free: 2.555 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.035/0.5288, allocations: 11.48 MB / 0.5274 GB, free: 7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/0.5289, allocations: 145 kB / 0.5276 GB, free: 6.828 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007551/0.5365, allocations: 3.734 MB / 0.5312 GB, free: 3.102 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002745/0.5367, allocations: 41.7 kB / 0.5312 GB, free: 3.055 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00267/0.5394, allocations: 2.866 MB / 0.534 GB, free: 164 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.2352/0.7746, allocations: 0.535 MB / 0.5346 GB, free: 108.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002548/0.7772, allocations: 1.085 MB / 0.5356 GB, free: 108.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.677e-05/0.7772, allocations: 301.6 kB / 0.5359 GB, free: 108.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003258/0.7805, allocations: 1.697 MB / 0.5376 GB, free: 107.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004198/0.7847, allocations: 5.118 MB / 0.5426 GB, free: 102.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00637/0.791, allocations: 7.405 MB / 0.5498 GB, free: 95.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.851e-05/0.7911, allocations: 34.12 kB / 0.5498 GB, free: 95.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01018/0.8013, allocations: 6.721 MB / 0.5564 GB, free: 93.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.389e-05/0.8014, allocations: 56.19 kB / 0.5565 GB, free: 93.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001318/0.8015, allocations: 124 kB / 0.5566 GB, free: 92.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006269/0.8022, allocations: 318 kB / 0.5569 GB, free: 92.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003498/0.8057, allocations: 1.238 MB / 0.5581 GB, free: 91.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002082/0.8077, allocations: 2.396 MB / 0.5604 GB, free: 89.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003784/0.8115, allocations: 278 kB / 0.5607 GB, free: 89.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006401/0.8122, allocations: 339.4 kB / 0.561 GB, free: 88.72 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 660 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002704/0.8149, allocations: 1.794 MB / 0.5628 GB, free: 87.22 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005814/0.8154, allocations: 328.1 kB / 0.5631 GB, free: 87.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004166/0.8196, allocations: 2.351 MB / 0.5654 GB, free: 85.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.401e-05/0.8196, allocations: 20 kB / 0.5654 GB, free: 85.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.8197, allocations: 4 kB / 0.5654 GB, free: 85.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-05/0.8197, allocations: 3.984 kB / 0.5654 GB, free: 85.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01131/0.831, allocations: 5.876 MB / 0.5711 GB, free: 79.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.908e-05/0.831, allocations: 4 kB / 0.5711 GB, free: 79.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000848/0.8319, allocations: 171.8 kB / 0.5713 GB, free: 79.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00194/0.8338, allocations: 0.7132 MB / 0.572 GB, free: 78.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001517/0.8339, allocations: 23.98 kB / 0.572 GB, free: 78.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004719/0.8387, allocations: 4.709 MB / 0.5766 GB, free: 73.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.8387, allocations: 4.031 kB / 0.5766 GB, free: 73.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005868/0.8445, allocations: 4.338 MB / 0.5809 GB, free: 69.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/0.8456, allocations: 308.3 kB / 0.5812 GB, free: 68.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007012/0.8463, allocations: 20 kB / 0.5812 GB, free: 68.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001431/0.8478, allocations: 67.91 kB / 0.5812 GB, free: 68.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002891/0.8481, allocations: 67.59 kB / 0.5813 GB, free: 68.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.654e-05/0.8482, allocations: 39.98 kB / 0.5813 GB, free: 68.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003627/0.8518, allocations: 2.319 MB / 0.5836 GB, free: 66.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8518, allocations: 0 / 0.5836 GB, free: 66.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005095/0.8569, allocations: 0.8163 MB / 0.5844 GB, free: 65.58 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006602/0.8635, allocations: 4.972 MB / 0.5893 GB, free: 60.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005987/0.8695, allocations: 3.887 MB / 0.5931 GB, free: 56.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/0.8695, allocations: 0 / 0.5931 GB, free: 56.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001352/0.8708, allocations: 1.033 MB / 0.5941 GB, free: 55.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002464/0.8733, allocations: 386.2 kB / 0.5944 GB, free: 55.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04436/0.9176, allocations: 37.77 MB / 0.6313 GB, free: 12.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003363/0.921, allocations: 2.785 MB / 0.634 GB, free: 9.547 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003361/0.9244, allocations: 1.668 MB / 0.6357 GB, free: 7.875 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002212/0.9266, allocations: 1.522 MB / 0.6372 GB, free: 6.352 MB / 446.1 MB Notification: Performance of SimCode: time 1.222e-06/0.9266, allocations: 0 / 0.6372 GB, free: 6.352 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1287/1.055, allocations: 62.38 MB / 0.6981 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.5/27.55, allocations: 15.47 kB / 0.6981 GB, free: 8.383 MB / 0.4981 GB " [Timeout remaining time 632] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 30.16880747200048]