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.000997/0.000997, allocations: 98.03 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.005492/0.005492, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.434/1.434, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.3197/0.3197, allocations: 38.05 MB / 308.8 MB, free: 10.11 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.00056/0.0005602, allocations: 24 kB / 377 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1226, allocations: 57.51 MB / 434.6 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.01788/0.1405, allocations: 20.33 MB / 454.9 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2245/0.3651, allocations: 4.291 MB / 459.2 MB, free: 33.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002998/0.3681, allocations: 77.62 kB / 459.3 MB, free: 33.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004443/0.3686, allocations: 110.7 kB / 459.4 MB, free: 33.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007512/0.3693, allocations: 292.7 kB / 459.7 MB, free: 33.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.3696, allocations: 43.95 kB / 459.7 MB, free: 33.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008138/0.3704, allocations: 0.9276 MB / 460.6 MB, free: 33.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001223/0.3716, allocations: 0.8871 MB / 461.5 MB, free: 32.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003159/0.3719, allocations: 228.2 kB / 461.7 MB, free: 32.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004734/0.3724, allocations: 387.4 kB / 462.1 MB, free: 32.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.192e-05/0.3725, allocations: 26.53 kB / 462.1 MB, free: 32.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002145/0.3727, allocations: 83.59 kB / 462.2 MB, free: 32.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002427/0.373, allocations: 348 kB / 462.6 MB, free: 32.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002849/0.3733, allocations: 443.1 kB / 463 MB, free: 32.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009383/0.3742, allocations: 1.178 MB / 464.2 MB, free: 32.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3742, allocations: 0.5 kB / 464.2 MB, free: 32.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.3742, allocations: 0 / 464.2 MB, free: 32.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.3742, allocations: 0 / 464.2 MB, free: 32.43 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.001462/0.3757, allocations: 1.031 MB / 465.2 MB, free: 31.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.3758, allocations: 8.688 kB / 465.2 MB, free: 31.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007899/0.3766, allocations: 157.3 kB / 465.4 MB, free: 31.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005835/0.3772, allocations: 0.4946 MB / 465.9 MB, free: 31.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.248e-05/0.3772, allocations: 44.72 kB / 465.9 MB, free: 31.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.955e-05/0.3773, allocations: 61.38 kB / 466 MB, free: 31.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/0.3791, allocations: 1.759 MB / 467.7 MB, free: 30.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/0.3792, allocations: 7.188 kB / 467.7 MB, free: 30.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.473e-05/0.3792, allocations: 27.89 kB / 467.8 MB, free: 30.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005775/0.3798, allocations: 408 kB / 468.2 MB, free: 30.94 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/0.3814, allocations: 1.203 MB / 469.4 MB, free: 30.89 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004805/0.3862, allocations: 6.602 MB / 476 MB, free: 26.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003558/0.3866, allocations: 178.5 kB / 476.1 MB, free: 26.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/0.3868, allocations: 99.86 kB / 476.2 MB, free: 26.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.3868, allocations: 5.766 kB / 476.2 MB, free: 26.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.3869, allocations: 42.55 kB / 476.3 MB, free: 26.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 2.284e-06/0.3869, allocations: 0 / 476.3 MB, free: 26.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007367/0.3876, allocations: 379 kB / 476.6 MB, free: 26.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.3877, allocations: 62.2 kB / 476.7 MB, free: 26.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009023/0.3886, allocations: 0.9608 MB / 477.7 MB, free: 25.69 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.3886, allocations: 28.45 kB / 477.7 MB, free: 25.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002835/0.3889, allocations: 0.692 MB / 478.4 MB, free: 25.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.598e-05/0.3889, allocations: 60.16 kB / 478.4 MB, free: 25.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.262e-05/0.389, allocations: 95.88 kB / 478.5 MB, free: 25.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.701e-05/0.3891, allocations: 393 kB / 478.9 MB, free: 24.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003666/0.3895, allocations: 275.8 kB / 479.2 MB, free: 24.6 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000583/0.3901, allocations: 0.9506 MB / 480.1 MB, free: 23.56 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.3911, allocations: 1.303 MB / 481.4 MB, free: 22.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.3911, allocations: 10.31 kB / 481.5 MB, free: 22.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001531/0.3927, allocations: 1.181 MB / 482.6 MB, free: 21.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.3927, allocations: 20.44 kB / 482.7 MB, free: 21.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.396e-05/0.3927, allocations: 24.47 kB / 482.7 MB, free: 21.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.95e-05/0.3928, allocations: 34.47 kB / 482.7 MB, free: 21.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006093/0.3934, allocations: 250.3 kB / 483 MB, free: 21.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.101e-05/0.3934, allocations: 43.67 kB / 483 MB, free: 21.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006351/0.3941, allocations: 166.4 kB / 483.2 MB, free: 21.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-05/0.3941, allocations: 65.84 kB / 483.2 MB, free: 21.7 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.0004982/0.3946, allocations: 470.7 kB / 483.7 MB, free: 21.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.293e-05/0.3947, allocations: 81.05 kB / 483.8 MB, free: 21.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005872/0.3953, allocations: 333.1 kB / 484.1 MB, free: 21.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.3953, allocations: 0 / 484.1 MB, free: 21.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3953, allocations: 4 kB / 484.1 MB, free: 21.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.3954, allocations: 0 / 484.1 MB, free: 21.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006974/0.3961, allocations: 0.7353 MB / 484.8 MB, free: 20.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3961, allocations: 0 / 484.8 MB, free: 20.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.3962, allocations: 32.03 kB / 484.9 MB, free: 20.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.3962, allocations: 6.969 kB / 484.9 MB, free: 20.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.3963, allocations: 7.469 kB / 484.9 MB, free: 20.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.3963, allocations: 3.25 kB / 484.9 MB, free: 20.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3963, allocations: 0 / 484.9 MB, free: 20.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005106/0.3968, allocations: 396.3 kB / 485.3 MB, free: 20.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.3969, allocations: 163.8 kB / 485.4 MB, free: 20.51 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.137e-05/0.397, allocations: 3.516 kB / 485.4 MB, free: 20.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.3972, allocations: 16.86 kB / 485.4 MB, free: 20.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.189e-05/0.3973, allocations: 13.05 kB / 485.5 MB, free: 20.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.3973, allocations: 3.25 kB / 485.5 MB, free: 20.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000542/0.3978, allocations: 0.6242 MB / 486.1 MB, free: 20.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3979, allocations: 3.938 kB / 486.1 MB, free: 20.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000748/0.3986, allocations: 221.2 kB / 486.3 MB, free: 20.2 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.0001144/0.3987, allocations: 97.62 kB / 486.4 MB, free: 20.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008284/0.3996, allocations: 0.6095 MB / 487 MB, free: 19.92 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3996, allocations: 7.062 kB / 487 MB, free: 19.92 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.3998, allocations: 115.3 kB / 487.1 MB, free: 19.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005119/0.4003, allocations: 79.92 kB / 487.2 MB, free: 19.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.4024, allocations: 1.983 MB / 489.2 MB, free: 18.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005325/0.403, allocations: 1.155 MB / 490.3 MB, free: 17.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005958/0.4036, allocations: 273.6 kB / 490.6 MB, free: 17.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.4037, allocations: 48 kB / 490.7 MB, free: 17.86 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4037, allocations: 0 / 490.7 MB, free: 17.86 MB / 382.1 MB Notification: Performance of Templates: time 0.01099/0.4147, allocations: 5.302 MB / 496 MB, free: 17.49 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: