Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00102/0.00102, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.215/1.215, allocations: 227.2 MB / 245 MB, free: 5.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009054/0.0009056, allocations: 105.3 kB / 297.3 MB, free: 5.965 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2963/0.2963, allocations: 45.23 MB / 394.7 MB, free: 31.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002464/0.0002464, allocations: 8 kB / 468.4 MB, free: 7.719 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2885, allocations: 63.25 MB / 0.5192 GB, free: 37.54 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1057/0.3943, allocations: 95.75 MB / 0.6127 GB, free: 7.691 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000173/0.3945, allocations: 79.95 kB / 0.6128 GB, free: 7.613 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06379/0.4583, allocations: 28.11 MB / 0.6402 GB, free: 11.26 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4583, allocations: 4 kB / 0.6402 GB, free: 11.25 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.063e-05/0.4584, allocations: 32 kB / 0.6402 GB, free: 11.22 MB / 458.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.003452/0.4619, allocations: 1.659 MB / 0.6419 GB, free: 9.508 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.4619, allocations: 8.031 kB / 0.6419 GB, free: 9.5 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.463, allocations: 261.1 kB / 0.6421 GB, free: 9.242 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001939/0.4649, allocations: 0.8542 MB / 0.643 GB, free: 8.348 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.4651, allocations: 143.8 kB / 0.6431 GB, free: 8.207 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004381/0.4655, allocations: 184 kB / 0.6433 GB, free: 8.027 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004655/0.4702, allocations: 3.368 MB / 0.6466 GB, free: 4.266 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.994e-05/0.4703, allocations: 15.88 kB / 0.6466 GB, free: 4.25 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001543/0.4704, allocations: 83.95 kB / 0.6467 GB, free: 4.168 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003484/0.4708, allocations: 336.1 kB / 0.647 GB, free: 3.84 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002548/0.4733, allocations: 1.877 MB / 0.6488 GB, free: 1.965 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01121/0.4845, allocations: 15.2 MB / 0.6637 GB, free: 2.262 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.4847, allocations: 173.1 kB / 0.6638 GB, free: 2.082 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.841e-05/0.4848, allocations: 75.28 kB / 0.6639 GB, free: 2.008 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.647e-05/0.4848, allocations: 121.7 kB / 0.664 GB, free: 1.879 MB / 474.7 MB Notification: Performance of pre-optimization done (n=0): time 2.535e-06/0.4848, allocations: 0 / 0.664 GB, free: 1.879 MB / 474.7 MB Notification: Performance of matching and sorting (n=0): time 0.0003165/0.4851, allocations: 152.1 kB / 0.6641 GB, free: 1.723 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.326e-05/0.4852, allocations: 130.7 kB / 0.6643 GB, free: 1.582 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001913/0.4872, allocations: 1.468 MB / 0.6657 GB, free: 112 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.4872, allocations: 25.7 kB / 0.6657 GB, free: 80 kB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001019/0.4882, allocations: 1.367 MB / 0.6671 GB, free: 14.69 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.302e-05/0.4883, allocations: 47.95 kB / 0.6671 GB, free: 14.64 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.516e-05/0.4883, allocations: 40 kB / 0.6672 GB, free: 14.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000238/0.4886, allocations: 442.7 kB / 0.6676 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004788/0.489, allocations: 359.8 kB / 0.6679 GB, free: 13.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001605/0.4907, allocations: 1.917 MB / 0.6698 GB, free: 11.07 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009093/0.4916, allocations: 0.7802 MB / 0.6705 GB, free: 10.29 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.357e-05/0.4916, allocations: 16 kB / 0.6706 GB, free: 10.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002654/0.4943, allocations: 2.099 MB / 0.6726 GB, free: 8.168 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.016e-05/0.4943, allocations: 32 kB / 0.6726 GB, free: 8.137 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.694e-05/0.4944, allocations: 56 kB / 0.6727 GB, free: 8.082 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.136e-05/0.4944, allocations: 80 kB / 0.6728 GB, free: 8.004 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.4955, allocations: 487.1 kB / 0.6732 GB, free: 7.527 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.96e-05/0.4955, allocations: 108.1 kB / 0.6733 GB, free: 7.422 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.4967, allocations: 332.4 kB / 0.6737 GB, free: 7.094 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/0.4968, allocations: 140 kB / 0.6738 GB, free: 6.957 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.001056/0.4979, allocations: 0.8627 MB / 0.6746 GB, free: 6.082 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.4981, allocations: 231.3 kB / 0.6749 GB, free: 5.848 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001848/0.4983, allocations: 232.5 kB / 0.6751 GB, free: 5.605 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.537e-05/0.4983, allocations: 176.3 kB / 0.6752 GB, free: 5.426 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-05/0.4984, allocations: 180.3 kB / 0.6754 GB, free: 5.242 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.141e-05/0.4985, allocations: 180.2 kB / 0.6756 GB, free: 5.059 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.5, allocations: 1.477 MB / 0.677 GB, free: 3.523 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-05/0.5, allocations: 108.9 kB / 0.6771 GB, free: 3.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.722e-05/0.5, allocations: 105 kB / 0.6772 GB, free: 3.301 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.707e-05/0.5001, allocations: 180.4 kB / 0.6774 GB, free: 3.117 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.889e-05/0.5002, allocations: 192.2 kB / 0.6776 GB, free: 2.922 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.514e-05/0.5002, allocations: 176.3 kB / 0.6778 GB, free: 2.742 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.388e-05/0.5003, allocations: 184.2 kB / 0.6779 GB, free: 2.555 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.5005, allocations: 429.4 kB / 0.6783 GB, free: 2.109 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002917/0.5008, allocations: 296.4 kB / 0.6786 GB, free: 1.793 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/0.501, allocations: 184.2 kB / 0.6788 GB, free: 1.605 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.5013, allocations: 112.9 kB / 0.6789 GB, free: 1.488 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.5013, allocations: 184.3 kB / 0.6791 GB, free: 1.301 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.542e-05/0.5014, allocations: 101 kB / 0.6792 GB, free: 1.195 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001159/0.5025, allocations: 1.01 MB / 0.6802 GB, free: 192 kB / 490.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5025, allocations: 3.938 kB / 0.6802 GB, free: 188 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.2314/0.7339, allocations: 433.8 kB / 0.6806 GB, free: 118.8 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.0002056/0.7342, allocations: 171 kB / 0.6808 GB, free: 118.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002031/0.7362, allocations: 0.8908 MB / 0.6816 GB, free: 118.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.7362, allocations: 0 / 0.6816 GB, free: 118.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.386e-06/0.7362, allocations: 4.562 kB / 0.6816 GB, free: 118.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009215/0.7372, allocations: 0.6352 MB / 0.6822 GB, free: 118.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006767/0.744, allocations: 3.388 MB / 0.6856 GB, free: 116.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001764/0.7457, allocations: 1.613 MB / 0.6871 GB, free: 115.7 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001381/0.7471, allocations: 493.2 kB / 0.6876 GB, free: 115.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.7473, allocations: 76.22 kB / 0.6877 GB, free: 115.6 MB / 490.7 MB Notification: Performance of SimCode: time 1.032e-06/0.7473, allocations: 5.125 kB / 0.6877 GB, free: 115.6 MB / 490.7 MB Notification: Performance of Templates: time 0.0178/0.7652, allocations: 7.927 MB / 0.6954 GB, free: 115.3 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches