Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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 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.1_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001332/0.001331, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.751/1.751, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3897/0.3897, allocations: 38.02 MB / 308.4 MB, free: 10.37 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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006854/0.0006855, allocations: 16 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1493, allocations: 57.52 MB / 433.9 MB, free: 5.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.02027/0.1697, allocations: 17.99 MB / 451.9 MB, free: 3.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2615/0.4312, allocations: 4.261 MB / 456.2 MB, free: 32.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003577/0.4348, allocations: 80.59 kB / 456.3 MB, free: 32.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002164/0.437, allocations: 0.851 MB / 457.1 MB, free: 32.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007566/0.4446, allocations: 2.566 MB / 459.7 MB, free: 32.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000533/0.4452, allocations: 47.38 kB / 459.7 MB, free: 32.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006825/0.4459, allocations: 410.1 kB / 460.1 MB, free: 32.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.447, allocations: 0.7878 MB / 460.9 MB, free: 32.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002636/0.4473, allocations: 204.9 kB / 461.1 MB, free: 32.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003188/0.4476, allocations: 266.7 kB / 461.4 MB, free: 32.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.395e-05/0.4477, allocations: 30.25 kB / 461.4 MB, free: 32.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000173/0.4479, allocations: 64.97 kB / 461.5 MB, free: 32.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002164/0.4481, allocations: 318.6 kB / 461.8 MB, free: 32.78 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.4482, allocations: 197.2 kB / 462 MB, free: 32.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006605/0.4489, allocations: 0.9575 MB / 462.9 MB, free: 32.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.4489, allocations: 0 / 462.9 MB, free: 32.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4489, allocations: 0 / 462.9 MB, free: 32.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.544e-05/0.4489, allocations: 0 / 462.9 MB, free: 32.68 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.001407/0.4503, allocations: 1.044 MB / 464 MB, free: 32.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.4504, allocations: 6.75 kB / 464 MB, free: 32.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007741/0.4511, allocations: 172.8 kB / 464.1 MB, free: 31.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006199/0.4518, allocations: 482.5 kB / 464.6 MB, free: 31.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.538e-05/0.4518, allocations: 49.81 kB / 464.7 MB, free: 31.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.538e-05/0.4519, allocations: 57.56 kB / 464.7 MB, free: 31.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001709/0.4536, allocations: 1.749 MB / 466.5 MB, free: 31.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.4537, allocations: 2.25 kB / 466.5 MB, free: 31.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.588e-05/0.4537, allocations: 35.55 kB / 466.5 MB, free: 31.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006039/0.4544, allocations: 405.4 kB / 466.9 MB, free: 31.28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/0.4559, allocations: 1.193 MB / 468.1 MB, free: 31.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005365/0.4613, allocations: 6.61 MB / 474.7 MB, free: 27.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004062/0.4617, allocations: 177.6 kB / 474.9 MB, free: 27.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.4618, allocations: 7.094 kB / 474.9 MB, free: 27.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.4618, allocations: 36.33 kB / 474.9 MB, free: 27.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 2.294e-06/0.4618, allocations: 4 kB / 474.9 MB, free: 27.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007365/0.4625, allocations: 376.7 kB / 475.3 MB, free: 27.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.4626, allocations: 57.47 kB / 475.3 MB, free: 27.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000888/0.4635, allocations: 0.9549 MB / 476.3 MB, free: 26.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.4635, allocations: 27.45 kB / 476.3 MB, free: 26.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003522/0.4639, allocations: 0.6913 MB / 477 MB, free: 26.49 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.4639, allocations: 53.61 kB / 477.1 MB, free: 26.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-05/0.4639, allocations: 23.84 kB / 477.1 MB, free: 26.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.892e-05/0.464, allocations: 392.4 kB / 477.5 MB, free: 26.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003787/0.4644, allocations: 259.7 kB / 477.7 MB, free: 26.15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006093/0.465, allocations: 0.9492 MB / 478.7 MB, free: 25.22 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005485/0.4656, allocations: 472.9 kB / 479.1 MB, free: 25.19 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/0.4656, allocations: 6.5 kB / 479.1 MB, free: 25.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001543/0.4672, allocations: 1.174 MB / 480.3 MB, free: 25.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.127e-05/0.4672, allocations: 21.38 kB / 480.3 MB, free: 25.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.09e-05/0.4673, allocations: 23.62 kB / 480.4 MB, free: 25.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.448e-05/0.4674, allocations: 36.62 kB / 480.4 MB, free: 25.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007014/0.4681, allocations: 249.4 kB / 480.6 MB, free: 25.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.776e-05/0.4681, allocations: 54.48 kB / 480.7 MB, free: 25.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006965/0.4688, allocations: 157.4 kB / 480.8 MB, free: 25.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.965e-05/0.4689, allocations: 66.86 kB / 480.9 MB, free: 25.02 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.0005384/0.4694, allocations: 476 kB / 481.4 MB, free: 24.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.218e-05/0.4695, allocations: 76.36 kB / 481.5 MB, free: 24.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006082/0.4702, allocations: 320.4 kB / 481.8 MB, free: 24.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.4702, allocations: 3.312 kB / 481.8 MB, free: 24.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4702, allocations: 0 / 481.8 MB, free: 24.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.4702, allocations: 0 / 481.8 MB, free: 24.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000849/0.4711, allocations: 0.7422 MB / 482.5 MB, free: 24.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.4711, allocations: 11.33 kB / 482.5 MB, free: 24.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.4713, allocations: 35.8 kB / 482.6 MB, free: 24.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.4713, allocations: 3.953 kB / 482.6 MB, free: 24.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.4713, allocations: 5.547 kB / 482.6 MB, free: 24.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.4713, allocations: 0 / 482.6 MB, free: 24.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4713, allocations: 4.297 kB / 482.6 MB, free: 24.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00052/0.4718, allocations: 397 kB / 483 MB, free: 24.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.472, allocations: 147 kB / 483.1 MB, free: 24.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.385e-05/0.4721, allocations: 10.34 kB / 483.1 MB, free: 24.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/0.4723, allocations: 16.86 kB / 483.1 MB, free: 24.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.105e-05/0.4724, allocations: 15.72 kB / 483.1 MB, free: 24.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.4725, allocations: 3.062 kB / 483.1 MB, free: 24.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000623/0.4731, allocations: 0.6199 MB / 483.8 MB, free: 24.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4731, allocations: 0 / 483.8 MB, free: 24.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009181/0.474, allocations: 223.7 kB / 484 MB, free: 24.14 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.0001377/0.4742, allocations: 102.3 kB / 484.1 MB, free: 24.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009747/0.4751, allocations: 0.6029 MB / 484.7 MB, free: 24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4752, allocations: 0 / 484.7 MB, free: 24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002182/0.4754, allocations: 118.4 kB / 484.8 MB, free: 23.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.4758, allocations: 80.92 kB / 484.9 MB, free: 23.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/0.4782, allocations: 1.872 MB / 486.8 MB, free: 23.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005895/0.4788, allocations: 1.178 MB / 487.9 MB, free: 22.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006733/0.4795, allocations: 269.2 kB / 488.2 MB, free: 22.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.4796, allocations: 52.89 kB / 488.2 MB, free: 22.32 MB / 382.1 MB Notification: Performance of SimCode: time 1.243e-06/0.4796, allocations: 4 kB / 488.3 MB, free: 22.32 MB / 382.1 MB Notification: Performance of Templates: time 0.01272/0.4923, allocations: 5.172 MB / 493.4 MB, free: 21.95 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Arrow.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Arrow.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Arrow -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) Environment - environmentSimulation: