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.0007629/0.000763, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.000949/0.0009491, allocations: 168.7 kB / 15.95 MB, free: 204 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.448/1.448, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.3128/0.3128, allocations: 38.03 MB / 308.4 MB, free: 10.4 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.0005421/0.0005421, allocations: 16 kB / 376.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1139, allocations: 57.53 MB / 434 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.01627/0.1303, allocations: 18.97 MB / 452.9 MB, free: 2.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2136/0.3439, allocations: 4.086 MB / 457 MB, free: 33.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002532/0.3465, allocations: 81.78 kB / 457.1 MB, free: 33.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001508/0.348, allocations: 0.8143 MB / 457.9 MB, free: 33.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004116/0.3521, allocations: 2.282 MB / 460.2 MB, free: 33.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.3524, allocations: 51.97 kB / 460.2 MB, free: 33.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006014/0.353, allocations: 0.7546 MB / 461 MB, free: 33.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001117/0.3541, allocations: 0.7933 MB / 461.8 MB, free: 33.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002679/0.3544, allocations: 239.3 kB / 462 MB, free: 33.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004102/0.3548, allocations: 376.7 kB / 462.4 MB, free: 33.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.378e-05/0.3549, allocations: 27.91 kB / 462.4 MB, free: 33.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001938/0.3551, allocations: 67.98 kB / 462.5 MB, free: 33.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002105/0.3553, allocations: 339.6 kB / 462.8 MB, free: 33.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.3554, allocations: 192.2 kB / 463 MB, free: 33.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005957/0.356, allocations: 0.9617 MB / 464 MB, free: 33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.356, allocations: 0 / 464 MB, free: 33 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.356, allocations: 0 / 464 MB, free: 33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.3561, allocations: 4 kB / 464 MB, free: 33 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.001247/0.3573, allocations: 1.038 MB / 465 MB, free: 32.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.3574, allocations: 9.625 kB / 465 MB, free: 32.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006536/0.358, allocations: 166.6 kB / 465.2 MB, free: 32.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004836/0.3585, allocations: 484.7 kB / 465.7 MB, free: 31.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.729e-05/0.3586, allocations: 50.34 kB / 465.7 MB, free: 31.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.917e-05/0.3586, allocations: 56.66 kB / 465.8 MB, free: 31.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/0.3603, allocations: 1.744 MB / 467.5 MB, free: 31.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.3603, allocations: 7.156 kB / 467.5 MB, free: 31.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.639e-05/0.3604, allocations: 31.06 kB / 467.5 MB, free: 31.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005251/0.3609, allocations: 412.3 kB / 467.9 MB, free: 31.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001466/0.3624, allocations: 1.185 MB / 469.1 MB, free: 31.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004718/0.3671, allocations: 6.615 MB / 475.7 MB, free: 27.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003297/0.3674, allocations: 174.6 kB / 475.9 MB, free: 27.44 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.3676, allocations: 102.3 kB / 476 MB, free: 27.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.3677, allocations: 6.094 kB / 476 MB, free: 27.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.3677, allocations: 38.5 kB / 476.1 MB, free: 27.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.3677, allocations: 0 / 476.1 MB, free: 27.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006637/0.3684, allocations: 380.9 kB / 476.4 MB, free: 27.31 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.3684, allocations: 54.34 kB / 476.5 MB, free: 27.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009045/0.3693, allocations: 0.953 MB / 477.4 MB, free: 27.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.3693, allocations: 31.92 kB / 477.5 MB, free: 27.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003545/0.3697, allocations: 0.6866 MB / 478.2 MB, free: 26.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.261e-05/0.3697, allocations: 58.58 kB / 478.2 MB, free: 26.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.3698, allocations: 21.66 kB / 478.2 MB, free: 26.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.3699, allocations: 394 kB / 478.6 MB, free: 26.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003663/0.3703, allocations: 259.9 kB / 478.9 MB, free: 26.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005893/0.3709, allocations: 0.9526 MB / 479.8 MB, free: 25.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005597/0.3714, allocations: 468.7 kB / 480.3 MB, free: 25.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/0.3714, allocations: 6.062 kB / 480.3 MB, free: 25.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001428/0.3729, allocations: 1.176 MB / 481.5 MB, free: 25.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.3729, allocations: 19.12 kB / 481.5 MB, free: 25.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/0.3729, allocations: 24.41 kB / 481.5 MB, free: 25.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.363e-05/0.373, allocations: 37.62 kB / 481.5 MB, free: 25.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006022/0.3736, allocations: 250.2 kB / 481.8 MB, free: 25.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.145e-05/0.3736, allocations: 48.17 kB / 481.8 MB, free: 25.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005958/0.3742, allocations: 160 kB / 482 MB, free: 24.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.996e-05/0.3743, allocations: 64.72 kB / 482.1 MB, free: 24.96 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.0004483/0.3748, allocations: 482.6 kB / 482.5 MB, free: 24.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.469e-05/0.3748, allocations: 77.45 kB / 482.6 MB, free: 24.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000563/0.3754, allocations: 323.6 kB / 482.9 MB, free: 24.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.3754, allocations: 3.312 kB / 482.9 MB, free: 24.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3754, allocations: 0 / 482.9 MB, free: 24.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3754, allocations: 0 / 482.9 MB, free: 24.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00068/0.3761, allocations: 0.7381 MB / 483.7 MB, free: 24.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3761, allocations: 5.422 kB / 483.7 MB, free: 24.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.3763, allocations: 38.7 kB / 483.7 MB, free: 24.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.3763, allocations: 7.891 kB / 483.7 MB, free: 24.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.3763, allocations: 3.25 kB / 483.7 MB, free: 24.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3764, allocations: 3.219 kB / 483.7 MB, free: 24.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.3764, allocations: 0 / 483.7 MB, free: 24.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004461/0.3768, allocations: 394.1 kB / 484.1 MB, free: 24.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.914e-05/0.3769, allocations: 157.4 kB / 484.3 MB, free: 24.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.405e-05/0.377, allocations: 3.953 kB / 484.3 MB, free: 24.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.3772, allocations: 19.47 kB / 484.3 MB, free: 24.17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/0.3773, allocations: 15.66 kB / 484.3 MB, free: 24.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.3773, allocations: 8.906 kB / 484.3 MB, free: 24.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000577/0.3779, allocations: 0.6161 MB / 484.9 MB, free: 24.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3779, allocations: 1.641 kB / 484.9 MB, free: 24.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007455/0.3786, allocations: 218.1 kB / 485.1 MB, free: 24.04 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.0001213/0.3788, allocations: 103.4 kB / 485.2 MB, free: 23.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008343/0.3796, allocations: 0.6049 MB / 485.8 MB, free: 23.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.123e-06/0.3796, allocations: 0 / 485.8 MB, free: 23.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001896/0.3798, allocations: 113.1 kB / 485.9 MB, free: 23.87 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004667/0.3803, allocations: 76.39 kB / 486 MB, free: 23.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.3822, allocations: 1.891 MB / 487.9 MB, free: 22.94 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006258/0.3829, allocations: 1.152 MB / 489.1 MB, free: 22.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006529/0.3835, allocations: 278.6 kB / 489.3 MB, free: 22.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.3837, allocations: 54.09 kB / 489.4 MB, free: 22.2 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3837, allocations: 7.938 kB / 489.4 MB, free: 22.19 MB / 382.1 MB Notification: Performance of Templates: time 0.01139/0.3951, allocations: 5.191 MB / 494.6 MB, free: 21.8 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Arrow.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: