Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008013/0.0008013, allocations: 98.47 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 176.9 kB / 18.91 MB, free: 4.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 223.3 MB / 242.9 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2037/0.2037, allocations: 44.24 MB / 338.3 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003155/0.0003155, allocations: 8 kB / 411 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1205, allocations: 61.92 MB / 472.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.03733/0.1578, allocations: 39.11 MB / 0.5 GB, free: 6.078 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2851/0.443, allocations: 7.274 MB / 0.5071 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007648/0.4506, allocations: 161.2 kB / 0.5073 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000836/0.4515, allocations: 187 kB / 0.5075 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001501/0.453, allocations: 448.7 kB / 0.5079 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002929/0.4533, allocations: 64.97 kB / 0.5079 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00224/0.4556, allocations: 1.624 MB / 0.5095 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00288/0.4585, allocations: 1.873 MB / 0.5114 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007356/0.4592, allocations: 368.4 kB / 0.5117 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009408/0.4602, allocations: 0.557 MB / 0.5123 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.4603, allocations: 45.58 kB / 0.5123 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002924/0.4606, allocations: 64 kB / 0.5124 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007309/0.4613, allocations: 0.6447 MB / 0.513 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006969/0.462, allocations: 0.7684 MB / 0.5137 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002108/0.4642, allocations: 1.773 MB / 0.5155 GB, free: 9.461 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.4642, allocations: 0 / 0.5155 GB, free: 9.461 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4642, allocations: 0 / 0.5155 GB, free: 9.461 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.405e-05/0.4642, allocations: 1.062 kB / 0.5155 GB, free: 9.461 MB / 382.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.002214/0.4665, allocations: 1.616 MB / 0.517 GB, free: 8.516 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.4665, allocations: 8.375 kB / 0.5171 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005463/0.4671, allocations: 213.2 kB / 0.5173 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008973/0.468, allocations: 0.7256 MB / 0.518 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.4681, allocations: 116.8 kB / 0.5181 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002592/0.4684, allocations: 148.1 kB / 0.5182 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004192/0.4726, allocations: 3.38 MB / 0.5215 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.488e-05/0.4726, allocations: 14.47 kB / 0.5215 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001621/0.4728, allocations: 74.03 kB / 0.5216 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007903/0.4736, allocations: 0.6189 MB / 0.5222 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003572/0.4772, allocations: 1.865 MB / 0.524 GB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01115/0.4883, allocations: 13.53 MB / 0.5372 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.306e-05/0.4884, allocations: 174.6 kB / 0.5374 GB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.264e-05/0.4885, allocations: 80.14 kB / 0.5375 GB, free: 12.08 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.4885, allocations: 75.28 kB / 0.5376 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.578e-05/0.4886, allocations: 116.4 kB / 0.5377 GB, free: 11.88 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.763e-06/0.4886, allocations: 7.938 kB / 0.5377 GB, free: 11.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002697/0.4889, allocations: 148.4 kB / 0.5378 GB, free: 11.78 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.644e-05/0.4889, allocations: 129.2 kB / 0.5379 GB, free: 11.64 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001999/0.491, allocations: 1.65 MB / 0.5396 GB, free: 10.74 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.491, allocations: 25.7 kB / 0.5396 GB, free: 10.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009382/0.4919, allocations: 1.364 MB / 0.5409 GB, free: 9.508 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.06e-05/0.492, allocations: 43.2 kB / 0.541 GB, free: 9.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002075/0.4922, allocations: 182.3 kB / 0.5411 GB, free: 9.371 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.4924, allocations: 362.3 kB / 0.5415 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004825/0.4928, allocations: 367.8 kB / 0.5418 GB, free: 8.859 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001718/0.4946, allocations: 1.935 MB / 0.5437 GB, free: 6.457 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002723/0.4973, allocations: 2.507 MB / 0.5462 GB, free: 3.898 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.199e-05/0.4973, allocations: 16.47 kB / 0.5462 GB, free: 3.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003245/0.5006, allocations: 2.114 MB / 0.5482 GB, free: 3.168 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.195e-05/0.5007, allocations: 35.09 kB / 0.5483 GB, free: 3.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.177e-05/0.5007, allocations: 60.38 kB / 0.5483 GB, free: 3.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.736e-05/0.5008, allocations: 74.06 kB / 0.5484 GB, free: 3.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.5019, allocations: 490 kB / 0.5489 GB, free: 3.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-05/0.502, allocations: 109.2 kB / 0.549 GB, free: 3.082 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/0.5036, allocations: 317.8 kB / 0.5493 GB, free: 2.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/0.5038, allocations: 142.7 kB / 0.5494 GB, free: 2.859 MB / 398.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.001413/0.5052, allocations: 0.8622 MB / 0.5503 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/0.5054, allocations: 231.3 kB / 0.5505 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002094/0.5056, allocations: 232.7 kB / 0.5507 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-05/0.5057, allocations: 178.9 kB / 0.5509 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-05/0.5058, allocations: 182.8 kB / 0.551 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.662e-05/0.5059, allocations: 189.4 kB / 0.5512 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.5077, allocations: 1.47 MB / 0.5527 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-05/0.5078, allocations: 107.7 kB / 0.5528 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.119e-05/0.5079, allocations: 110 kB / 0.5529 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.09e-05/0.5079, allocations: 184.1 kB / 0.553 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/0.5081, allocations: 181.1 kB / 0.5532 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-05/0.5081, allocations: 187.2 kB / 0.5534 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.411e-05/0.5082, allocations: 179 kB / 0.5536 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.5085, allocations: 431.6 kB / 0.554 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003284/0.5088, allocations: 305.6 kB / 0.5543 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001664/0.509, allocations: 179.4 kB / 0.5544 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002822/0.5093, allocations: 103.6 kB / 0.5545 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.135e-05/0.5094, allocations: 182.7 kB / 0.5547 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.163e-05/0.5094, allocations: 107.9 kB / 0.5548 GB, free: 14.22 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001339/0.5108, allocations: 1.018 MB / 0.5558 GB, free: 13.51 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5108, allocations: 0 / 0.5558 GB, free: 13.51 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001813/0.5126, allocations: 434 kB / 0.5562 GB, free: 13.09 MB / 414.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.0002152/0.5128, allocations: 170.5 kB / 0.5564 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001353/0.5142, allocations: 0.9055 MB / 0.5573 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5142, allocations: 0 / 0.5573 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.338e-06/0.5142, allocations: 4 kB / 0.5573 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009399/0.5152, allocations: 0.6383 MB / 0.5579 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005307/0.5205, allocations: 3.782 MB / 0.5616 GB, free: 7.703 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001393/0.5219, allocations: 1.583 MB / 0.5631 GB, free: 6.086 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.522, allocations: 91.44 kB / 0.5632 GB, free: 5.996 MB / 414.1 MB Notification: Performance of SimCode: time 7.32e-07/0.5221, allocations: 0 / 0.5632 GB, free: 5.996 MB / 414.1 MB Notification: Performance of Templates: time 0.03118/0.5532, allocations: 17.44 MB / 0.5803 GB, free: 4.566 MB / 430.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches