Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001749/0.001749, allocations: 169.8 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.2/1.2, allocations: 170.6 MB / 183.8 MB, free: 11.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001529/0.001529, allocations: 106.8 kB / 223.2 MB, free: 4.051 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1669/0.1669, allocations: 37.98 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.441e-05/2.443e-05, allocations: 0 / 357 MB, free: 32.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07502/0.07505, allocations: 48.7 MB / 405.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3024/0.3775, allocations: 78.95 MB / 484.6 MB, free: 18.58 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/0.3778, allocations: 76.11 kB / 484.7 MB, free: 18.58 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05461/0.4324, allocations: 26.75 MB / 0.4995 GB, free: 11.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4325, allocations: 0 / 0.4995 GB, free: 11.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.362e-05/0.4325, allocations: 35 kB / 0.4995 GB, free: 11.41 MB / 330.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.00196/0.4345, allocations: 1.569 MB / 0.501 GB, free: 10.35 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.4346, allocations: 7.719 kB / 0.5011 GB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007541/0.4353, allocations: 257.6 kB / 0.5013 GB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.4365, allocations: 0.8289 MB / 0.5021 GB, free: 9.777 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.946e-05/0.4366, allocations: 143.1 kB / 0.5022 GB, free: 9.773 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001957/0.4368, allocations: 186.1 kB / 0.5024 GB, free: 9.773 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003467/0.4403, allocations: 3.321 MB / 0.5057 GB, free: 8.277 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.781e-05/0.4403, allocations: 15.69 kB / 0.5057 GB, free: 8.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001552/0.4405, allocations: 87.47 kB / 0.5058 GB, free: 8.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002952/0.4408, allocations: 329.9 kB / 0.5061 GB, free: 8.203 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002247/0.443, allocations: 1.816 MB / 0.5079 GB, free: 7.941 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01073/0.4538, allocations: 15.12 MB / 0.5226 GB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.4539, allocations: 173.1 kB / 0.5228 GB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.972e-05/0.454, allocations: 83.95 kB / 0.5229 GB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.812e-05/0.454, allocations: 75.28 kB / 0.5229 GB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.943e-05/0.4541, allocations: 109.6 kB / 0.523 GB, free: 11.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 2.184e-06/0.4541, allocations: 0 / 0.523 GB, free: 11.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 0.0003005/0.4544, allocations: 158.5 kB / 0.5232 GB, free: 11.39 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.921e-05/0.4545, allocations: 126.7 kB / 0.5233 GB, free: 11.25 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/0.4561, allocations: 1.423 MB / 0.5247 GB, free: 10.86 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.4562, allocations: 25.7 kB / 0.5247 GB, free: 10.83 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008358/0.457, allocations: 1.355 MB / 0.5261 GB, free: 9.844 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.457, allocations: 41.73 kB / 0.5261 GB, free: 9.832 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.501e-05/0.4571, allocations: 39.44 kB / 0.5261 GB, free: 9.832 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002157/0.4573, allocations: 444.3 kB / 0.5266 GB, free: 9.48 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003892/0.4577, allocations: 347.5 kB / 0.5269 GB, free: 9.438 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001617/0.4593, allocations: 1.882 MB / 0.5287 GB, free: 7.242 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008953/0.4602, allocations: 0.7673 MB / 0.5295 GB, free: 6.996 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-05/0.4603, allocations: 19.47 kB / 0.5295 GB, free: 6.996 MB / 346.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.002868/0.4631, allocations: 2.046 MB / 0.5315 GB, free: 6.105 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.258e-05/0.4632, allocations: 32 kB / 0.5315 GB, free: 6.074 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-05/0.4633, allocations: 56 kB / 0.5316 GB, free: 6.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001481/0.4635, allocations: 80.81 kB / 0.5316 GB, free: 5.941 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001764/0.4652, allocations: 481.3 kB / 0.5321 GB, free: 5.484 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.169e-05/0.4653, allocations: 115.5 kB / 0.5322 GB, free: 5.371 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.4666, allocations: 316.8 kB / 0.5325 GB, free: 5.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/0.4668, allocations: 138.7 kB / 0.5327 GB, free: 4.969 MB / 346.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.0002903/0.4671, allocations: 369.6 kB / 0.533 GB, free: 4.648 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/0.4672, allocations: 224.4 kB / 0.5332 GB, free: 4.422 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/0.4675, allocations: 227.4 kB / 0.5334 GB, free: 4.211 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.509e-05/0.4676, allocations: 177.5 kB / 0.5336 GB, free: 4.031 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-05/0.4676, allocations: 188.2 kB / 0.5338 GB, free: 3.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.272e-05/0.4677, allocations: 181.6 kB / 0.534 GB, free: 3.656 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/0.4695, allocations: 1.471 MB / 0.5354 GB, free: 2.438 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.358e-05/0.4695, allocations: 106.6 kB / 0.5355 GB, free: 2.328 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.133e-05/0.4696, allocations: 105 kB / 0.5356 GB, free: 2.219 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.399e-05/0.4696, allocations: 180.4 kB / 0.5358 GB, free: 2.035 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-05/0.4697, allocations: 182.7 kB / 0.5359 GB, free: 1.852 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-05/0.4698, allocations: 176.3 kB / 0.5361 GB, free: 1.672 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.899e-05/0.4698, allocations: 192.2 kB / 0.5363 GB, free: 1.477 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.4701, allocations: 427.7 kB / 0.5367 GB, free: 1.035 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003085/0.4704, allocations: 299.9 kB / 0.537 GB, free: 0.7227 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.4705, allocations: 178.8 kB / 0.5372 GB, free: 0.543 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002816/0.4708, allocations: 108.9 kB / 0.5373 GB, free: 440 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.639e-05/0.4709, allocations: 184.2 kB / 0.5374 GB, free: 248 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.691e-05/0.471, allocations: 104.9 kB / 0.5375 GB, free: 136 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00133/0.4723, allocations: 0.9824 MB / 0.5385 GB, free: 15.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4723, allocations: 0 / 0.5385 GB, free: 15.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001656/0.474, allocations: 434.1 kB / 0.5389 GB, free: 14.83 MB / 362.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.0001913/0.4742, allocations: 174.5 kB / 0.5391 GB, free: 14.65 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001427/0.4756, allocations: 0.8639 MB / 0.5399 GB, free: 13.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4756, allocations: 0 / 0.5399 GB, free: 13.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.725e-06/0.4756, allocations: 4 kB / 0.5399 GB, free: 13.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007689/0.4764, allocations: 0.6378 MB / 0.5405 GB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003996/0.4804, allocations: 2.064 MB / 0.5426 GB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001429/0.4819, allocations: 1.603 MB / 0.5441 GB, free: 9.414 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001305/0.4832, allocations: 491 kB / 0.5446 GB, free: 8.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.4833, allocations: 71.44 kB / 0.5447 GB, free: 8.859 MB / 362.7 MB Notification: Performance of SimCode: time 1.232e-06/0.4833, allocations: 0 / 0.5447 GB, free: 8.859 MB / 362.7 MB Notification: Performance of Templates: time 0.01784/0.5012, allocations: 7.874 MB / 0.5524 GB, free: 1.02 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1)