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.001326/0.001326, allocations: 109.5 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.001384/0.001384, allocations: 182.9 kB / 23.71 MB, free: 4.695 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.399/1.399, allocations: 225.6 MB / 252.5 MB, free: 13 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: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant")
translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 43.92 kB / 370.9 MB, free: 9.34 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2967, allocations: 52.18 MB / 423.1 MB, free: 14.67 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.0209/0.3176, allocations: 10.3 MB / 433.4 MB, free: 4.316 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01331/0.3309, allocations: 3.826 MB / 437.2 MB, free: 488 kB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.00292/0.3338, allocations: 71.62 kB / 437.3 MB, free: 416 kB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.005446/0.3393, allocations: 1.978 MB / 439.3 MB, free: 14.42 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.00594/0.3452, allocations: 1.711 MB / 441 MB, free: 12.71 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002049/0.3473, allocations: 0.6199 MB / 441.6 MB, free: 12.09 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.005889/0.3531, allocations: 3.329 MB / 445 MB, free: 8.75 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.003216/0.3564, allocations: 1.924 MB / 446.9 MB, free: 6.773 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.00259/0.3589, allocations: 1.261 MB / 448.1 MB, free: 5.508 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0032/0.3621, allocations: 1.814 MB / 450 MB, free: 3.688 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0008538/0.363, allocations: 256 kB / 450.2 MB, free: 3.438 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002437/0.3654, allocations: 1.073 MB / 451.3 MB, free: 2.363 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.002156/0.3676, allocations: 1.62 MB / 452.9 MB, free: 0.7383 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.00292/0.3705, allocations: 1.825 MB / 454.7 MB, free: 14.9 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.007386/0.3779, allocations: 5.845 MB / 460.6 MB, free: 9.035 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3779, allocations: 0 / 460.6 MB, free: 9.035 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.713e-06/0.3779, allocations: 4 kB / 460.6 MB, free: 9.031 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 0.0001462/0.3781, allocations: 0 / 460.6 MB, free: 9.031 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.00782/0.3859, allocations: 4.057 MB / 464.6 MB, free: 4.918 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.3859, allocations: 8.031 kB / 464.6 MB, free: 4.91 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006609/0.3925, allocations: 1.792 MB / 466.4 MB, free: 3.113 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.003849/0.3964, allocations: 1.891 MB / 468.3 MB, free: 1.176 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/0.3965, allocations: 188.8 kB / 468.5 MB, free: 0.9883 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005005/0.397, allocations: 259.8 kB / 468.8 MB, free: 0.7344 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01388/0.4109, allocations: 8.427 MB / 477.2 MB, free: 7.645 MB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.545e-05/0.411, allocations: 43.67 kB / 477.2 MB, free: 7.602 MB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003567/0.4114, allocations: 123.9 kB / 477.3 MB, free: 7.48 MB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003147/0.4145, allocations: 1.695 MB / 479 MB, free: 5.785 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01539/0.4299, allocations: 7.094 MB / 486.1 MB, free: 14.68 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04733/0.4772, allocations: 33.97 MB / 0.5079 GB, free: 11.7 MB / 430.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.00773/0.485, allocations: 2.724 MB / 0.5106 GB, free: 8.938 MB / 430.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002029/0.487, allocations: 1.363 MB / 0.5119 GB, free: 7.562 MB / 430.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.00674/0.4937, allocations: 3.684 MB / 0.5155 GB, free: 3.844 MB / 430.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.55e-05/0.4938, allocations: 47.16 kB / 0.5156 GB, free: 3.789 MB / 430.1 MB
Notification: Performance of pre-optimization done (n=121): time 3.266e-06/0.4938, allocations: 0 / 0.5156 GB, free: 3.789 MB / 430.1 MB
Notification: Performance of matching and sorting (n=129): time 0.03067/0.5244, allocations: 11.48 MB / 0.5268 GB, free: 8.234 MB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.766e-05/0.5245, allocations: 145.2 kB / 0.5269 GB, free: 8.062 MB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005346/0.5299, allocations: 3.73 MB / 0.5305 GB, free: 4.34 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.000243/0.5301, allocations: 41.7 kB / 0.5306 GB, free: 4.293 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.002342/0.5325, allocations: 2.858 MB / 0.5334 GB, free: 1.406 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0007723/0.5332, allocations: 0.5351 MB / 0.5339 GB, free: 0.8672 MB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.2196/0.7528, allocations: 1.093 MB / 0.535 GB, free: 108 MB / 446.1 MB
Notification: Performance of setup shared object (initialization): time 4.768e-05/0.7529, allocations: 302.2 kB / 0.5353 GB, free: 107.7 MB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.003172/0.7561, allocations: 1.703 MB / 0.5369 GB, free: 107.5 MB / 446.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.003877/0.7599, allocations: 5.127 MB / 0.5419 GB, free: 102.4 MB / 446.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.005899/0.7658, allocations: 7.422 MB / 0.5492 GB, free: 95.83 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001056/0.7659, allocations: 35.22 kB / 0.5492 GB, free: 95.83 MB / 446.1 MB
Notification: Performance of matching and sorting (n=696) (initialization): time 0.009655/0.7756, allocations: 6.733 MB / 0.5558 GB, free: 93.42 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 7.394e-05/0.7757, allocations: 57 kB / 0.5558 GB, free: 93.42 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001233/0.7758, allocations: 128.2 kB / 0.556 GB, free: 93.42 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0005847/0.7764, allocations: 324.9 kB / 0.5563 GB, free: 93.2 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003383/0.7798, allocations: 1.247 MB / 0.5575 GB, free: 92.11 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002156/0.7819, allocations: 2.392 MB / 0.5598 GB, free: 89.82 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00353/0.7854, allocations: 289.5 kB / 0.5601 GB, free: 89.59 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003805/0.7858, allocations: 331.8 kB / 0.5604 GB, free: 89.27 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 (668):
 * Single equations (assignments): 664
 * 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.002179/0.788, allocations: 1.795 MB / 0.5622 GB, free: 87.76 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000469/0.7885, allocations: 333.1 kB / 0.5625 GB, free: 87.62 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004038/0.7925, allocations: 2.35 MB / 0.5648 GB, free: 85.79 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.917e-05/0.7925, allocations: 12 kB / 0.5648 GB, free: 85.78 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.7925, allocations: 8 kB / 0.5648 GB, free: 85.77 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.7925, allocations: 10.7 kB / 0.5648 GB, free: 85.77 MB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009488/0.802, allocations: 5.87 MB / 0.5705 GB, free: 80.05 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.802, allocations: 4 kB / 0.5705 GB, free: 80.05 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008033/0.8028, allocations: 167.7 kB / 0.5707 GB, free: 79.88 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001981/0.8048, allocations: 0.7216 MB / 0.5714 GB, free: 79.16 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-05/0.8049, allocations: 20 kB / 0.5714 GB, free: 79.14 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00474/0.8097, allocations: 4.708 MB / 0.576 GB, free: 74.36 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.8097, allocations: 6.438 kB / 0.576 GB, free: 74.36 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00554/0.8152, allocations: 4.332 MB / 0.5803 GB, free: 70.11 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.000717/0.8159, allocations: 300.7 kB / 0.5806 GB, free: 69.82 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003201/0.8162, allocations: 26.72 kB / 0.5806 GB, free: 69.8 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.8173, allocations: 67.91 kB / 0.5806 GB, free: 69.73 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.8174, allocations: 76.45 kB / 0.5807 GB, free: 69.66 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.214e-05/0.8175, allocations: 33.55 kB / 0.5807 GB, free: 69.62 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 0.002617/0.8201, allocations: 2.319 MB / 0.583 GB, free: 67.32 MB / 446.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.8201, allocations: 0 / 0.583 GB, free: 67.32 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.003655/0.8238, allocations: 0.818 MB / 0.5838 GB, free: 66.51 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.00033/0.8241, allocations: 154.6 kB / 0.584 GB, free: 66.36 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.004751/0.8289, allocations: 3.894 MB / 0.5878 GB, free: 62.48 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.8289, allocations: 3.094 kB / 0.5878 GB, free: 62.48 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001143/0.83, allocations: 1.037 MB / 0.5888 GB, free: 61.44 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001976/0.832, allocations: 389 kB / 0.5891 GB, free: 61.06 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009249/0.8412, allocations: 7.444 MB / 0.5964 GB, free: 53.59 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001997/0.8432, allocations: 2.777 MB / 0.5991 GB, free: 50.79 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.002944/0.8462, allocations: 1.657 MB / 0.6007 GB, free: 49.12 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005219/0.8467, allocations: 215.4 kB / 0.601 GB, free: 48.91 MB / 446.1 MB
Notification: Performance of SimCode: time 7.52e-07/0.8467, allocations: 0 / 0.601 GB, free: 48.91 MB / 446.1 MB
Notification: Performance of Templates: time 0.05037/0.8971, allocations: 31.88 MB / 0.6321 GB, free: 17.31 MB / 446.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile [Timeout 660]
(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 & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins/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: 6.737584713846445]