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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009601/0.0009601, allocations: 180.3 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.194/1.194, allocations: 221.3 MB / 236 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008047/0.0008047, allocations: 87.55 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1696/0.1696, allocations: 44.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.788e-05/2.792e-05, allocations: 4.219 kB / 451.8 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1102, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3657/0.476, allocations: 94.6 MB / 0.5941 GB, free: 10.71 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.4763, allocations: 83.48 kB / 0.5942 GB, free: 10.63 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06318/0.5395, allocations: 28.07 MB / 0.6216 GB, free: 14.35 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.5395, allocations: 0 / 0.6216 GB, free: 14.35 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.501e-05/0.5396, allocations: 43.98 kB / 0.6216 GB, free: 14.3 MB / 442.7 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.002455/0.5421, allocations: 1.585 MB / 0.6232 GB, free: 12.67 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.544e-05/0.5422, allocations: 8.031 kB / 0.6232 GB, free: 12.66 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009149/0.5431, allocations: 261.1 kB / 0.6234 GB, free: 12.4 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001548/0.5446, allocations: 0.8372 MB / 0.6242 GB, free: 11.52 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.5448, allocations: 147.8 kB / 0.6244 GB, free: 11.38 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002563/0.545, allocations: 191.9 kB / 0.6246 GB, free: 11.19 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00455/0.5496, allocations: 3.333 MB / 0.6278 GB, free: 7.465 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.609e-05/0.5497, allocations: 23.8 kB / 0.6278 GB, free: 7.441 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001704/0.5498, allocations: 87.95 kB / 0.6279 GB, free: 7.355 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003757/0.5502, allocations: 332.1 kB / 0.6282 GB, free: 7.031 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002708/0.5529, allocations: 1.83 MB / 0.63 GB, free: 5.195 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01294/0.5659, allocations: 15.21 MB / 0.6449 GB, free: 5.488 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.241e-05/0.566, allocations: 169.1 kB / 0.645 GB, free: 5.312 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.213e-05/0.5661, allocations: 84.14 kB / 0.6451 GB, free: 5.227 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.5661, allocations: 79.28 kB / 0.6452 GB, free: 5.148 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.834e-05/0.5662, allocations: 113.8 kB / 0.6453 GB, free: 5.027 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 4.799e-06/0.5662, allocations: 0 / 0.6453 GB, free: 5.027 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 0.0002339/0.5664, allocations: 156 kB / 0.6455 GB, free: 4.867 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/0.5665, allocations: 126.7 kB / 0.6456 GB, free: 4.73 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/0.5681, allocations: 1.455 MB / 0.647 GB, free: 3.27 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.5682, allocations: 29.7 kB / 0.647 GB, free: 3.234 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008252/0.569, allocations: 1.359 MB / 0.6484 GB, free: 1.852 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.569, allocations: 51.94 kB / 0.6484 GB, free: 1.801 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.996e-05/0.5691, allocations: 40 kB / 0.6484 GB, free: 1.762 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002394/0.5693, allocations: 438.7 kB / 0.6489 GB, free: 1.324 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004657/0.5698, allocations: 352 kB / 0.6492 GB, free: 0.9766 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001452/0.5713, allocations: 1.906 MB / 0.6511 GB, free: 14.25 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009223/0.5722, allocations: 0.7762 MB / 0.6518 GB, free: 13.48 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.166e-05/0.5722, allocations: 16 kB / 0.6518 GB, free: 13.46 MB / 474.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002779/0.575, allocations: 2.071 MB / 0.6538 GB, free: 11.38 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.946e-05/0.5751, allocations: 32.94 kB / 0.6539 GB, free: 11.35 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.664e-05/0.5751, allocations: 56 kB / 0.6539 GB, free: 11.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.097e-05/0.5752, allocations: 91.92 kB / 0.654 GB, free: 11.21 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.5763, allocations: 491.1 kB / 0.6545 GB, free: 10.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.462e-05/0.5764, allocations: 111.5 kB / 0.6546 GB, free: 10.62 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.5776, allocations: 316.6 kB / 0.6549 GB, free: 10.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.5777, allocations: 140 kB / 0.655 GB, free: 10.17 MB / 474.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002447/0.5779, allocations: 374 kB / 0.6554 GB, free: 9.793 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.5781, allocations: 227.4 kB / 0.6556 GB, free: 9.562 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001847/0.5783, allocations: 228.5 kB / 0.6558 GB, free: 9.324 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.728e-05/0.5784, allocations: 180.3 kB / 0.656 GB, free: 9.141 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.926e-05/0.5784, allocations: 180.2 kB / 0.6562 GB, free: 8.957 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.665e-05/0.5785, allocations: 184.2 kB / 0.6563 GB, free: 8.77 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001567/0.5801, allocations: 1.481 MB / 0.6578 GB, free: 7.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.939e-05/0.5801, allocations: 108.9 kB / 0.6579 GB, free: 7.117 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.906e-05/0.5801, allocations: 101.1 kB / 0.658 GB, free: 7.012 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.742e-05/0.5802, allocations: 184.3 kB / 0.6582 GB, free: 6.824 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6e-05/0.5803, allocations: 180.2 kB / 0.6583 GB, free: 6.641 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.235e-05/0.5803, allocations: 188.3 kB / 0.6585 GB, free: 6.449 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.682e-05/0.5804, allocations: 180.2 kB / 0.6587 GB, free: 6.266 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.5806, allocations: 429.3 kB / 0.6591 GB, free: 5.82 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002555/0.5809, allocations: 296.4 kB / 0.6594 GB, free: 5.504 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/0.581, allocations: 184.2 kB / 0.6596 GB, free: 5.316 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002647/0.5813, allocations: 112.9 kB / 0.6597 GB, free: 5.199 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.469e-05/0.5814, allocations: 176.3 kB / 0.6598 GB, free: 5.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.863e-05/0.5814, allocations: 105 kB / 0.6599 GB, free: 4.91 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001109/0.5825, allocations: 0.9976 MB / 0.6609 GB, free: 3.914 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5825, allocations: 0 / 0.6609 GB, free: 3.914 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00129/0.5838, allocations: 442 kB / 0.6613 GB, free: 3.48 MB / 474.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001648/0.584, allocations: 174.5 kB / 0.6615 GB, free: 3.297 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.5851, allocations: 0.8789 MB / 0.6624 GB, free: 2.43 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5851, allocations: 0 / 0.6624 GB, free: 2.43 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.996e-06/0.5851, allocations: 5.672 kB / 0.6624 GB, free: 2.426 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006113/0.5857, allocations: 0.6409 MB / 0.663 GB, free: 1.777 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00305/0.5888, allocations: 2.079 MB / 0.665 GB, free: 15.66 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001345/0.5901, allocations: 1.618 MB / 0.6666 GB, free: 14.01 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001131/0.5913, allocations: 491.1 kB / 0.6671 GB, free: 13.52 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.5914, allocations: 71.44 kB / 0.6671 GB, free: 13.45 MB / 490.7 MB Notification: Performance of SimCode: time 3.3e-07/0.5914, allocations: 0 / 0.6671 GB, free: 13.45 MB / 490.7 MB Notification: Performance of Templates: time 0.01603/0.6074, allocations: 7.946 MB / 0.6749 GB, free: 5.539 MB / 490.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches