Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Arrow.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.Arrow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Arrow") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003048/0.003048, allocations: 180.3 kB / 7.456 MB, free: 2.504 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.187/1.187, allocations: 194.2 MB / 202.1 MB, free: 8.648 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.001615/0.001615, allocations: 125.8 kB / 247.1 MB, free: 6.348 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.164/0.164, allocations: 39.95 MB / 331.9 MB, free: 4.891 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.124e-06/7.314e-06, allocations: 0 / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09764/0.09766, allocations: 54.86 MB / 447.6 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3141/0.4118, allocations: 86.76 MB / 0.5219 GB, free: 9.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.4122, allocations: 77.52 kB / 0.5219 GB, free: 9.238 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03897/0.4511, allocations: 15.56 MB / 0.5371 GB, free: 15.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.947e-05/0.4512, allocations: 16 kB / 0.5372 GB, free: 15.46 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.002383/0.4536, allocations: 0.9873 MB / 0.5381 GB, free: 14.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.4537, allocations: 12.03 kB / 0.5381 GB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001557/0.4552, allocations: 210.4 kB / 0.5383 GB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.4564, allocations: 0.5598 MB / 0.5389 GB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.895e-05/0.4565, allocations: 39.2 kB / 0.5389 GB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/0.4567, allocations: 48 kB / 0.539 GB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001547/0.4582, allocations: 0.9912 MB / 0.5399 GB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002214/0.4605, allocations: 1.579 MB / 0.5415 GB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.938e-05/0.4605, allocations: 11.88 kB / 0.5415 GB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.389e-05/0.4606, allocations: 4 kB / 0.5415 GB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003417/0.461, allocations: 178.3 kB / 0.5417 GB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009498/0.4705, allocations: 6.948 MB / 0.5484 GB, free: 5.098 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/0.4708, allocations: 147.2 kB / 0.5486 GB, free: 4.984 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.4709, allocations: 77.44 kB / 0.5487 GB, free: 4.926 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.471, allocations: 3.312 kB / 0.5487 GB, free: 4.926 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.471, allocations: 34.56 kB / 0.5487 GB, free: 4.883 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 2.334e-06/0.4711, allocations: 0 / 0.5487 GB, free: 4.883 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005373/0.4716, allocations: 239.4 kB / 0.5489 GB, free: 4.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.4717, allocations: 55.41 kB / 0.549 GB, free: 4.613 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.4727, allocations: 0.6934 MB / 0.5497 GB, free: 4.078 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.4728, allocations: 25.7 kB / 0.5497 GB, free: 4.047 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000454/0.4733, allocations: 0.6506 MB / 0.5503 GB, free: 3.453 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.735e-05/0.4733, allocations: 66.53 kB / 0.5504 GB, free: 3.402 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/0.4734, allocations: 0 / 0.5504 GB, free: 3.402 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.4735, allocations: 377.3 kB / 0.5507 GB, free: 3.051 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003288/0.4739, allocations: 231 kB / 0.551 GB, free: 2.891 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007887/0.4747, allocations: 0.928 MB / 0.5519 GB, free: 1.711 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005962/0.4753, allocations: 446.2 kB / 0.5523 GB, free: 1.383 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-05/0.4753, allocations: 4 kB / 0.5523 GB, free: 1.379 MB / 362.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.001555/0.4769, allocations: 0.9867 MB / 0.5533 GB, free: 0.5312 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.4769, allocations: 4 kB / 0.5533 GB, free: 0.5273 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.217e-05/0.4769, allocations: 28.84 kB / 0.5533 GB, free: 0.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.494e-05/0.477, allocations: 36 kB / 0.5533 GB, free: 476 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007694/0.4778, allocations: 259.1 kB / 0.5536 GB, free: 224 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-05/0.4778, allocations: 51.8 kB / 0.5536 GB, free: 172 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007787/0.4786, allocations: 126.5 kB / 0.5537 GB, free: 44 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/0.4787, allocations: 63.8 kB / 0.5538 GB, free: 15.98 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 18 (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],fixedArrow.color[3],fixedArrow.color[2],fixedArrow.color[1],arrow.color[3],arrow.color[2],arrow.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 129 * 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.0001736/0.4789, allocations: 185.5 kB / 0.554 GB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.479, allocations: 67.14 kB / 0.554 GB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004315/0.4795, allocations: 263.7 kB / 0.5543 GB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.4795, allocations: 4 kB / 0.5543 GB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4795, allocations: 0 / 0.5543 GB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.4795, allocations: 3.906 kB / 0.5543 GB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006949/0.4802, allocations: 0.5098 MB / 0.5548 GB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.4802, allocations: 4 kB / 0.5548 GB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.4804, allocations: 35.78 kB / 0.5548 GB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.4805, allocations: 4 kB / 0.5548 GB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.4805, allocations: 7.891 kB / 0.5548 GB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.4805, allocations: 7.938 kB / 0.5549 GB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.4805, allocations: 0 / 0.5549 GB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004082/0.4809, allocations: 329.6 kB / 0.5552 GB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.4811, allocations: 136 kB / 0.5553 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.586e-05/0.4812, allocations: 3.906 kB / 0.5553 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002821/0.4815, allocations: 19.98 kB / 0.5553 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.95e-05/0.4816, allocations: 11.48 kB / 0.5553 GB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.4816, allocations: 7.984 kB / 0.5553 GB, free: 14.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0005457/0.4821, allocations: 489.2 kB / 0.5558 GB, free: 14.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009174/0.4831, allocations: 214.1 kB / 0.556 GB, free: 13.99 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 (13): * Single equations (assignments): 13 * 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.0001795/0.4833, allocations: 107.2 kB / 0.5561 GB, free: 13.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007214/0.484, allocations: 0.5289 MB / 0.5566 GB, free: 13.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.484, allocations: 0 / 0.5566 GB, free: 13.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.4842, allocations: 88.45 kB / 0.5567 GB, free: 13.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.4845, allocations: 55.67 kB / 0.5568 GB, free: 13.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.4868, allocations: 1.109 MB / 0.5579 GB, free: 12.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001087/0.4879, allocations: 1.22 MB / 0.559 GB, free: 11.2 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4879, allocations: 0 / 0.559 GB, free: 11.2 MB / 378.7 MB Notification: Performance of Templates: time 0.01184/0.4997, allocations: 4.652 MB / 0.5636 GB, free: 6.633 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Arrow.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Arrow.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Arrow -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1)