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/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.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 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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00209/0.002091, allocations: 108 kB / 15.6 MB, free: 132 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.002974/0.002974, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.694/1.694, allocations: 205.1 MB / 222.4 MB, free: 4.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3838/0.3838, allocations: 39.94 MB / 309.7 MB, free: 9.352 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.2. 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.001521/0.001521, allocations: 67.91 kB / 377.6 MB, free: 12.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1545, allocations: 56.88 MB / 434.5 MB, free: 3.734 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.009881/0.1644, allocations: 7.058 MB / 441.5 MB, free: 12.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004838/0.1693, allocations: 2.022 MB / 443.6 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.1704, allocations: 31.94 kB / 443.6 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001527/0.172, allocations: 0.6383 MB / 444.2 MB, free: 9.934 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009504/0.1729, allocations: 306.3 kB / 444.5 MB, free: 9.633 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.1732, allocations: 51.88 kB / 444.6 MB, free: 9.582 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006978/0.1739, allocations: 0.6068 MB / 445.2 MB, free: 8.973 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007295/0.1746, allocations: 0.5929 MB / 445.8 MB, free: 8.379 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003942/0.175, allocations: 302.7 kB / 446.1 MB, free: 8.082 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000561/0.1756, allocations: 402.5 kB / 446.5 MB, free: 7.688 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.1757, allocations: 56 kB / 446.5 MB, free: 7.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002961/0.176, allocations: 111.9 kB / 446.6 MB, free: 7.523 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003834/0.1764, allocations: 378.9 kB / 447 MB, free: 7.152 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004144/0.1768, allocations: 457 kB / 447.5 MB, free: 6.703 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.1781, allocations: 1.222 MB / 448.7 MB, free: 5.477 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1781, allocations: 4 kB / 448.7 MB, free: 5.473 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1781, allocations: 0 / 448.7 MB, free: 5.473 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.1781, allocations: 0 / 448.7 MB, free: 5.473 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.002018/0.1801, allocations: 1.189 MB / 449.9 MB, free: 4.234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.72e-05/0.1802, allocations: 15.89 kB / 449.9 MB, free: 4.219 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000841/0.1811, allocations: 159.3 kB / 450 MB, free: 4.062 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006738/0.1818, allocations: 0.4895 MB / 450.5 MB, free: 3.531 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.492e-05/0.1818, allocations: 45.66 kB / 450.6 MB, free: 3.488 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.577e-05/0.1819, allocations: 60.09 kB / 450.6 MB, free: 3.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002329/0.1843, allocations: 1.743 MB / 452.4 MB, free: 1.543 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.1843, allocations: 7.938 kB / 452.4 MB, free: 1.535 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.844e-05/0.1844, allocations: 27.97 kB / 452.4 MB, free: 1.508 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00073/0.1851, allocations: 405.2 kB / 452.8 MB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2829/0.468, allocations: 1.197 MB / 454 MB, free: 51.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007817/0.4759, allocations: 6.6 MB / 460.6 MB, free: 47.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004226/0.4764, allocations: 169.5 kB / 460.8 MB, free: 47.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.4766, allocations: 94.19 kB / 460.9 MB, free: 47.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.142e-05/0.4766, allocations: 10.78 kB / 460.9 MB, free: 47.49 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.4767, allocations: 32.16 kB / 460.9 MB, free: 47.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 3.627e-06/0.4767, allocations: 0 / 460.9 MB, free: 47.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.000876/0.4775, allocations: 367.7 kB / 461.3 MB, free: 47.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.013e-05/0.4776, allocations: 59.34 kB / 461.3 MB, free: 47.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.4786, allocations: 0.9667 MB / 462.3 MB, free: 46.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.4786, allocations: 28.88 kB / 462.3 MB, free: 46.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003404/0.479, allocations: 0.6913 MB / 463 MB, free: 46.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.479, allocations: 61.67 kB / 463.1 MB, free: 46.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002204/0.4793, allocations: 220 kB / 463.3 MB, free: 46.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.4794, allocations: 392.5 kB / 463.7 MB, free: 45.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003636/0.4797, allocations: 263.6 kB / 463.9 MB, free: 45.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006963/0.4805, allocations: 0.9494 MB / 464.9 MB, free: 44.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.4816, allocations: 1.297 MB / 466.2 MB, free: 43.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/0.4817, allocations: 6.531 kB / 466.2 MB, free: 43.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001525/0.4832, allocations: 1.16 MB / 467.3 MB, free: 43.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.4832, allocations: 16.31 kB / 467.4 MB, free: 43.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/0.4833, allocations: 26.16 kB / 467.4 MB, free: 43.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.114e-05/0.4833, allocations: 29.69 kB / 467.4 MB, free: 43.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006299/0.4839, allocations: 253.9 kB / 467.7 MB, free: 43.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.942e-05/0.484, allocations: 51.67 kB / 467.7 MB, free: 43.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007393/0.4847, allocations: 159.9 kB / 467.9 MB, free: 42.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-05/0.4848, allocations: 63.38 kB / 467.9 MB, free: 42.95 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.0004973/0.4853, allocations: 480.4 kB / 468.4 MB, free: 42.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.287e-05/0.4854, allocations: 74.53 kB / 468.5 MB, free: 42.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005806/0.486, allocations: 310.6 kB / 468.8 MB, free: 42.51 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.486, allocations: 3.938 kB / 468.8 MB, free: 42.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.486, allocations: 3.219 kB / 468.8 MB, free: 42.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.486, allocations: 3.375 kB / 468.8 MB, free: 42.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007364/0.4868, allocations: 0.7297 MB / 469.5 MB, free: 42.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.4868, allocations: 0 / 469.5 MB, free: 42.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001731/0.487, allocations: 42.81 kB / 469.6 MB, free: 42.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.487, allocations: 0 / 469.6 MB, free: 42.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.487, allocations: 4 kB / 469.6 MB, free: 42.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.487, allocations: 6.875 kB / 469.6 MB, free: 42.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.487, allocations: 0 / 469.6 MB, free: 42.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004903/0.4875, allocations: 383.4 kB / 469.9 MB, free: 41.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.4876, allocations: 143.1 kB / 470.1 MB, free: 41.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.233e-05/0.4877, allocations: 6.25 kB / 470.1 MB, free: 41.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.4879, allocations: 18.56 kB / 470.1 MB, free: 41.76 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.091e-05/0.488, allocations: 13 kB / 470.1 MB, free: 41.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.488, allocations: 6.891 kB / 470.1 MB, free: 41.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000626/0.4887, allocations: 0.6262 MB / 470.7 MB, free: 41.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4887, allocations: 0 / 470.7 MB, free: 41.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008403/0.4895, allocations: 220.1 kB / 471 MB, free: 41.45 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.0001383/0.4897, allocations: 110.6 kB / 471.1 MB, free: 41.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009144/0.4906, allocations: 0.6133 MB / 471.7 MB, free: 41.17 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.4906, allocations: 0 / 471.7 MB, free: 41.17 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.4908, allocations: 105 kB / 471.8 MB, free: 41.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004952/0.4913, allocations: 90.56 kB / 471.9 MB, free: 41.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002047/0.4934, allocations: 1.57 MB / 473.4 MB, free: 40.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005553/0.4939, allocations: 1.153 MB / 474.6 MB, free: 39.56 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005939/0.4945, allocations: 281.8 kB / 474.9 MB, free: 39.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.4947, allocations: 52.22 kB / 474.9 MB, free: 39.51 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4947, allocations: 0 / 474.9 MB, free: 39.51 MB / 382.1 MB Notification: Performance of Templates: time 0.01077/0.5054, allocations: 5.63 MB / 480.6 MB, free: 39.13 MB / 382.1 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)