Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.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.001366/0.001366, allocations: 110.5 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.001549/0.001549, allocations: 213.2 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.53/1.53, allocations: 230.3 MB / 258 MB, free: 8.219 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2374/0.2374, allocations: 46.94 MB / 361.4 MB, free: 4.418 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes")
translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes") [Timeout 660]
"Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.003198/0.003198, allocations: 75.88 kB / 0.4972 GB, free: 7.527 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3694, allocations: 66.05 MB / 0.5617 GB, free: 4.543 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.0111/0.3805, allocations: 8.756 MB / 0.5702 GB, free: 11.74 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.005021/0.3855, allocations: 2.313 MB / 0.5725 GB, free: 9.422 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0009563/0.3865, allocations: 47.88 kB / 0.5725 GB, free: 9.375 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.003223/0.3897, allocations: 1.561 MB / 0.5741 GB, free: 7.809 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001147/0.3909, allocations: 485.3 kB / 0.5745 GB, free: 7.332 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.3912, allocations: 79.83 kB / 0.5746 GB, free: 7.254 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001188/0.3923, allocations: 0.9216 MB / 0.5755 GB, free: 6.328 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001361/0.3937, allocations: 1.1 MB / 0.5766 GB, free: 5.203 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0006967/0.3944, allocations: 0.5488 MB / 0.5771 GB, free: 4.652 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.00097/0.3954, allocations: 0.7238 MB / 0.5778 GB, free: 3.926 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.000172/0.3955, allocations: 116 kB / 0.5779 GB, free: 3.812 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002971/0.3958, allocations: 135.9 kB / 0.5781 GB, free: 3.68 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0006937/0.3965, allocations: 0.74 MB / 0.5788 GB, free: 2.938 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0008696/0.3974, allocations: 0.8502 MB / 0.5796 GB, free: 2.082 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002827/0.4002, allocations: 2.332 MB / 0.5819 GB, free: 15.74 MB / 430.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4002, allocations: 0 / 0.5819 GB, free: 15.74 MB / 430.1 MB
Notification: Performance of FrontEnd: time 2.014e-06/0.4002, allocations: 0 / 0.5819 GB, free: 15.74 MB / 430.1 MB
Notification: Performance of Transformations before backend: time 3.741e-05/0.4003, allocations: 0 / 0.5819 GB, free: 15.74 MB / 430.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 645
 * Number of variables: 645
Notification: Performance of Generate backend data structure: time 0.002864/0.4031, allocations: 1.916 MB / 0.5838 GB, free: 13.79 MB / 430.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.4032, allocations: 16.03 kB / 0.5838 GB, free: 13.77 MB / 430.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006049/0.4038, allocations: 219.4 kB / 0.584 GB, free: 13.55 MB / 430.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.405, allocations: 0.6625 MB / 0.5846 GB, free: 12.86 MB / 430.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.689e-05/0.4051, allocations: 115.4 kB / 0.5847 GB, free: 12.75 MB / 430.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000209/0.4053, allocations: 152.1 kB / 0.5849 GB, free: 12.6 MB / 430.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.004583/0.4099, allocations: 3.387 MB / 0.5882 GB, free: 8.879 MB / 430.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.899e-05/0.4099, allocations: 15.81 kB / 0.5882 GB, free: 8.863 MB / 430.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001376/0.4101, allocations: 75.94 kB / 0.5883 GB, free: 8.789 MB / 430.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007694/0.4108, allocations: 0.611 MB / 0.5889 GB, free: 8.18 MB / 430.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003576/0.4144, allocations: 1.866 MB / 0.5907 GB, free: 6.312 MB / 430.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02044/0.4348, allocations: 13.44 MB / 0.6038 GB, free: 8.438 MB / 446.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.435, allocations: 177.1 kB / 0.604 GB, free: 8.254 MB / 446.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.256e-05/0.4351, allocations: 80.14 kB / 0.6041 GB, free: 8.172 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 5.361e-05/0.4351, allocations: 79.22 kB / 0.6041 GB, free: 8.094 MB / 446.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.286e-05/0.4352, allocations: 109.8 kB / 0.6042 GB, free: 7.977 MB / 446.1 MB
Notification: Performance of pre-optimization done (n=0): time 1.724e-06/0.4352, allocations: 0 / 0.6042 GB, free: 7.977 MB / 446.1 MB
Notification: Performance of matching and sorting (n=0): time 0.0004071/0.4356, allocations: 152.9 kB / 0.6044 GB, free: 7.82 MB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.4357, allocations: 130.7 kB / 0.6045 GB, free: 7.68 MB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003324/0.439, allocations: 1.655 MB / 0.6061 GB, free: 6.016 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.439, allocations: 25.7 kB / 0.6062 GB, free: 5.984 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001571/0.4406, allocations: 1.412 MB / 0.6075 GB, free: 4.555 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 6.956e-05/0.4407, allocations: 43.95 kB / 0.6076 GB, free: 4.512 MB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007078/0.4414, allocations: 431.1 kB / 0.608 GB, free: 4.082 MB / 446.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002575/0.4417, allocations: 357.9 kB / 0.6083 GB, free: 3.727 MB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008671/0.4425, allocations: 379.8 kB / 0.6087 GB, free: 3.352 MB / 446.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002574/0.4451, allocations: 1.933 MB / 0.6106 GB, free: 0.6016 MB / 446.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.004048/0.4491, allocations: 2.503 MB / 0.613 GB, free: 13.3 MB / 462.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.139e-05/0.4492, allocations: 24 kB / 0.613 GB, free: 13.27 MB / 462.1 MB
Notification: Performance of matching and sorting (n=260) (initialization): time 0.005329/0.4545, allocations: 2.115 MB / 0.6151 GB, free: 11.15 MB / 462.1 MB
Notification: Performance of prepare postOptimizeDAE: time 6.26e-05/0.4546, allocations: 28 kB / 0.6151 GB, free: 11.12 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.905e-05/0.4547, allocations: 60 kB / 0.6152 GB, free: 11.07 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001136/0.4548, allocations: 72 kB / 0.6153 GB, free: 11 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001924/0.4567, allocations: 491 kB / 0.6157 GB, free: 10.52 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001361/0.4568, allocations: 111.6 kB / 0.6158 GB, free: 10.41 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002311/0.4591, allocations: 329.9 kB / 0.6162 GB, free: 10.08 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002126/0.4594, allocations: 140 kB / 0.6163 GB, free: 9.945 MB / 462.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 260
 * Number of states: 0 ()
 * Number of discrete variables: 39 (world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],cone.color[3],cone.color[2],cone.color[1],spring.color[3],spring.color[2],spring.color[1],gearwheel.color[3],gearwheel.color[2],gearwheel.color[1],beam.color[3],beam.color[2],beam.color[1],pipe.color[3],pipe.color[2],pipe.color[1],cylinder.color[3],cylinder.color[2],cylinder.color[1],sphere.color[3],sphere.color[2],sphere.color[1],box.color[3],box.color[2],box.color[1],fixed.color[3],fixed.color[2],fixed.color[1])
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (260):
 * Single equations (assignments): 260
 * Array equations: 0
 * 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.001707/0.4611, allocations: 0.8628 MB / 0.6171 GB, free: 9.07 MB / 462.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003484/0.4614, allocations: 232 kB / 0.6174 GB, free: 8.836 MB / 462.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003291/0.4617, allocations: 236.2 kB / 0.6176 GB, free: 8.59 MB / 462.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001128/0.4619, allocations: 180.3 kB / 0.6178 GB, free: 8.406 MB / 462.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001054/0.462, allocations: 180.3 kB / 0.6179 GB, free: 8.223 MB / 462.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001088/0.4621, allocations: 180.2 kB / 0.6181 GB, free: 8.039 MB / 462.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002624/0.4647, allocations: 1.445 MB / 0.6195 GB, free: 6.543 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-05/0.4648, allocations: 112.9 kB / 0.6196 GB, free: 6.426 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.174e-05/0.4648, allocations: 108.9 kB / 0.6197 GB, free: 6.312 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001102/0.4649, allocations: 184.2 kB / 0.6199 GB, free: 6.125 MB / 462.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.4651, allocations: 176.3 kB / 0.6201 GB, free: 5.945 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00011/0.4652, allocations: 184.2 kB / 0.6202 GB, free: 5.758 MB / 462.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001027/0.4653, allocations: 176.3 kB / 0.6204 GB, free: 5.578 MB / 462.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004166/0.4657, allocations: 438 kB / 0.6208 GB, free: 5.125 MB / 462.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004422/0.4661, allocations: 228 kB / 0.621 GB, free: 4.895 MB / 462.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002544/0.4664, allocations: 180.3 kB / 0.6212 GB, free: 4.711 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004909/0.4669, allocations: 109 kB / 0.6213 GB, free: 4.598 MB / 462.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.467, allocations: 180.2 kB / 0.6215 GB, free: 4.414 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.095e-05/0.4671, allocations: 105 kB / 0.6216 GB, free: 4.305 MB / 462.1 MB
Notification: Performance of sorting global known variables: time 0.001988/0.469, allocations: 1.014 MB / 0.6226 GB, free: 3.293 MB / 462.1 MB
Notification: Performance of sort global known variables: time 1.2e-07/0.469, allocations: 0 / 0.6226 GB, free: 3.293 MB / 462.1 MB
Notification: Performance of remove unused functions: time 0.002816/0.4719, allocations: 434.7 kB / 0.623 GB, free: 2.867 MB / 462.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * 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 (0):
 * Single equations (assignments): 0
 * Array equations: 0
 * 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.0002242/0.4721, allocations: 170.5 kB / 0.6232 GB, free: 2.691 MB / 462.1 MB
Notification: Performance of simCode: created initialization part: time 0.002167/0.4742, allocations: 0.8762 MB / 0.624 GB, free: 1.828 MB / 462.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.4743, allocations: 3.938 kB / 0.624 GB, free: 1.824 MB / 462.1 MB
Notification: Performance of simCode: created simulation system equations: time 3.166e-06/0.4743, allocations: 0 / 0.624 GB, free: 1.824 MB / 462.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.4757, allocations: 0.584 MB / 0.6246 GB, free: 1.234 MB / 462.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007989/0.4837, allocations: 2.808 MB / 0.6273 GB, free: 14.39 MB / 478.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002318/0.486, allocations: 1.575 MB / 0.6289 GB, free: 12.78 MB / 478.1 MB
Notification: Performance of simCode: alias equations: time 0.001209/0.4872, allocations: 0.4914 MB / 0.6293 GB, free: 12.28 MB / 478.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.4874, allocations: 75.44 kB / 0.6294 GB, free: 12.21 MB / 478.1 MB
Notification: Performance of SimCode: time 1.062e-06/0.4874, allocations: 0 / 0.6294 GB, free: 12.21 MB / 478.1 MB
Notification: Performance of Templates: time 0.024/0.5114, allocations: 10.06 MB / 0.6392 GB, free: 2.18 MB / 478.1 MB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.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: 5.44002347253263]