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.001584/0.001584, allocations: 176.2 kB / 7.652 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.538/1.538, allocations: 194.4 MB / 202.4 MB, free: 12.96 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.002002/0.002002, allocations: 93.23 kB / 247.4 MB, free: 15.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2187/0.2187, allocations: 39.95 MB / 332.2 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.315e-05/1.317e-05, allocations: 4 kB / 393.3 MB, free: 3.438 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2479, allocations: 54.87 MB / 448.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1135/0.3614, allocations: 84.75 MB / 0.5205 GB, free: 8.801 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.3617, allocations: 75.95 kB / 0.5205 GB, free: 8.727 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3013/0.6631, allocations: 25.96 MB / 0.5459 GB, free: 79.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.6631, allocations: 0 / 0.5459 GB, free: 79.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.097e-05/0.6632, allocations: 35.47 kB / 0.5459 GB, free: 79.65 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.001676/0.6649, allocations: 1.577 MB / 0.5475 GB, free: 78.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.6649, allocations: 8.031 kB / 0.5475 GB, free: 78.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007136/0.6657, allocations: 265.1 kB / 0.5477 GB, free: 77.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.6667, allocations: 0.8246 MB / 0.5485 GB, free: 76.9 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.709e-05/0.6668, allocations: 60 kB / 0.5486 GB, free: 76.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000175/0.667, allocations: 108 kB / 0.5487 GB, free: 76.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001894/0.6689, allocations: 1.692 MB / 0.5503 GB, free: 75.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003184/0.6721, allocations: 3.042 MB / 0.5533 GB, free: 71.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.388e-05/0.6721, allocations: 19.81 kB / 0.5533 GB, free: 71.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001378/0.6723, allocations: 23.94 kB / 0.5533 GB, free: 71.56 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000283/0.6726, allocations: 324.1 kB / 0.5537 GB, free: 71.24 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007539/0.6801, allocations: 14.42 MB / 0.5677 GB, free: 56.4 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.886e-05/0.6802, allocations: 169.1 kB / 0.5679 GB, free: 56.22 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.2e-05/0.6802, allocations: 88.08 kB / 0.568 GB, free: 56.13 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.6803, allocations: 75.28 kB / 0.568 GB, free: 56.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.6803, allocations: 109.8 kB / 0.5682 GB, free: 55.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 2.815e-06/0.6803, allocations: 0 / 0.5682 GB, free: 55.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001452/0.6804, allocations: 128.4 kB / 0.5683 GB, free: 55.81 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.153e-05/0.6805, allocations: 51.44 kB / 0.5683 GB, free: 55.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009492/0.6814, allocations: 1.1 MB / 0.5694 GB, free: 54.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.472e-06/0.6814, allocations: 25.7 kB / 0.5694 GB, free: 54.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004978/0.682, allocations: 1.382 MB / 0.5708 GB, free: 53.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.682, allocations: 43.95 kB / 0.5708 GB, free: 53.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.682, allocations: 0 / 0.5708 GB, free: 53.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.6822, allocations: 422.7 kB / 0.5712 GB, free: 52.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003381/0.6825, allocations: 307.9 kB / 0.5715 GB, free: 52.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.6835, allocations: 1.833 MB / 0.5733 GB, free: 49.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006707/0.6842, allocations: 0.7175 MB / 0.574 GB, free: 49.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-05/0.6842, allocations: 16 kB / 0.574 GB, free: 49.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.001958/0.6862, allocations: 1.714 MB / 0.5757 GB, free: 47.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.6862, allocations: 28 kB / 0.5757 GB, free: 47.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.328e-05/0.6863, allocations: 56 kB / 0.5758 GB, free: 47.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.125e-05/0.6863, allocations: 80.75 kB / 0.5758 GB, free: 47.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009639/0.6873, allocations: 487 kB / 0.5763 GB, free: 46.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.263e-05/0.6874, allocations: 111.6 kB / 0.5764 GB, free: 46.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/0.6884, allocations: 245 kB / 0.5767 GB, free: 46.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.6885, allocations: 136 kB / 0.5768 GB, free: 46.22 MB / 378.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.0001834/0.6887, allocations: 326.1 kB / 0.5771 GB, free: 45.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.997e-05/0.6888, allocations: 215.6 kB / 0.5773 GB, free: 45.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.6889, allocations: 207.6 kB / 0.5775 GB, free: 45.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.798e-05/0.6889, allocations: 176.3 kB / 0.5777 GB, free: 45.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-05/0.689, allocations: 180.3 kB / 0.5778 GB, free: 45.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-05/0.689, allocations: 184.2 kB / 0.578 GB, free: 44.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009081/0.6899, allocations: 1.009 MB / 0.579 GB, free: 43.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.898e-05/0.69, allocations: 101 kB / 0.5791 GB, free: 43.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.685e-05/0.69, allocations: 104.9 kB / 0.5792 GB, free: 43.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.709e-05/0.69, allocations: 188.2 kB / 0.5794 GB, free: 43.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/0.6901, allocations: 180.2 kB / 0.5795 GB, free: 43.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.94e-05/0.6901, allocations: 188.2 kB / 0.5797 GB, free: 43.08 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.814e-05/0.6901, allocations: 180.3 kB / 0.5799 GB, free: 42.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.6902, allocations: 404.3 kB / 0.5803 GB, free: 42.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.6904, allocations: 268.8 kB / 0.5805 GB, free: 42.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.6905, allocations: 184.3 kB / 0.5807 GB, free: 42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.6907, allocations: 108.9 kB / 0.5808 GB, free: 41.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.6908, allocations: 184.2 kB / 0.581 GB, free: 41.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.6908, allocations: 105 kB / 0.5811 GB, free: 41.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006666/0.6915, allocations: 0.7027 MB / 0.5818 GB, free: 40.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6915, allocations: 0 / 0.5818 GB, free: 40.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001416/0.6929, allocations: 413.7 kB / 0.5822 GB, free: 40.48 MB / 378.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.0001447/0.6931, allocations: 182.3 kB / 0.5823 GB, free: 40.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007657/0.6938, allocations: 0.762 MB / 0.5831 GB, free: 39.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.6939, allocations: 0 / 0.5831 GB, free: 39.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.6939, allocations: 0 / 0.5831 GB, free: 39.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004225/0.6943, allocations: 0.6105 MB / 0.5837 GB, free: 38.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002566/0.6969, allocations: 2.031 MB / 0.5857 GB, free: 36.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009822/0.6979, allocations: 1.606 MB / 0.5872 GB, free: 35.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000972/0.6988, allocations: 457.5 kB / 0.5877 GB, free: 34.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.318e-05/0.6989, allocations: 67.44 kB / 0.5877 GB, free: 34.7 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6989, allocations: 0 / 0.5877 GB, free: 34.7 MB / 378.7 MB Notification: Performance of Templates: time 0.01303/0.712, allocations: 5.642 MB / 0.5933 GB, free: 29.09 MB / 378.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)