Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009842/0.0009843, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 172.3 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.4 MB / 222.8 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4196/0.4196, allocations: 43.58 MB / 314.6 MB, free: 8.77 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005687/0.0005688, allocations: 16 kB / 384 MB, free: 8.004 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1399, allocations: 58.86 MB / 442.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.2759/0.4158, allocations: 18.97 MB / 461.8 MB, free: 36.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01241/0.4283, allocations: 4.112 MB / 465.9 MB, free: 35.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005275/0.4336, allocations: 83.31 kB / 466 MB, free: 35.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003427/0.4371, allocations: 0.802 MB / 466.8 MB, free: 35.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009082/0.4462, allocations: 2.285 MB / 469.1 MB, free: 35.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007463/0.447, allocations: 49.3 kB / 469.1 MB, free: 35.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009893/0.448, allocations: 0.7524 MB / 469.9 MB, free: 35.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001384/0.4494, allocations: 0.7947 MB / 470.7 MB, free: 34.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004128/0.4498, allocations: 247.8 kB / 470.9 MB, free: 34.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000551/0.4504, allocations: 368.6 kB / 471.3 MB, free: 34.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.161e-05/0.4505, allocations: 31.88 kB / 471.3 MB, free: 34.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002412/0.4507, allocations: 74.09 kB / 471.4 MB, free: 34.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002906/0.451, allocations: 337.5 kB / 471.7 MB, free: 34.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001549/0.4512, allocations: 194.5 kB / 471.9 MB, free: 34.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008385/0.452, allocations: 0.9546 MB / 472.8 MB, free: 34.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.452, allocations: 0 / 472.8 MB, free: 34.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.452, allocations: 0 / 472.8 MB, free: 34.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.4521, allocations: 0 / 472.8 MB, free: 34.64 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.001434/0.4535, allocations: 1.043 MB / 473.9 MB, free: 33.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.4535, allocations: 9 kB / 473.9 MB, free: 33.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006922/0.4542, allocations: 157.3 kB / 474 MB, free: 33.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005838/0.4548, allocations: 491 kB / 474.5 MB, free: 33.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.005e-05/0.4549, allocations: 47.62 kB / 474.6 MB, free: 33.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.849e-05/0.455, allocations: 60.23 kB / 474.6 MB, free: 33.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/0.457, allocations: 1.747 MB / 476.4 MB, free: 33.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.457, allocations: 6.75 kB / 476.4 MB, free: 33.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.849e-05/0.4571, allocations: 28.31 kB / 476.4 MB, free: 33.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005852/0.4577, allocations: 405.2 kB / 476.8 MB, free: 33.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00164/0.4593, allocations: 1.197 MB / 478 MB, free: 32.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005609/0.465, allocations: 6.604 MB / 484.6 MB, free: 27.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003426/0.4653, allocations: 175.9 kB / 484.8 MB, free: 27.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/0.4655, allocations: 105.7 kB / 484.9 MB, free: 27.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.4656, allocations: 0 / 484.9 MB, free: 27.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.567e-05/0.4656, allocations: 33.81 kB / 484.9 MB, free: 27.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.4656, allocations: 0 / 484.9 MB, free: 27.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007483/0.4663, allocations: 388.1 kB / 485.3 MB, free: 27.58 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.4664, allocations: 58.5 kB / 485.3 MB, free: 27.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009008/0.4673, allocations: 0.9565 MB / 486.3 MB, free: 27.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.4673, allocations: 29.7 kB / 486.3 MB, free: 27.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003023/0.4676, allocations: 0.6865 MB / 487 MB, free: 26.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.4677, allocations: 58.56 kB / 487.1 MB, free: 26.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.4677, allocations: 19.16 kB / 487.1 MB, free: 26.49 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.982e-05/0.4678, allocations: 391.1 kB / 487.5 MB, free: 26.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003761/0.4682, allocations: 264.4 kB / 487.7 MB, free: 26.08 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007118/0.4689, allocations: 0.955 MB / 488.7 MB, free: 25.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005659/0.4695, allocations: 474.4 kB / 489.2 MB, free: 24.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/0.4695, allocations: 9.406 kB / 489.2 MB, free: 24.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001462/0.471, allocations: 1.163 MB / 490.3 MB, free: 24.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.471, allocations: 21.22 kB / 490.3 MB, free: 24.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.369e-05/0.471, allocations: 24.59 kB / 490.4 MB, free: 24.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.449e-05/0.4711, allocations: 35.62 kB / 490.4 MB, free: 24.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006648/0.4717, allocations: 253.6 kB / 490.7 MB, free: 24.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.235e-05/0.4718, allocations: 51.2 kB / 490.7 MB, free: 24.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006279/0.4724, allocations: 163.1 kB / 490.9 MB, free: 24.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.56e-05/0.4725, allocations: 66.56 kB / 490.9 MB, free: 24.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * Number of states: 0 () * Number of discrete variables: 21 (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],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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 126 * 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.0005197/0.473, allocations: 486.9 kB / 491.4 MB, free: 23.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.462e-05/0.4731, allocations: 69.66 kB / 491.5 MB, free: 23.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000611/0.4737, allocations: 323 kB / 491.8 MB, free: 23.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.4737, allocations: 0 / 491.8 MB, free: 23.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.4738, allocations: 0 / 491.8 MB, free: 23.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.4738, allocations: 3.125 kB / 491.8 MB, free: 23.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009397/0.4747, allocations: 0.7406 MB / 492.5 MB, free: 23.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.4747, allocations: 4.656 kB / 492.5 MB, free: 23.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001924/0.4749, allocations: 38.2 kB / 492.6 MB, free: 23.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.4749, allocations: 4.844 kB / 492.6 MB, free: 23.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.475, allocations: 2.453 kB / 492.6 MB, free: 23.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.475, allocations: 0.9375 kB / 492.6 MB, free: 23.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.475, allocations: 1 kB / 492.6 MB, free: 23.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007184/0.4757, allocations: 392.4 kB / 493 MB, free: 23.19 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.4759, allocations: 151.8 kB / 493.1 MB, free: 23.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.945e-05/0.476, allocations: 6.078 kB / 493.1 MB, free: 23.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/0.4762, allocations: 14.77 kB / 493.1 MB, free: 23.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.82e-05/0.4763, allocations: 16.39 kB / 493.1 MB, free: 23.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.4764, allocations: 12.91 kB / 493.2 MB, free: 23.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009144/0.4773, allocations: 0.6166 MB / 493.8 MB, free: 22.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.122e-06/0.4773, allocations: 0 / 493.8 MB, free: 22.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001153/0.4784, allocations: 224.5 kB / 494 MB, free: 22.73 MB / 382.1 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 (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.0001506/0.4786, allocations: 102.6 kB / 494.1 MB, free: 22.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001253/0.4799, allocations: 0.6061 MB / 494.7 MB, free: 22.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.4799, allocations: 4 kB / 494.7 MB, free: 22.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003104/0.4802, allocations: 104.2 kB / 494.8 MB, free: 22.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007171/0.4809, allocations: 87.73 kB / 494.9 MB, free: 22.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003095/0.484, allocations: 1.879 MB / 496.8 MB, free: 21.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009126/0.4849, allocations: 1.15 MB / 497.9 MB, free: 20.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007837/0.4857, allocations: 280.3 kB / 498.2 MB, free: 20.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.4859, allocations: 54.59 kB / 498.2 MB, free: 20.49 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4859, allocations: 3.938 kB / 498.3 MB, free: 20.48 MB / 382.1 MB Notification: Performance of Templates: time 0.01342/0.4993, allocations: 5.185 MB / 0.4916 GB, free: 20.11 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1)