Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001342/0.001342, allocations: 106 kB / 21.18 MB, free: 0.707 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.001469/0.001469, allocations: 185.2 kB / 24.47 MB, free: 4.074 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 207.6 MB / 235.2 MB, free: 10.03 MB / 190.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 59.92 kB / 347.7 MB, free: 9.551 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2806, allocations: 49.15 MB / 396.8 MB, free: 9.523 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01028/0.2909, allocations: 10.32 MB / 407.1 MB, free: 2.25 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00805/0.2989, allocations: 3.831 MB / 411 MB, free: 15.71 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.00203/0.301, allocations: 70.44 kB / 411 MB, free: 15.69 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.00443/0.3054, allocations: 1.986 MB / 413 MB, free: 14.77 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.004918/0.3103, allocations: 1.698 MB / 414.7 MB, free: 13.58 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.00171/0.312, allocations: 0.6131 MB / 415.3 MB, free: 13.16 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.005449/0.3175, allocations: 3.345 MB / 418.7 MB, free: 11.36 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.003644/0.3211, allocations: 1.926 MB / 420.6 MB, free: 10.02 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.00314/0.3243, allocations: 1.266 MB / 421.9 MB, free: 9.309 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.003453/0.3277, allocations: 1.825 MB / 423.7 MB, free: 8.191 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.001052/0.3288, allocations: 255 kB / 423.9 MB, free: 8.184 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.003179/0.3319, allocations: 1.065 MB / 425 MB, free: 7.117 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.002681/0.3346, allocations: 1.616 MB / 426.6 MB, free: 5.496 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.003241/0.3379, allocations: 1.829 MB / 428.5 MB, free: 3.656 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.007712/0.3456, allocations: 5.853 MB / 434.3 MB, free: 13.79 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3456, allocations: 4 kB / 434.3 MB, free: 13.78 MB / 350.1 MB
Notification: Performance of FrontEnd: time 2.174e-06/0.3456, allocations: 3.938 kB / 434.3 MB, free: 13.78 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 0.0001266/0.3457, allocations: 0 / 434.3 MB, free: 13.78 MB / 350.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.009733/0.3554, allocations: 4.049 MB / 438.4 MB, free: 9.672 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.3555, allocations: 11.98 kB / 438.4 MB, free: 9.66 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007196/0.3627, allocations: 1.792 MB / 440.2 MB, free: 7.863 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.005035/0.3677, allocations: 1.95 MB / 442.1 MB, free: 5.867 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002375/0.3679, allocations: 192.8 kB / 442.3 MB, free: 5.676 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007733/0.3687, allocations: 255.8 kB / 442.6 MB, free: 5.426 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01616/0.3849, allocations: 8.423 MB / 451 MB, free: 12.34 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0001125/0.385, allocations: 43.58 kB / 451 MB, free: 12.3 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003822/0.3854, allocations: 127.9 kB / 451.1 MB, free: 12.17 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003241/0.3886, allocations: 1.699 MB / 452.8 MB, free: 10.47 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0148/0.4034, allocations: 7.106 MB / 459.9 MB, free: 3.355 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04501/0.4484, allocations: 33.97 MB / 493.9 MB, free: 384 kB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.008558/0.457, allocations: 2.738 MB / 496.7 MB, free: 13.59 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002318/0.4593, allocations: 1.365 MB / 498 MB, free: 12.21 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.00744/0.4667, allocations: 3.669 MB / 0.4899 GB, free: 8.512 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.078e-05/0.4668, allocations: 43.22 kB / 0.49 GB, free: 8.461 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=121): time 4.328e-06/0.4668, allocations: 4 kB / 0.49 GB, free: 8.457 MB / 414.1 MB
Notification: Performance of matching and sorting (n=129): time 0.03351/0.5003, allocations: 11.49 MB / 0.5012 GB, free: 12.89 MB / 430.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.5004, allocations: 153 kB / 0.5013 GB, free: 12.71 MB / 430.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006628/0.5071, allocations: 3.742 MB / 0.505 GB, free: 8.98 MB / 430.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0002523/0.5073, allocations: 41.7 kB / 0.505 GB, free: 8.934 MB / 430.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.002521/0.5098, allocations: 2.862 MB / 0.5078 GB, free: 6.043 MB / 430.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0008092/0.5106, allocations: 0.5468 MB / 0.5084 GB, free: 5.492 MB / 430.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.002255/0.5129, allocations: 1.088 MB / 0.5094 GB, free: 4.395 MB / 430.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001453/0.513, allocations: 301.1 kB / 0.5097 GB, free: 4.098 MB / 430.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.003115/0.5162, allocations: 1.701 MB / 0.5114 GB, free: 2.391 MB / 430.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.006047/0.5222, allocations: 5.124 MB / 0.5164 GB, free: 11.54 MB / 446.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.009852/0.532, allocations: 7.419 MB / 0.5236 GB, free: 2.41 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001323/0.5322, allocations: 36 kB / 0.5237 GB, free: 2.375 MB / 446.1 MB
Notification: Performance of matching and sorting (n=696) (initialization): time 0.01405/0.5462, allocations: 6.74 MB / 0.5302 GB, free: 11.62 MB / 462.1 MB
Notification: Performance of prepare postOptimizeDAE: time 0.0001488/0.5464, allocations: 60 kB / 0.5303 GB, free: 11.57 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002292/0.5466, allocations: 128.1 kB / 0.5304 GB, free: 11.44 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0008436/0.5475, allocations: 316.7 kB / 0.5307 GB, free: 11.13 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004633/0.5521, allocations: 1.248 MB / 0.5319 GB, free: 9.879 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003289/0.5554, allocations: 2.389 MB / 0.5343 GB, free: 7.371 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004982/0.5604, allocations: 291.6 kB / 0.5346 GB, free: 7.086 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001052/0.5614, allocations: 332 kB / 0.5349 GB, free: 6.762 MB / 462.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.005657/0.5671, allocations: 1.791 MB / 0.5366 GB, free: 4.957 MB / 462.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001156/0.5682, allocations: 329.7 kB / 0.5369 GB, free: 4.633 MB / 462.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006159/0.5744, allocations: 2.351 MB / 0.5392 GB, free: 2.27 MB / 462.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.564e-05/0.5744, allocations: 16 kB / 0.5392 GB, free: 2.254 MB / 462.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.5e-05/0.5744, allocations: 8 kB / 0.5392 GB, free: 2.246 MB / 462.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-05/0.5745, allocations: 3.984 kB / 0.5393 GB, free: 2.242 MB / 462.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01529/0.5898, allocations: 5.893 MB / 0.545 GB, free: 12.29 MB / 478.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-05/0.5898, allocations: 0 / 0.545 GB, free: 12.29 MB / 478.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009776/0.5908, allocations: 171.8 kB / 0.5452 GB, free: 12.12 MB / 478.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.002444/0.5932, allocations: 0.7147 MB / 0.5459 GB, free: 11.4 MB / 478.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001601/0.5934, allocations: 20 kB / 0.5459 GB, free: 11.38 MB / 478.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006988/0.6003, allocations: 4.718 MB / 0.5505 GB, free: 6.547 MB / 478.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.6004, allocations: 0 / 0.5505 GB, free: 6.547 MB / 478.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008356/0.6087, allocations: 4.323 MB / 0.5547 GB, free: 2.191 MB / 478.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.00174/0.6104, allocations: 489.5 kB / 0.5552 GB, free: 1.711 MB / 478.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007484/0.6112, allocations: 24.05 kB / 0.5552 GB, free: 1.688 MB / 478.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001558/0.6128, allocations: 71.91 kB / 0.5553 GB, free: 1.617 MB / 478.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002369/0.613, allocations: 68.52 kB / 0.5553 GB, free: 1.551 MB / 478.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/0.6131, allocations: 36 kB / 0.5554 GB, free: 1.516 MB / 478.1 MB
Notification: Performance of sorting global known variables: time 0.2138/0.827, allocations: 2.324 MB / 0.5576 GB, free: 143.5 MB / 478.1 MB
Notification: Performance of sort global known variables: time 2.3e-07/0.827, allocations: 0 / 0.5576 GB, free: 143.5 MB / 478.1 MB
Notification: Performance of remove unused functions: time 0.004683/0.8316, allocations: 0.8211 MB / 0.5584 GB, free: 143.5 MB / 478.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.0003416/0.832, allocations: 150.6 kB / 0.5586 GB, free: 143.4 MB / 478.1 MB
Notification: Performance of simCode: created initialization part: time 0.006094/0.8381, allocations: 3.894 MB / 0.5624 GB, free: 142.4 MB / 478.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.8381, allocations: 0 / 0.5624 GB, free: 142.4 MB / 478.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001328/0.8394, allocations: 1.032 MB / 0.5634 GB, free: 141.9 MB / 478.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002129/0.8415, allocations: 384.4 kB / 0.5638 GB, free: 141.8 MB / 478.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/0.8537, allocations: 7.457 MB / 0.5711 GB, free: 138.6 MB / 478.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002836/0.8566, allocations: 2.793 MB / 0.5738 GB, free: 137.4 MB / 478.1 MB
Notification: Performance of simCode: alias equations: time 0.003164/0.8597, allocations: 1.657 MB / 0.5754 GB, free: 137.3 MB / 478.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004872/0.8602, allocations: 207.4 kB / 0.5756 GB, free: 137.3 MB / 478.1 MB
Notification: Performance of SimCode: time 9.12e-07/0.8602, allocations: 1.859 kB / 0.5756 GB, free: 137.3 MB / 478.1 MB
Notification: Performance of Templates: time 0.05016/0.9104, allocations: 31.93 MB / 0.6068 GB, free: 113.2 MB / 478.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.515446950681508]