Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Shapes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00172/0.00172, allocations: 181.4 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.712/1.712, allocations: 194.3 MB / 207.5 MB, free: 3.398 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001965/0.001965, allocations: 116.3 kB / 252.6 MB, free: 4.812 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2007/0.2007, allocations: 39.95 MB / 337.5 MB, free: 468 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.079e-05/3.082e-05, allocations: 0 / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1104, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3688/0.4793, allocations: 85.42 MB / 0.5279 GB, free: 6.258 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/0.4795, allocations: 70.28 kB / 0.528 GB, free: 6.223 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05973/0.5393, allocations: 26.74 MB / 0.5541 GB, free: 15 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5393, allocations: 0 / 0.5541 GB, free: 15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.451e-05/0.5394, allocations: 35.98 kB / 0.5541 GB, free: 14.97 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 642 * Number of variables: 642 Notification: Performance of Generate backend data structure: time 0.002602/0.542, allocations: 1.57 MB / 0.5556 GB, free: 13.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.5421, allocations: 12.03 kB / 0.5556 GB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009213/0.543, allocations: 257.2 kB / 0.5559 GB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00155/0.5446, allocations: 0.826 MB / 0.5567 GB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.5447, allocations: 139.9 kB / 0.5568 GB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002507/0.545, allocations: 192.4 kB / 0.557 GB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00462/0.5496, allocations: 3.31 MB / 0.5602 GB, free: 9.363 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.519e-05/0.5497, allocations: 19.81 kB / 0.5603 GB, free: 9.344 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001713/0.5498, allocations: 97.5 kB / 0.5604 GB, free: 9.301 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00037/0.5502, allocations: 333.9 kB / 0.5607 GB, free: 9.016 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002804/0.553, allocations: 1.819 MB / 0.5625 GB, free: 7.715 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01186/0.5649, allocations: 15.11 MB / 0.5772 GB, free: 9.695 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.058e-05/0.565, allocations: 169.1 kB / 0.5774 GB, free: 9.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.276e-05/0.5651, allocations: 84.14 kB / 0.5775 GB, free: 9.434 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.5651, allocations: 75.28 kB / 0.5775 GB, free: 9.359 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.115e-05/0.5651, allocations: 117.3 kB / 0.5776 GB, free: 9.238 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.804e-06/0.5651, allocations: 0 / 0.5776 GB, free: 9.238 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0002579/0.5654, allocations: 145.3 kB / 0.5778 GB, free: 9.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.5655, allocations: 130.6 kB / 0.5779 GB, free: 8.949 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/0.567, allocations: 1.43 MB / 0.5793 GB, free: 7.852 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.567, allocations: 25.7 kB / 0.5793 GB, free: 7.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007072/0.5677, allocations: 1.353 MB / 0.5806 GB, free: 6.652 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.5678, allocations: 45.7 kB / 0.5807 GB, free: 6.625 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-05/0.5678, allocations: 44.19 kB / 0.5807 GB, free: 6.613 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.568, allocations: 439 kB / 0.5811 GB, free: 6.227 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004284/0.5685, allocations: 349.6 kB / 0.5815 GB, free: 5.973 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/0.5698, allocations: 1.88 MB / 0.5833 GB, free: 3.453 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008964/0.5707, allocations: 0.7715 MB / 0.5841 GB, free: 2.832 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.147e-05/0.5707, allocations: 19.95 kB / 0.5841 GB, free: 2.812 MB / 394.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.002825/0.5735, allocations: 2.045 MB / 0.5861 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.033e-05/0.5736, allocations: 28.19 kB / 0.5861 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.814e-05/0.5736, allocations: 60 kB / 0.5862 GB, free: 0.875 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.773e-05/0.5737, allocations: 80 kB / 0.5862 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.5748, allocations: 483.1 kB / 0.5867 GB, free: 332 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.251e-05/0.5748, allocations: 115.5 kB / 0.5868 GB, free: 216 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.5761, allocations: 316.5 kB / 0.5871 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/0.5763, allocations: 136 kB / 0.5873 GB, free: 15.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 257 * Number of states: 0 () * Number of discrete variables: 36 (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 (257): * Single equations (assignments): 257 * 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.0002671/0.5765, allocations: 370.1 kB / 0.5876 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.5767, allocations: 223.4 kB / 0.5878 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/0.5769, allocations: 228 kB / 0.588 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.188e-05/0.577, allocations: 180.3 kB / 0.5882 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.276e-05/0.5771, allocations: 176.3 kB / 0.5884 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.712e-05/0.5771, allocations: 192.2 kB / 0.5886 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.5788, allocations: 1.469 MB / 0.59 GB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.873e-05/0.5788, allocations: 104.9 kB / 0.5901 GB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.201e-05/0.5789, allocations: 104.9 kB / 0.5902 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.033e-05/0.5789, allocations: 180.4 kB / 0.5904 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.689e-05/0.579, allocations: 188.2 kB / 0.5905 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.001e-05/0.579, allocations: 188.2 kB / 0.5907 GB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.128e-05/0.5791, allocations: 180.2 kB / 0.5909 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.5793, allocations: 421.1 kB / 0.5913 GB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002811/0.5796, allocations: 296.5 kB / 0.5916 GB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/0.5797, allocations: 188.2 kB / 0.5918 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000284/0.58, allocations: 112.9 kB / 0.5919 GB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.914e-05/0.5801, allocations: 176.3 kB / 0.592 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.244e-05/0.5802, allocations: 104.9 kB / 0.5921 GB, free: 10.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001244/0.5814, allocations: 0.981 MB / 0.5931 GB, free: 9.547 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5814, allocations: 0 / 0.5931 GB, free: 9.547 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001637/0.5831, allocations: 426.2 kB / 0.5935 GB, free: 9.129 MB / 410.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.0002395/0.5833, allocations: 178.5 kB / 0.5937 GB, free: 8.941 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001315/0.5846, allocations: 0.8725 MB / 0.5945 GB, free: 8.082 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5846, allocations: 0 / 0.5945 GB, free: 8.082 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.716e-06/0.5846, allocations: 0 / 0.5945 GB, free: 8.082 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007759/0.5854, allocations: 0.6391 MB / 0.5951 GB, free: 7.441 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00353/0.589, allocations: 2.06 MB / 0.5972 GB, free: 5.344 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001504/0.5905, allocations: 1.607 MB / 0.5987 GB, free: 3.703 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00127/0.5918, allocations: 483 kB / 0.5992 GB, free: 3.227 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.5919, allocations: 71.44 kB / 0.5993 GB, free: 3.156 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5919, allocations: 0 / 0.5993 GB, free: 3.156 MB / 410.7 MB Notification: Performance of Templates: time 0.01701/0.6089, allocations: 7.888 MB / 0.607 GB, free: 11.28 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Shapes.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1)