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.0009587/0.0009586, allocations: 91.3 kB / 15.36 MB, free: 0.7344 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.008767/0.008768, allocations: 170.8 kB / 16.26 MB, free: 6.68 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.665/1.665, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.3668/0.3668, allocations: 40 MB / 310.7 MB, free: 9.898 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.0006115/0.0006111, allocations: 12 kB / 379.5 MB, free: 12.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1314, allocations: 57.95 MB / 437.4 MB, free: 2.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.2886/0.42, allocations: 20.33 MB / 457.7 MB, free: 34.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01049/0.4306, allocations: 4.293 MB / 462 MB, free: 33.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004188/0.4348, allocations: 76.97 kB / 462.1 MB, free: 33.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004808/0.4353, allocations: 106.2 kB / 462.2 MB, free: 33.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009813/0.4363, allocations: 291.7 kB / 462.5 MB, free: 33.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.4366, allocations: 50.25 kB / 462.5 MB, free: 33.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009293/0.4375, allocations: 0.9262 MB / 463.5 MB, free: 33.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.4387, allocations: 0.8819 MB / 464.3 MB, free: 33.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003117/0.4391, allocations: 233.6 kB / 464.6 MB, free: 33.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005722/0.4396, allocations: 380.3 kB / 464.9 MB, free: 33.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.542e-05/0.4397, allocations: 26.31 kB / 465 MB, free: 33.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002578/0.44, allocations: 85.33 kB / 465.1 MB, free: 33.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002775/0.4403, allocations: 350 kB / 465.4 MB, free: 33.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000289/0.4406, allocations: 446.9 kB / 465.8 MB, free: 33.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008869/0.4415, allocations: 1.18 MB / 467 MB, free: 32.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4415, allocations: 0 / 467 MB, free: 32.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4415, allocations: 0 / 467 MB, free: 32.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.4415, allocations: 0 / 467 MB, free: 32.91 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.001532/0.4431, allocations: 1.02 MB / 468 MB, free: 32.24 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.4431, allocations: 13.66 kB / 468 MB, free: 32.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007503/0.4439, allocations: 158.5 kB / 468.2 MB, free: 32.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000543/0.4444, allocations: 0.4932 MB / 468.7 MB, free: 31.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.354e-05/0.4445, allocations: 46.84 kB / 468.7 MB, free: 31.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.895e-05/0.4446, allocations: 57.5 kB / 468.8 MB, free: 31.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001847/0.4464, allocations: 1.758 MB / 470.6 MB, free: 31.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.4464, allocations: 3.156 kB / 470.6 MB, free: 31.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.747e-05/0.4465, allocations: 31.22 kB / 470.6 MB, free: 31.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006157/0.4471, allocations: 403.8 kB / 471 MB, free: 31.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/0.4488, allocations: 1.2 MB / 472.2 MB, free: 31.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005581/0.4544, allocations: 6.612 MB / 478.8 MB, free: 26.58 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003826/0.4548, allocations: 177.6 kB / 479 MB, free: 26.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.455, allocations: 98.05 kB / 479.1 MB, free: 26.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.4551, allocations: 8 kB / 479.1 MB, free: 26.47 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.4551, allocations: 37.75 kB / 479.1 MB, free: 26.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 2.515e-06/0.4551, allocations: 0 / 479.1 MB, free: 26.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008007/0.4559, allocations: 389.7 kB / 479.5 MB, free: 26.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.456, allocations: 51.41 kB / 479.5 MB, free: 26.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009456/0.4569, allocations: 0.9692 MB / 480.5 MB, free: 25.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.457, allocations: 25.7 kB / 480.5 MB, free: 25.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003192/0.4573, allocations: 0.6893 MB / 481.2 MB, free: 25.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.788e-05/0.4573, allocations: 66.92 kB / 481.3 MB, free: 25.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.885e-05/0.4574, allocations: 99.59 kB / 481.4 MB, free: 25.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.4575, allocations: 388.8 kB / 481.8 MB, free: 24.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000378/0.4579, allocations: 264.6 kB / 482 MB, free: 24.74 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006068/0.4585, allocations: 0.9612 MB / 483 MB, free: 23.69 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.4596, allocations: 1.307 MB / 484.3 MB, free: 22.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.4596, allocations: 9.188 kB / 484.3 MB, free: 22.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001502/0.4612, allocations: 1.174 MB / 485.5 MB, free: 21.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.4612, allocations: 19.34 kB / 485.5 MB, free: 21.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/0.4612, allocations: 25.38 kB / 485.5 MB, free: 21.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.566e-05/0.4613, allocations: 32.75 kB / 485.6 MB, free: 21.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006296/0.4619, allocations: 255.6 kB / 485.8 MB, free: 21.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.801e-05/0.4619, allocations: 50.38 kB / 485.9 MB, free: 21.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006679/0.4626, allocations: 162.3 kB / 486 MB, free: 21.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-05/0.4627, allocations: 69.19 kB / 486.1 MB, free: 21.84 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.0004802/0.4632, allocations: 477 kB / 486.5 MB, free: 21.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.841e-05/0.4633, allocations: 74.69 kB / 486.6 MB, free: 21.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006023/0.4639, allocations: 321.2 kB / 486.9 MB, free: 21.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.4639, allocations: 0 / 486.9 MB, free: 21.4 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.4639, allocations: 3.219 kB / 486.9 MB, free: 21.4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.4639, allocations: 3.516 kB / 486.9 MB, free: 21.4 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000773/0.4647, allocations: 0.7316 MB / 487.7 MB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.135e-06/0.4647, allocations: 0 / 487.7 MB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.4649, allocations: 47.73 kB / 487.7 MB, free: 21.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.4649, allocations: 0 / 487.7 MB, free: 21.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.4649, allocations: 4 kB / 487.7 MB, free: 21.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.4649, allocations: 3.516 kB / 487.7 MB, free: 21.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.4649, allocations: 3.125 kB / 487.7 MB, free: 21.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005218/0.4655, allocations: 398.9 kB / 488.1 MB, free: 20.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.4656, allocations: 153.4 kB / 488.3 MB, free: 20.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.93e-05/0.4657, allocations: 3.688 kB / 488.3 MB, free: 20.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002484/0.4659, allocations: 19.08 kB / 488.3 MB, free: 20.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-05/0.466, allocations: 15.39 kB / 488.3 MB, free: 20.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.466, allocations: 6.094 kB / 488.3 MB, free: 20.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000633/0.4667, allocations: 0.6216 MB / 488.9 MB, free: 20.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.4667, allocations: 0 / 488.9 MB, free: 20.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007586/0.4674, allocations: 219.7 kB / 489.1 MB, free: 20.34 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.0001251/0.4676, allocations: 99.41 kB / 489.2 MB, free: 20.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008336/0.4684, allocations: 0.609 MB / 489.8 MB, free: 20.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4684, allocations: 0 / 489.8 MB, free: 20.06 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002038/0.4686, allocations: 110.3 kB / 490 MB, free: 20.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005428/0.4692, allocations: 86.95 kB / 490 MB, free: 19.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/0.4715, allocations: 1.988 MB / 492 MB, free: 18.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006241/0.4722, allocations: 1.152 MB / 493.2 MB, free: 18.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006044/0.4728, allocations: 280.7 kB / 493.5 MB, free: 18.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.992e-05/0.4729, allocations: 50.72 kB / 493.5 MB, free: 18 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4729, allocations: 0 / 493.5 MB, free: 18 MB / 382.1 MB Notification: Performance of Templates: time 0.01405/0.4869, allocations: 5.306 MB / 498.8 MB, free: 17.61 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: