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.0009011/0.0009012, allocations: 183.4 kB / 18.09 MB, free: 3.625 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.3/1.3, allocations: 223.3 MB / 242.1 MB, free: 9.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008145/0.0008145, allocations: 98.94 kB / 293.3 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3379/0.3379, allocations: 44.14 MB / 388.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003903/0.0003906, allocations: 12 kB / 461.1 MB, free: 1.555 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3458, allocations: 61.88 MB / 0.5107 GB, free: 37.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1348/0.4806, allocations: 94.72 MB / 0.6032 GB, free: 376 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/0.4809, allocations: 79.95 kB / 0.6033 GB, free: 300 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06699/0.5479, allocations: 27.85 MB / 0.6305 GB, free: 4.227 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.5479, allocations: 0 / 0.6305 GB, free: 4.227 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000109/0.548, allocations: 32 kB / 0.6305 GB, free: 4.195 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.004521/0.5526, allocations: 1.644 MB / 0.6321 GB, free: 2.492 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.172e-05/0.5526, allocations: 12.03 kB / 0.6321 GB, free: 2.48 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001578/0.5542, allocations: 262 kB / 0.6324 GB, free: 2.223 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002164/0.5564, allocations: 0.8515 MB / 0.6332 GB, free: 1.332 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001791/0.5566, allocations: 144.1 kB / 0.6334 GB, free: 1.191 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005948/0.5572, allocations: 192.3 kB / 0.6335 GB, free: 1.004 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007445/0.5647, allocations: 3.376 MB / 0.6368 GB, free: 13.23 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.564e-05/0.5648, allocations: 23.94 kB / 0.6369 GB, free: 13.21 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004217/0.5652, allocations: 91.89 kB / 0.637 GB, free: 13.12 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005021/0.5658, allocations: 332.1 kB / 0.6373 GB, free: 12.8 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003535/0.5693, allocations: 1.872 MB / 0.6391 GB, free: 10.92 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01559/0.5849, allocations: 15.23 MB / 0.654 GB, free: 11.19 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.5851, allocations: 165.1 kB / 0.6541 GB, free: 11.02 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.648e-05/0.5851, allocations: 84.14 kB / 0.6542 GB, free: 10.93 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.937e-05/0.5852, allocations: 75.28 kB / 0.6543 GB, free: 10.86 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.126e-05/0.5853, allocations: 109.8 kB / 0.6544 GB, free: 10.74 MB / 474.7 MB Notification: Performance of pre-optimization done (n=0): time 4.548e-06/0.5853, allocations: 0 / 0.6544 GB, free: 10.74 MB / 474.7 MB Notification: Performance of matching and sorting (n=0): time 0.0004097/0.5857, allocations: 160 kB / 0.6545 GB, free: 10.58 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.253e-05/0.5858, allocations: 130.7 kB / 0.6547 GB, free: 10.44 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002931/0.5887, allocations: 1.639 MB / 0.6563 GB, free: 8.789 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.5887, allocations: 29.7 kB / 0.6563 GB, free: 8.754 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001201/0.59, allocations: 1.367 MB / 0.6576 GB, free: 7.363 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.795e-05/0.59, allocations: 43.95 kB / 0.6577 GB, free: 7.32 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.978e-05/0.5901, allocations: 40 kB / 0.6577 GB, free: 7.281 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002402/0.5904, allocations: 446.7 kB / 0.6581 GB, free: 6.836 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005907/0.591, allocations: 363.8 kB / 0.6585 GB, free: 6.477 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/0.5927, allocations: 1.917 MB / 0.6603 GB, free: 3.742 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002796/0.5955, allocations: 2.511 MB / 0.6628 GB, free: 440 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.455e-05/0.5956, allocations: 16 kB / 0.6628 GB, free: 424 kB / 474.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.004055/0.5996, allocations: 2.092 MB / 0.6649 GB, free: 14.31 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.63e-05/0.5998, allocations: 36.22 kB / 0.6649 GB, free: 14.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.924e-05/0.5999, allocations: 56 kB / 0.6649 GB, free: 14.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.386e-05/0.6, allocations: 75.94 kB / 0.665 GB, free: 14.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.6012, allocations: 491.1 kB / 0.6655 GB, free: 13.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.366e-05/0.6013, allocations: 107.6 kB / 0.6656 GB, free: 13.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001716/0.603, allocations: 316.5 kB / 0.6659 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000187/0.6032, allocations: 147.9 kB / 0.666 GB, free: 13.11 MB / 490.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001538/0.6048, allocations: 0.8628 MB / 0.6669 GB, free: 12.23 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003063/0.6051, allocations: 223.4 kB / 0.6671 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000353/0.6055, allocations: 239.2 kB / 0.6673 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.324e-05/0.6055, allocations: 176.3 kB / 0.6675 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.426e-05/0.6056, allocations: 184.2 kB / 0.6677 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.458e-05/0.6057, allocations: 184.2 kB / 0.6678 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002563/0.6083, allocations: 1.474 MB / 0.6693 GB, free: 9.668 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.641e-05/0.6083, allocations: 104.9 kB / 0.6694 GB, free: 9.559 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.682e-05/0.6084, allocations: 109.1 kB / 0.6695 GB, free: 9.445 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.757e-05/0.6085, allocations: 188.2 kB / 0.6697 GB, free: 9.254 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.122e-05/0.6085, allocations: 184.2 kB / 0.6698 GB, free: 9.066 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.784e-05/0.6086, allocations: 176.3 kB / 0.67 GB, free: 8.887 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.151e-05/0.6087, allocations: 184.2 kB / 0.6702 GB, free: 8.699 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003451/0.609, allocations: 429.3 kB / 0.6706 GB, free: 8.254 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000366/0.6094, allocations: 300.5 kB / 0.6709 GB, free: 7.934 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001619/0.6096, allocations: 184.2 kB / 0.6711 GB, free: 7.746 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003018/0.6099, allocations: 108.9 kB / 0.6712 GB, free: 7.633 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.532e-05/0.61, allocations: 176.3 kB / 0.6713 GB, free: 7.453 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-05/0.61, allocations: 108.9 kB / 0.6714 GB, free: 7.34 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001414/0.6115, allocations: 1.007 MB / 0.6724 GB, free: 6.336 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6115, allocations: 0 / 0.6724 GB, free: 6.336 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001878/0.6134, allocations: 442 kB / 0.6728 GB, free: 5.902 MB / 490.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 () * 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 (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.0002042/0.6136, allocations: 170.5 kB / 0.673 GB, free: 5.727 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001353/0.6149, allocations: 0.8915 MB / 0.6739 GB, free: 4.848 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.6149, allocations: 0 / 0.6739 GB, free: 4.848 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.605e-06/0.6149, allocations: 0.625 kB / 0.6739 GB, free: 4.848 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008388/0.6158, allocations: 0.6423 MB / 0.6745 GB, free: 4.199 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00549/0.6213, allocations: 3.407 MB / 0.6778 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2388/0.8601, allocations: 1.573 MB / 0.6794 GB, free: 118.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001649/0.8618, allocations: 496.8 kB / 0.6798 GB, free: 118.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/0.862, allocations: 75.28 kB / 0.6799 GB, free: 118.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.082e-06/0.862, allocations: 0 / 0.6799 GB, free: 118.9 MB / 490.7 MB Notification: Performance of Templates: time 0.02002/0.8821, allocations: 7.969 MB / 0.6877 GB, free: 118.6 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/jenkins1/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