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.001185/0.001185, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001271/0.00127, allocations: 172.7 kB / 15.95 MB, free: 208 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.74/1.74, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.3522/0.3522, allocations: 40 MB / 310.4 MB, free: 9.672 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.0005999/0.0006001, allocations: 12 kB / 378.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1419, allocations: 57.96 MB / 436.8 MB, free: 2.277 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.2931/0.435, allocations: 18.97 MB / 455.8 MB, free: 33.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01123/0.4464, allocations: 4.105 MB / 459.9 MB, free: 33.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004257/0.4507, allocations: 80.97 kB / 459.9 MB, free: 33.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001943/0.4527, allocations: 0.8026 MB / 460.7 MB, free: 33.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005738/0.4584, allocations: 2.288 MB / 463 MB, free: 33.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003261/0.4587, allocations: 49.64 kB / 463.1 MB, free: 33.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006925/0.4594, allocations: 0.7527 MB / 463.8 MB, free: 33.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001053/0.4605, allocations: 0.7979 MB / 464.6 MB, free: 32.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003081/0.4608, allocations: 244.1 kB / 464.9 MB, free: 32.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004542/0.4613, allocations: 370.4 kB / 465.2 MB, free: 32.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.64e-05/0.4614, allocations: 29.22 kB / 465.3 MB, free: 32.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002123/0.4616, allocations: 78.3 kB / 465.3 MB, free: 32.81 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002611/0.4619, allocations: 333.2 kB / 465.7 MB, free: 32.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.462, allocations: 194.8 kB / 465.9 MB, free: 32.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007122/0.4627, allocations: 0.9563 MB / 466.8 MB, free: 32.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.4627, allocations: 0 / 466.8 MB, free: 32.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4627, allocations: 0 / 466.8 MB, free: 32.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.4627, allocations: 0 / 466.8 MB, free: 32.62 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.001393/0.4641, allocations: 1.041 MB / 467.8 MB, free: 31.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.4642, allocations: 11.3 kB / 467.9 MB, free: 31.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006844/0.4649, allocations: 156.1 kB / 468 MB, free: 31.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005005/0.4654, allocations: 492.1 kB / 468.5 MB, free: 31.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.739e-05/0.4654, allocations: 44.34 kB / 468.5 MB, free: 31.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.736e-05/0.4655, allocations: 61.36 kB / 468.6 MB, free: 31.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00186/0.4674, allocations: 1.748 MB / 470.3 MB, free: 31.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.4674, allocations: 8.047 kB / 470.4 MB, free: 31.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.273e-05/0.4675, allocations: 29.05 kB / 470.4 MB, free: 31.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005759/0.4681, allocations: 404.8 kB / 470.8 MB, free: 31.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001523/0.4696, allocations: 1.19 MB / 472 MB, free: 31.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004861/0.4745, allocations: 6.611 MB / 478.6 MB, free: 27.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.4749, allocations: 177.4 kB / 478.7 MB, free: 27.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.475, allocations: 98.27 kB / 478.8 MB, free: 27.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.4751, allocations: 6.094 kB / 478.9 MB, free: 27.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.4751, allocations: 37.44 kB / 478.9 MB, free: 27.03 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 3.357e-06/0.4751, allocations: 5.188 kB / 478.9 MB, free: 27.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.000727/0.4758, allocations: 380.8 kB / 479.3 MB, free: 26.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.4759, allocations: 54.38 kB / 479.3 MB, free: 26.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009017/0.4768, allocations: 0.963 MB / 480.3 MB, free: 26.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.4768, allocations: 25.7 kB / 480.3 MB, free: 26.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003186/0.4771, allocations: 0.6883 MB / 481 MB, free: 26.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.046e-05/0.4772, allocations: 60.52 kB / 481.1 MB, free: 26.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.4772, allocations: 21.75 kB / 481.1 MB, free: 26.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.4773, allocations: 387.7 kB / 481.5 MB, free: 25.94 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003744/0.4777, allocations: 265.2 kB / 481.7 MB, free: 25.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005956/0.4783, allocations: 0.9576 MB / 482.7 MB, free: 24.99 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005729/0.4789, allocations: 467.1 kB / 483.1 MB, free: 24.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/0.4789, allocations: 9.594 kB / 483.1 MB, free: 24.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001474/0.4804, allocations: 1.164 MB / 484.3 MB, free: 24.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.4804, allocations: 20.33 kB / 484.3 MB, free: 24.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.321e-05/0.4805, allocations: 27.44 kB / 484.3 MB, free: 24.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.806e-05/0.4805, allocations: 40.75 kB / 484.4 MB, free: 24.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006236/0.4811, allocations: 249.9 kB / 484.6 MB, free: 24.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.302e-05/0.4812, allocations: 49.78 kB / 484.7 MB, free: 24.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006232/0.4818, allocations: 166.1 kB / 484.8 MB, free: 24.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-05/0.4819, allocations: 67.31 kB / 484.9 MB, free: 24.58 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.0004906/0.4824, allocations: 471.2 kB / 485.4 MB, free: 24.42 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.094e-05/0.4825, allocations: 71.38 kB / 485.4 MB, free: 24.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005725/0.483, allocations: 335.6 kB / 485.8 MB, free: 24.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4831, allocations: 0 / 485.8 MB, free: 24.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4831, allocations: 0 / 485.8 MB, free: 24.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4831, allocations: 0 / 485.8 MB, free: 24.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007779/0.4839, allocations: 0.7388 MB / 486.5 MB, free: 24.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4839, allocations: 3.953 kB / 486.5 MB, free: 24.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.484, allocations: 36.77 kB / 486.5 MB, free: 24.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.4841, allocations: 0 / 486.5 MB, free: 24.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.4841, allocations: 7.188 kB / 486.5 MB, free: 24.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4841, allocations: 0.9688 kB / 486.6 MB, free: 24.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4841, allocations: 1.094 kB / 486.6 MB, free: 24.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004971/0.4846, allocations: 392.1 kB / 486.9 MB, free: 23.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.4847, allocations: 156.2 kB / 487.1 MB, free: 23.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.689e-05/0.4848, allocations: 3.688 kB / 487.1 MB, free: 23.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.485, allocations: 16.33 kB / 487.1 MB, free: 23.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.028e-05/0.4851, allocations: 23.16 kB / 487.1 MB, free: 23.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.4851, allocations: 6.656 kB / 487.1 MB, free: 23.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000598/0.4857, allocations: 0.6199 MB / 487.8 MB, free: 23.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4857, allocations: 0 / 487.8 MB, free: 23.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007991/0.4865, allocations: 214.7 kB / 488 MB, free: 23.67 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.0001272/0.4867, allocations: 107 kB / 488.1 MB, free: 23.58 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008581/0.4875, allocations: 0.603 MB / 488.7 MB, free: 23.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4875, allocations: 0 / 488.7 MB, free: 23.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001969/0.4877, allocations: 112.7 kB / 488.8 MB, free: 23.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005095/0.4883, allocations: 83.5 kB / 488.9 MB, free: 23.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.4904, allocations: 1.887 MB / 490.8 MB, free: 22.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006005/0.491, allocations: 1.145 MB / 491.9 MB, free: 21.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005982/0.4916, allocations: 281.1 kB / 492.2 MB, free: 21.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.4917, allocations: 53.83 kB / 492.2 MB, free: 21.82 MB / 382.1 MB Notification: Performance of SimCode: time 4.4e-07/0.4917, allocations: 0 / 492.2 MB, free: 21.82 MB / 382.1 MB Notification: Performance of Templates: time 0.01443/0.5061, allocations: 5.192 MB / 497.4 MB, free: 21.44 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Arrow.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: