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.005553/0.005553, allocations: 101.1 kB / 15.88 MB, free: 6.309 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.001169/0.001169, allocations: 195.6 kB / 16.79 MB, free: 6.238 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.603/1.603, allocations: 205.1 MB / 222.6 MB, free: 4.75 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.4049/0.4049, allocations: 43.5 MB / 313.5 MB, free: 8.48 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.001617/0.001617, allocations: 71.89 kB / 382 MB, free: 8.734 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1481, allocations: 57.79 MB / 439.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.2877/0.4358, allocations: 21.04 MB / 460.9 MB, free: 37.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01289/0.4488, allocations: 4.331 MB / 465.2 MB, free: 36.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005738/0.4546, allocations: 79.97 kB / 465.3 MB, free: 36.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001881/0.4565, allocations: 0.6147 MB / 465.9 MB, free: 36.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001242/0.4578, allocations: 298.2 kB / 466.2 MB, free: 36.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.4581, allocations: 44.92 kB / 466.2 MB, free: 36.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009137/0.459, allocations: 0.9265 MB / 467.1 MB, free: 36.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008108/0.4598, allocations: 0.5752 MB / 467.7 MB, free: 36.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000397/0.4602, allocations: 267.7 kB / 468 MB, free: 36.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000577/0.4608, allocations: 425.9 kB / 468.4 MB, free: 35.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.936e-05/0.4609, allocations: 45.25 kB / 468.4 MB, free: 35.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003012/0.4612, allocations: 101.9 kB / 468.5 MB, free: 35.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000316/0.4616, allocations: 365.1 kB / 468.9 MB, free: 35.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003745/0.4619, allocations: 450.8 kB / 469.3 MB, free: 35.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009685/0.4629, allocations: 1.206 MB / 470.5 MB, free: 35.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.4629, allocations: 0 / 470.5 MB, free: 35.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.4629, allocations: 2.719 kB / 470.5 MB, free: 35.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.463, allocations: 0 / 470.5 MB, free: 35.11 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.001819/0.4648, allocations: 1.188 MB / 471.7 MB, free: 34.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.4648, allocations: 9.312 kB / 471.7 MB, free: 34.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000795/0.4657, allocations: 159.1 kB / 471.9 MB, free: 34.22 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006012/0.4663, allocations: 499.5 kB / 472.4 MB, free: 33.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.863e-05/0.4663, allocations: 50.89 kB / 472.4 MB, free: 33.83 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.186e-05/0.4664, allocations: 61.66 kB / 472.5 MB, free: 33.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001878/0.4683, allocations: 1.751 MB / 474.2 MB, free: 32.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.4683, allocations: 7.062 kB / 474.3 MB, free: 32.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.658e-05/0.4684, allocations: 34.17 kB / 474.3 MB, free: 32.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006292/0.469, allocations: 399.8 kB / 474.7 MB, free: 32.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001641/0.4707, allocations: 1.193 MB / 475.9 MB, free: 32.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005257/0.476, allocations: 6.603 MB / 482.5 MB, free: 27.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003749/0.4764, allocations: 166.7 kB / 482.6 MB, free: 27.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.4766, allocations: 101.3 kB / 482.7 MB, free: 27.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.4766, allocations: 1.797 kB / 482.7 MB, free: 27.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.4766, allocations: 37.69 kB / 482.8 MB, free: 27.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.823e-06/0.4766, allocations: 0 / 482.8 MB, free: 27.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008098/0.4774, allocations: 374.7 kB / 483.1 MB, free: 27.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.4775, allocations: 54.62 kB / 483.2 MB, free: 27.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.4785, allocations: 0.96 MB / 484.1 MB, free: 26.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.4785, allocations: 29.7 kB / 484.2 MB, free: 26.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003927/0.4789, allocations: 0.6861 MB / 484.9 MB, free: 26.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.558e-05/0.479, allocations: 57.36 kB / 484.9 MB, free: 26.19 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002704/0.4793, allocations: 221 kB / 485.1 MB, free: 26.08 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.4794, allocations: 393.6 kB / 485.5 MB, free: 25.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003917/0.4798, allocations: 257.5 kB / 485.8 MB, free: 25.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000656/0.4805, allocations: 0.9511 MB / 486.7 MB, free: 24.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.4816, allocations: 1.298 MB / 488 MB, free: 23.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/0.4816, allocations: 8.938 kB / 488 MB, free: 23.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001514/0.4831, allocations: 1.168 MB / 489.2 MB, free: 22.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/0.4832, allocations: 18.06 kB / 489.2 MB, free: 22.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.271e-05/0.4832, allocations: 24.69 kB / 489.2 MB, free: 22.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.921e-05/0.4832, allocations: 37.22 kB / 489.3 MB, free: 22.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000654/0.4839, allocations: 244.5 kB / 489.5 MB, free: 22.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.003e-05/0.4839, allocations: 52.7 kB / 489.6 MB, free: 22.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006876/0.4846, allocations: 161 kB / 489.7 MB, free: 22.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-05/0.4847, allocations: 68.62 kB / 489.8 MB, free: 22.76 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005493/0.4853, allocations: 475.7 kB / 490.3 MB, free: 22.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.723e-05/0.4854, allocations: 77.22 kB / 490.3 MB, free: 22.44 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000619/0.486, allocations: 305.9 kB / 490.6 MB, free: 22.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.486, allocations: 3.125 kB / 490.6 MB, free: 22.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.486, allocations: 0 / 490.6 MB, free: 22.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.486, allocations: 3.234 kB / 490.6 MB, free: 22.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009716/0.487, allocations: 0.7334 MB / 491.4 MB, free: 21.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.487, allocations: 0 / 491.4 MB, free: 21.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.4872, allocations: 46.33 kB / 491.4 MB, free: 21.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4872, allocations: 4 kB / 491.4 MB, free: 21.94 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.4873, allocations: 7.375 kB / 491.4 MB, free: 21.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.4873, allocations: 1.375 kB / 491.4 MB, free: 21.94 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4873, allocations: 0 / 491.4 MB, free: 21.94 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005422/0.4878, allocations: 378.9 kB / 491.8 MB, free: 21.72 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.488, allocations: 155.7 kB / 491.9 MB, free: 21.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.561e-05/0.488, allocations: 9.344 kB / 492 MB, free: 21.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/0.4883, allocations: 10.3 kB / 492 MB, free: 21.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.856e-05/0.4884, allocations: 17.44 kB / 492 MB, free: 21.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.4884, allocations: 2.5 kB / 492 MB, free: 21.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007014/0.4891, allocations: 0.6281 MB / 492.6 MB, free: 21.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4891, allocations: 0 / 492.6 MB, free: 21.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00087/0.49, allocations: 211.6 kB / 492.8 MB, free: 21.27 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001374/0.4901, allocations: 113.7 kB / 492.9 MB, free: 21.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.4912, allocations: 0.5908 MB / 493.5 MB, free: 20.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4912, allocations: 1.188 kB / 493.5 MB, free: 20.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.4914, allocations: 100.3 kB / 493.6 MB, free: 20.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005779/0.492, allocations: 91.66 kB / 493.7 MB, free: 20.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/0.4946, allocations: 1.95 MB / 495.7 MB, free: 19.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000798/0.4955, allocations: 1.15 MB / 496.8 MB, free: 18.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007935/0.4963, allocations: 278.9 kB / 497.1 MB, free: 18.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.4964, allocations: 59.14 kB / 497.1 MB, free: 18.92 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4964, allocations: 0 / 497.1 MB, free: 18.92 MB / 382.1 MB Notification: Performance of Templates: time 0.01429/0.5107, allocations: 5.346 MB / 0.4907 GB, free: 18.55 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)