Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001645/0.001645, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001945/0.001945, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.559/1.559, allocations: 230.3 MB / 258 MB, free: 8.246 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2454/0.2454, allocations: 46.89 MB / 361.3 MB, free: 4.473 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo)
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo)
Running command: translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization")
translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002369/0.002369, allocations: 75.88 kB / 0.497 GB, free: 7.648 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4315/0.4339, allocations: 66.02 MB / 0.5615 GB, free: 4.656 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007078/0.441, allocations: 5.448 MB / 0.5668 GB, free: 15.18 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003649/0.4446, allocations: 1.826 MB / 0.5686 GB, free: 13.34 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000361/0.445, allocations: 27.94 kB / 0.5686 GB, free: 13.32 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001243/0.4462, allocations: 0.5524 MB / 0.5692 GB, free: 12.76 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.00194/0.4482, allocations: 0.9263 MB / 0.5701 GB, free: 11.83 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001095/0.4483, allocations: 12 kB / 0.5701 GB, free: 11.82 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002061/0.4503, allocations: 1.522 MB / 0.5716 GB, free: 10.3 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.000922/0.4513, allocations: 0.6245 MB / 0.5722 GB, free: 9.66 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0008783/0.4521, allocations: 0.533 MB / 0.5727 GB, free: 9.125 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.002196/0.4543, allocations: 1.703 MB / 0.5744 GB, free: 7.418 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0003052/0.4546, allocations: 92 kB / 0.5745 GB, free: 7.328 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0007669/0.4554, allocations: 331.5 kB / 0.5748 GB, free: 7.004 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.000696/0.4561, allocations: 0.7164 MB / 0.5755 GB, free: 6.285 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0008527/0.4569, allocations: 0.8729 MB / 0.5763 GB, free: 5.406 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.003186/0.4601, allocations: 2.807 MB / 0.5791 GB, free: 2.59 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4601, allocations: 0 / 0.5791 GB, free: 2.59 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.703e-06/0.4601, allocations: 0 / 0.5791 GB, free: 2.59 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 5.34e-05/0.4602, allocations: 0 / 0.5791 GB, free: 2.59 MB / 414.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 774
 * Number of variables: 774
Notification: Performance of Generate backend data structure: time 0.004129/0.4643, allocations: 2.03 MB / 0.581 GB, free: 0.5156 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 6.437e-05/0.4644, allocations: 8.031 kB / 0.5811 GB, free: 0.5078 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005392/0.4698, allocations: 1.516 MB / 0.5825 GB, free: 14.99 MB / 430.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002423/0.4722, allocations: 0.7887 MB / 0.5833 GB, free: 14.18 MB / 430.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.172e-05/0.4723, allocations: 90.47 kB / 0.5834 GB, free: 14.09 MB / 430.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002735/0.4726, allocations: 119.8 kB / 0.5835 GB, free: 13.97 MB / 430.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.007778/0.4803, allocations: 4.972 MB / 0.5884 GB, free: 8.527 MB / 430.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 4.333e-05/0.4804, allocations: 23.75 kB / 0.5884 GB, free: 8.504 MB / 430.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001883/0.4806, allocations: 63.91 kB / 0.5884 GB, free: 8.441 MB / 430.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002154/0.4827, allocations: 1.185 MB / 0.5896 GB, free: 7.25 MB / 430.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00837/0.4911, allocations: 4.246 MB / 0.5937 GB, free: 2.996 MB / 430.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02513/0.5162, allocations: 20.48 MB / 0.6137 GB, free: 13.76 MB / 462.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.5176, allocations: 0.7276 MB / 0.6145 GB, free: 13 MB / 462.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.00048/0.518, allocations: 343.3 kB / 0.6148 GB, free: 12.65 MB / 462.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.5181, allocations: 7.938 kB / 0.6148 GB, free: 12.64 MB / 462.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.5181, allocations: 46.5 kB / 0.6148 GB, free: 12.59 MB / 462.1 MB
Notification: Performance of pre-optimization done (n=69): time 2.715e-06/0.5181, allocations: 0 / 0.6148 GB, free: 12.59 MB / 462.1 MB
Notification: Performance of matching and sorting (n=69): time 0.001844/0.5199, allocations: 1.157 MB / 0.616 GB, free: 11.43 MB / 462.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.954e-05/0.52, allocations: 132.5 kB / 0.6161 GB, free: 11.27 MB / 462.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003414/0.5234, allocations: 2.441 MB / 0.6185 GB, free: 8.793 MB / 462.1 MB
Notification: Performance of collectPreVariables (initialization): time 5.931e-05/0.5235, allocations: 29.7 kB / 0.6185 GB, free: 8.758 MB / 462.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001635/0.5251, allocations: 1.878 MB / 0.6203 GB, free: 6.859 MB / 462.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0003511/0.5255, allocations: 310.3 kB / 0.6206 GB, free: 6.555 MB / 462.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001044/0.5265, allocations: 0.7939 MB / 0.6214 GB, free: 5.754 MB / 462.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001786/0.5267, allocations: 353.9 kB / 0.6217 GB, free: 5.402 MB / 462.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001486/0.5282, allocations: 1.03 MB / 0.6228 GB, free: 4.371 MB / 462.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.003684/0.5319, allocations: 3.691 MB / 0.6264 GB, free: 15.35 MB / 478.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.006159/0.538, allocations: 5.162 MB / 0.6314 GB, free: 8.852 MB / 478.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.429e-05/0.5381, allocations: 36 kB / 0.6314 GB, free: 8.816 MB / 478.1 MB
Notification: Performance of matching and sorting (n=508) (initialization): time 0.009596/0.5477, allocations: 4.457 MB / 0.6358 GB, free: 4.355 MB / 478.1 MB
Notification: Performance of prepare postOptimizeDAE: time 8.087e-05/0.5478, allocations: 56.02 kB / 0.6358 GB, free: 4.301 MB / 478.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001085/0.5479, allocations: 96 kB / 0.6359 GB, free: 4.207 MB / 478.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001487/0.5481, allocations: 124 kB / 0.636 GB, free: 4.086 MB / 478.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002513/0.5506, allocations: 0.8616 MB / 0.6369 GB, free: 3.223 MB / 478.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001552/0.5507, allocations: 187.2 kB / 0.6371 GB, free: 3.039 MB / 478.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002579/0.5533, allocations: 0.57 MB / 0.6376 GB, free: 2.465 MB / 478.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003186/0.5536, allocations: 252 kB / 0.6379 GB, free: 2.219 MB / 478.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 434
 * Number of states: 0 ()
 * Number of discrete variables: 17 (visGroundAxis.arrowLine.twoHeadedArrow,visGroundAxis.headAtOrigin,world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],visGroundAxis.color[3],visGroundAxis.color[2],visGroundAxis.color[1])
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (476):
 * Single equations (assignments): 472
 * Array equations: 4
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.001821/0.5554, allocations: 1.189 MB / 0.639 GB, free: 1.02 MB / 478.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003519/0.5558, allocations: 202.6 kB / 0.6392 GB, free: 0.8203 MB / 478.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003726/0.5562, allocations: 217.8 kB / 0.6394 GB, free: 0.6094 MB / 478.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.58e-05/0.5562, allocations: 19.98 kB / 0.6394 GB, free: 0.5898 MB / 478.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/0.5562, allocations: 4 kB / 0.6395 GB, free: 0.5859 MB / 478.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.5562, allocations: 0 / 0.6395 GB, free: 0.5859 MB / 478.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003745/0.56, allocations: 2.041 MB / 0.6414 GB, free: 14.49 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.56, allocations: 0 / 0.6414 GB, free: 14.49 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002877/0.5603, allocations: 59.91 kB / 0.6415 GB, free: 14.43 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/0.5603, allocations: 8 kB / 0.6415 GB, free: 14.42 MB / 494.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/0.5603, allocations: 11.98 kB / 0.6415 GB, free: 14.41 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.5603, allocations: 3.984 kB / 0.6415 GB, free: 14.41 MB / 494.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.5603, allocations: 4 kB / 0.6415 GB, free: 14.4 MB / 494.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/0.5617, allocations: 1.197 MB / 0.6427 GB, free: 13.18 MB / 494.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004719/0.5622, allocations: 186.6 kB / 0.6429 GB, free: 13 MB / 494.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/0.5623, allocations: 11.94 kB / 0.6429 GB, free: 12.99 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004823/0.5628, allocations: 15.98 kB / 0.6429 GB, free: 12.97 MB / 494.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8e-05/0.5629, allocations: 27.89 kB / 0.6429 GB, free: 12.95 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.065e-05/0.5629, allocations: 27.97 kB / 0.643 GB, free: 12.92 MB / 494.1 MB
Notification: Performance of sorting global known variables: time 0.002216/0.5652, allocations: 1.486 MB / 0.6444 GB, free: 11.41 MB / 494.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.5652, allocations: 0 / 0.6444 GB, free: 11.41 MB / 494.1 MB
Notification: Performance of remove unused functions: time 0.003063/0.5682, allocations: 0.5303 MB / 0.6449 GB, free: 10.88 MB / 494.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 4
 * Number of states: 0 ()
 * 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 (37):
 * Single equations (assignments): 33
 * Array equations: 4
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003304/0.5686, allocations: 123.1 kB / 0.645 GB, free: 10.75 MB / 494.1 MB
Notification: Performance of simCode: created initialization part: time 0.003863/0.5724, allocations: 2.268 MB / 0.6473 GB, free: 8.508 MB / 494.1 MB
Notification: Performance of simCode: created event and clocks part: time 9.968e-06/0.5724, allocations: 0 / 0.6473 GB, free: 8.508 MB / 494.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0004566/0.5729, allocations: 331.7 kB / 0.6476 GB, free: 8.184 MB / 494.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.5741, allocations: 174.8 kB / 0.6477 GB, free: 8.012 MB / 494.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007155/0.5812, allocations: 4.081 MB / 0.6517 GB, free: 3.883 MB / 494.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001971/0.5832, allocations: 1.857 MB / 0.6535 GB, free: 1.988 MB / 494.1 MB
Notification: Performance of simCode: alias equations: time 0.002735/0.5859, allocations: 1.255 MB / 0.6548 GB, free: 0.7266 MB / 494.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002885/0.5862, allocations: 131.4 kB / 0.6549 GB, free: 0.5977 MB / 494.1 MB
Notification: Performance of SimCode: time 1.533e-06/0.5862, allocations: 0 / 0.6549 GB, free: 0.5977 MB / 494.1 MB
Notification: Performance of Templates: time 0.03453/0.6207, allocations: 15.77 MB / 0.6703 GB, free: 0.8398 MB / 0.4981 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.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.3680672608315945]