Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.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.001378/0.001378, allocations: 110 kB / 21.23 MB, free: 0.6602 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.001862/0.001862, allocations: 186.4 kB / 24.51 MB, free: 4.035 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.502/1.502, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2462/0.2462, allocations: 44.91 MB / 353.5 MB, free: 11.81 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo)
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(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 67.89 kB / 497.7 MB, free: 1.023 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4364/0.4385, allocations: 64.29 MB / 0.5488 GB, free: 13.33 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007526/0.446, allocations: 5.465 MB / 0.5541 GB, free: 9.062 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.004693/0.4507, allocations: 1.79 MB / 0.5559 GB, free: 7.684 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0006135/0.4513, allocations: 22.38 kB / 0.5559 GB, free: 7.68 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001365/0.4527, allocations: 0.5303 MB / 0.5564 GB, free: 7.309 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002384/0.4551, allocations: 0.9355 MB / 0.5573 GB, free: 6.68 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001279/0.4552, allocations: 16.03 kB / 0.5573 GB, free: 6.668 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002063/0.4572, allocations: 1.556 MB / 0.5589 GB, free: 5.266 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0009483/0.4582, allocations: 0.6246 MB / 0.5595 GB, free: 4.629 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0008851/0.4591, allocations: 0.533 MB / 0.56 GB, free: 4.094 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.002427/0.4615, allocations: 1.59 MB / 0.5615 GB, free: 2.5 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0004849/0.462, allocations: 92 kB / 0.5616 GB, free: 2.41 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0009306/0.4629, allocations: 323.5 kB / 0.5619 GB, free: 2.094 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.000858/0.4638, allocations: 0.7359 MB / 0.5627 GB, free: 1.355 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001008/0.4648, allocations: 0.8807 MB / 0.5635 GB, free: 480 kB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.003699/0.4685, allocations: 2.842 MB / 0.5663 GB, free: 13.61 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.4685, allocations: 0 / 0.5663 GB, free: 13.61 MB / 414.1 MB
Notification: Performance of FrontEnd: time 3.307e-06/0.4685, allocations: 0 / 0.5663 GB, free: 13.61 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 6.941e-05/0.4686, allocations: 0 / 0.5663 GB, free: 13.61 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.003831/0.4724, allocations: 2.061 MB / 0.5683 GB, free: 11.51 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.4724, allocations: 8.031 kB / 0.5683 GB, free: 11.5 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005151/0.4776, allocations: 1.52 MB / 0.5698 GB, free: 9.977 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002199/0.4798, allocations: 0.7964 MB / 0.5706 GB, free: 9.152 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.814e-05/0.4799, allocations: 90.45 kB / 0.5707 GB, free: 9.062 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002435/0.4801, allocations: 111.8 kB / 0.5708 GB, free: 8.953 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.007975/0.4881, allocations: 4.968 MB / 0.5756 GB, free: 3.516 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 4.95e-05/0.4882, allocations: 19.81 kB / 0.5756 GB, free: 3.496 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000211/0.4884, allocations: 67.89 kB / 0.5757 GB, free: 3.43 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002105/0.4905, allocations: 1.178 MB / 0.5769 GB, free: 2.242 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007395/0.4979, allocations: 4.266 MB / 0.581 GB, free: 13.98 MB / 430.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02375/0.5216, allocations: 20.47 MB / 0.601 GB, free: 8.75 MB / 446.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.5229, allocations: 0.7214 MB / 0.6017 GB, free: 7.992 MB / 446.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004718/0.5234, allocations: 347.3 kB / 0.6021 GB, free: 7.641 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.5234, allocations: 7.938 kB / 0.6021 GB, free: 7.633 MB / 446.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.5234, allocations: 42.55 kB / 0.6021 GB, free: 7.582 MB / 446.1 MB
Notification: Performance of pre-optimization done (n=69): time 3.005e-06/0.5234, allocations: 0 / 0.6021 GB, free: 7.582 MB / 446.1 MB
Notification: Performance of matching and sorting (n=69): time 0.001903/0.5253, allocations: 1.158 MB / 0.6032 GB, free: 6.422 MB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.723e-05/0.5254, allocations: 136.5 kB / 0.6034 GB, free: 6.258 MB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003523/0.529, allocations: 2.43 MB / 0.6057 GB, free: 3.793 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 6.384e-05/0.529, allocations: 37.64 kB / 0.6058 GB, free: 3.75 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001777/0.5308, allocations: 1.878 MB / 0.6076 GB, free: 1.852 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0003368/0.5311, allocations: 317.8 kB / 0.6079 GB, free: 1.539 MB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.00106/0.5322, allocations: 0.7901 MB / 0.6087 GB, free: 0.7422 MB / 446.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002053/0.5324, allocations: 353.9 kB / 0.609 GB, free: 400 kB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/0.5339, allocations: 1.03 MB / 0.61 GB, free: 15.36 MB / 462.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00414/0.5381, allocations: 3.703 MB / 0.6136 GB, free: 10.33 MB / 462.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.007653/0.5457, allocations: 5.15 MB / 0.6187 GB, free: 3.844 MB / 462.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001456/0.5459, allocations: 32 kB / 0.6187 GB, free: 3.812 MB / 462.1 MB
Notification: Performance of matching and sorting (n=508) (initialization): time 0.009949/0.5558, allocations: 4.464 MB / 0.6231 GB, free: 15.34 MB / 478.1 MB
Notification: Performance of prepare postOptimizeDAE: time 8.101e-05/0.5559, allocations: 48 kB / 0.6231 GB, free: 15.3 MB / 478.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001616/0.5561, allocations: 96 kB / 0.6232 GB, free: 15.2 MB / 478.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001654/0.5562, allocations: 124 kB / 0.6233 GB, free: 15.08 MB / 478.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002706/0.5589, allocations: 0.8655 MB / 0.6242 GB, free: 14.21 MB / 478.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001812/0.5591, allocations: 187.3 kB / 0.6243 GB, free: 14.03 MB / 478.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003272/0.5624, allocations: 0.5703 MB / 0.6249 GB, free: 13.46 MB / 478.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003528/0.5627, allocations: 263.9 kB / 0.6251 GB, free: 13.2 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.002127/0.5649, allocations: 1.18 MB / 0.6263 GB, free: 12.01 MB / 478.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004147/0.5653, allocations: 202.6 kB / 0.6265 GB, free: 11.81 MB / 478.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004175/0.5657, allocations: 222 kB / 0.6267 GB, free: 11.6 MB / 478.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.833e-05/0.5658, allocations: 20 kB / 0.6267 GB, free: 11.58 MB / 478.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.5658, allocations: 0 / 0.6267 GB, free: 11.58 MB / 478.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.5658, allocations: 3.984 kB / 0.6267 GB, free: 11.57 MB / 478.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004/0.5698, allocations: 2.045 MB / 0.6287 GB, free: 9.473 MB / 478.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.5698, allocations: 4 kB / 0.6287 GB, free: 9.469 MB / 478.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002852/0.5701, allocations: 55.95 kB / 0.6288 GB, free: 9.414 MB / 478.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.5701, allocations: 4 kB / 0.6288 GB, free: 9.41 MB / 478.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/0.5701, allocations: 11.94 kB / 0.6288 GB, free: 9.398 MB / 478.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.5701, allocations: 4 kB / 0.6288 GB, free: 9.395 MB / 478.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.5701, allocations: 0 / 0.6288 GB, free: 9.395 MB / 478.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/0.5715, allocations: 1.204 MB / 0.63 GB, free: 8.172 MB / 478.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004345/0.5719, allocations: 182.5 kB / 0.6302 GB, free: 7.992 MB / 478.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/0.5721, allocations: 4 kB / 0.6302 GB, free: 7.988 MB / 478.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004913/0.5726, allocations: 15.98 kB / 0.6302 GB, free: 7.973 MB / 478.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.127e-05/0.5727, allocations: 39.81 kB / 0.6302 GB, free: 7.934 MB / 478.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.993e-05/0.5727, allocations: 23.98 kB / 0.6302 GB, free: 7.91 MB / 478.1 MB
Notification: Performance of sorting global known variables: time 0.00219/0.5749, allocations: 1.494 MB / 0.6317 GB, free: 6.398 MB / 478.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.5749, allocations: 3.938 kB / 0.6317 GB, free: 6.395 MB / 478.1 MB
Notification: Performance of remove unused functions: time 0.003164/0.5781, allocations: 0.542 MB / 0.6322 GB, free: 5.852 MB / 478.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.0003094/0.5784, allocations: 127 kB / 0.6323 GB, free: 5.719 MB / 478.1 MB
Notification: Performance of simCode: created initialization part: time 0.003884/0.5823, allocations: 2.272 MB / 0.6346 GB, free: 3.473 MB / 478.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.5823, allocations: 0 / 0.6346 GB, free: 3.473 MB / 478.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0004716/0.5827, allocations: 335.7 kB / 0.6349 GB, free: 3.145 MB / 478.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/0.584, allocations: 163.9 kB / 0.635 GB, free: 2.98 MB / 478.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006718/0.5907, allocations: 4.074 MB / 0.639 GB, free: 14.86 MB / 494.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00184/0.5925, allocations: 1.866 MB / 0.6408 GB, free: 12.95 MB / 494.1 MB
Notification: Performance of simCode: alias equations: time 0.002618/0.5952, allocations: 1.247 MB / 0.6421 GB, free: 11.7 MB / 494.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000279/0.5954, allocations: 135.4 kB / 0.6422 GB, free: 11.57 MB / 494.1 MB
Notification: Performance of SimCode: time 9.52e-07/0.5954, allocations: 0 / 0.6422 GB, free: 11.57 MB / 494.1 MB
Notification: Performance of Templates: time 0.03572/0.6312, allocations: 15.86 MB / 0.6577 GB, free: 11.72 MB / 0.4981 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_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.3447360470891]