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.001107/0.001108, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001192/0.001192, allocations: 192.3 kB / 16.13 MB, free: 6.652 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.82/1.82, allocations: 205.1 MB / 222 MB, free: 4.77 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.3701/0.3701, allocations: 37.98 MB / 307.3 MB, free: 10.16 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.001417/0.001417, allocations: 59.91 kB / 374.5 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1377, allocations: 56.46 MB / 431 MB, free: 7.078 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.02274/0.1604, allocations: 21.06 MB / 452.1 MB, free: 1.922 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2968/0.4573, allocations: 4.326 MB / 456.4 MB, free: 34.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005688/0.4631, allocations: 78.69 kB / 456.5 MB, free: 34.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001701/0.4649, allocations: 0.6157 MB / 457.1 MB, free: 34.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001013/0.4659, allocations: 288 kB / 457.4 MB, free: 34.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.4662, allocations: 44.77 kB / 457.4 MB, free: 34.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009315/0.4671, allocations: 0.9236 MB / 458.3 MB, free: 34.67 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008275/0.4679, allocations: 0.5822 MB / 458.9 MB, free: 34.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003715/0.4683, allocations: 266.7 kB / 459.2 MB, free: 34.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000586/0.4689, allocations: 421.5 kB / 459.6 MB, free: 34.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.81e-05/0.469, allocations: 42.91 kB / 459.6 MB, free: 34.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002824/0.4693, allocations: 105.1 kB / 459.7 MB, free: 34.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003244/0.4696, allocations: 367.9 kB / 460.1 MB, free: 34.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003714/0.47, allocations: 450.1 kB / 460.5 MB, free: 34.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009686/0.471, allocations: 1.205 MB / 461.7 MB, free: 34.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.471, allocations: 5.766 kB / 461.7 MB, free: 34.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.471, allocations: 0 / 461.7 MB, free: 34.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.471, allocations: 0 / 461.7 MB, free: 34.16 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.001912/0.473, allocations: 1.19 MB / 462.9 MB, free: 33.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.473, allocations: 8.625 kB / 462.9 MB, free: 33.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007773/0.4738, allocations: 162.6 kB / 463.1 MB, free: 33.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006067/0.4744, allocations: 498.1 kB / 463.6 MB, free: 33.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.576e-05/0.4745, allocations: 47.11 kB / 463.6 MB, free: 33.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.543e-05/0.4746, allocations: 56.84 kB / 463.7 MB, free: 33.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/0.4765, allocations: 1.751 MB / 465.4 MB, free: 32.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.4765, allocations: 7.828 kB / 465.4 MB, free: 32.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.411e-05/0.4766, allocations: 29.53 kB / 465.5 MB, free: 32.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000634/0.4772, allocations: 403.6 kB / 465.9 MB, free: 32.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001828/0.479, allocations: 1.195 MB / 467.1 MB, free: 32.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006101/0.4851, allocations: 6.595 MB / 473.7 MB, free: 27.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004226/0.4856, allocations: 171 kB / 473.8 MB, free: 27.08 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.4858, allocations: 95.7 kB / 473.9 MB, free: 27.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.4859, allocations: 6.047 kB / 473.9 MB, free: 27.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.4859, allocations: 38.5 kB / 474 MB, free: 27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 3.597e-06/0.4859, allocations: 4 kB / 474 MB, free: 27 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007977/0.4867, allocations: 362.9 kB / 474.3 MB, free: 26.87 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.4868, allocations: 54.06 kB / 474.4 MB, free: 26.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000983/0.4877, allocations: 0.9586 MB / 475.3 MB, free: 26.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.4878, allocations: 31.67 kB / 475.4 MB, free: 26.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003599/0.4882, allocations: 0.6929 MB / 476.1 MB, free: 25.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.181e-05/0.4882, allocations: 58.19 kB / 476.1 MB, free: 25.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002462/0.4885, allocations: 217.1 kB / 476.3 MB, free: 25.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.4886, allocations: 392.4 kB / 476.7 MB, free: 25.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003953/0.489, allocations: 257 kB / 477 MB, free: 25.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007725/0.4898, allocations: 0.9546 MB / 477.9 MB, free: 24.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/0.4912, allocations: 1.292 MB / 479.2 MB, free: 23.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.629e-05/0.4913, allocations: 12.84 kB / 479.2 MB, free: 23.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001729/0.493, allocations: 1.167 MB / 480.4 MB, free: 22.65 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.68e-05/0.4931, allocations: 21.44 kB / 480.4 MB, free: 22.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.983e-05/0.4931, allocations: 28.47 kB / 480.4 MB, free: 22.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.834e-05/0.4932, allocations: 36.53 kB / 480.5 MB, free: 22.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006951/0.4939, allocations: 244.5 kB / 480.7 MB, free: 22.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.972e-05/0.4939, allocations: 48.56 kB / 480.8 MB, free: 22.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007797/0.4947, allocations: 159.4 kB / 480.9 MB, free: 22.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.841e-05/0.4948, allocations: 64.73 kB / 481 MB, free: 22.5 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.0006896/0.4955, allocations: 480.7 kB / 481.4 MB, free: 22.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.4956, allocations: 78.75 kB / 481.5 MB, free: 22.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006596/0.4963, allocations: 315.6 kB / 481.8 MB, free: 22.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.4963, allocations: 0 / 481.8 MB, free: 22.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.4963, allocations: 3.938 kB / 481.8 MB, free: 22.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-06/0.4963, allocations: 4 kB / 481.8 MB, free: 22.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008949/0.4972, allocations: 0.7356 MB / 482.6 MB, free: 21.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.4972, allocations: 3.328 kB / 482.6 MB, free: 21.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.4974, allocations: 28.45 kB / 482.6 MB, free: 21.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.4974, allocations: 3.938 kB / 482.6 MB, free: 21.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.4974, allocations: 7.281 kB / 482.6 MB, free: 21.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.4974, allocations: 3.328 kB / 482.6 MB, free: 21.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4974, allocations: 0 / 482.6 MB, free: 21.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005227/0.498, allocations: 387.2 kB / 483 MB, free: 21.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.4981, allocations: 150.4 kB / 483.1 MB, free: 21.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.563e-05/0.4982, allocations: 7.094 kB / 483.1 MB, free: 21.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/0.4985, allocations: 9.781 kB / 483.2 MB, free: 21.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.906e-05/0.4985, allocations: 16.88 kB / 483.2 MB, free: 21.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.4986, allocations: 7.531 kB / 483.2 MB, free: 21.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006851/0.4992, allocations: 0.6267 MB / 483.8 MB, free: 21.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4993, allocations: 0 / 483.8 MB, free: 21.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009591/0.5002, allocations: 215.1 kB / 484 MB, free: 21 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.0002006/0.5004, allocations: 99.56 kB / 484.1 MB, free: 20.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001037/0.5015, allocations: 0.595 MB / 484.7 MB, free: 20.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5015, allocations: 3.938 kB / 484.7 MB, free: 20.72 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.5017, allocations: 110.7 kB / 484.8 MB, free: 20.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005762/0.5023, allocations: 78.88 kB / 484.9 MB, free: 20.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002576/0.5049, allocations: 1.957 MB / 486.9 MB, free: 19.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006336/0.5055, allocations: 1.154 MB / 488 MB, free: 18.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006558/0.5062, allocations: 275.5 kB / 488.3 MB, free: 18.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.5063, allocations: 59.19 kB / 488.3 MB, free: 18.66 MB / 382.1 MB Notification: Performance of SimCode: time 6.02e-07/0.5063, allocations: 0 / 488.3 MB, free: 18.66 MB / 382.1 MB Notification: Performance of Templates: time 0.01317/0.5195, allocations: 5.346 MB / 493.7 MB, free: 18.28 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Arrow.makefile (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)