Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces.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.Forces.WorldForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces") translateModel(ModelicaTest.MultiBody.Forces.WorldForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009331/0.0009333, allocations: 92.78 kB / 15.36 MB, free: 0.7383 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.007125/0.007124, allocations: 173.2 kB / 16.26 MB, free: 6.613 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.805/1.805, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.3775/0.3775, allocations: 40 MB / 310.7 MB, free: 9.598 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.000612/0.000612, allocations: 20.66 kB / 379.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1497, allocations: 57.96 MB / 437.4 MB, free: 1.918 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces): time 0.3322/0.482, allocations: 110.7 MB / 0.5353 GB, free: 10.33 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05751/0.5395, allocations: 21.26 MB / 0.556 GB, free: 12.08 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03273/0.5723, allocations: 482.8 kB / 0.5565 GB, free: 12.01 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003304/0.5757, allocations: 0.7056 MB / 0.5572 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0094/0.5851, allocations: 2.842 MB / 0.56 GB, free: 9.539 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003135/0.5882, allocations: 1.085 MB / 0.561 GB, free: 8.703 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01784/0.6061, allocations: 12.09 MB / 0.5728 GB, free: 12.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0146/0.6208, allocations: 9.473 MB / 0.5821 GB, free: 3.113 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005348/0.6262, allocations: 2.143 MB / 0.5842 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006941/0.6331, allocations: 3.815 MB / 0.5879 GB, free: 13.13 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001569/0.6347, allocations: 276 kB / 0.5882 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003597/0.6384, allocations: 1.19 MB / 0.5893 GB, free: 11.67 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004965/0.6433, allocations: 3.35 MB / 0.5926 GB, free: 8.312 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00715/0.6505, allocations: 3.724 MB / 0.5962 GB, free: 4.559 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01436/0.6649, allocations: 12.25 MB / 0.6082 GB, free: 8.262 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.665, allocations: 0 / 0.6082 GB, free: 8.262 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.665, allocations: 0 / 0.6082 GB, free: 8.262 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005621/0.6655, allocations: 0 / 0.6082 GB, free: 8.262 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2705 * Number of variables: 2705 Notification: Performance of Generate backend data structure: time 0.02109/0.6866, allocations: 7.29 MB / 0.6153 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.6867, allocations: 8.031 kB / 0.6153 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01726/0.704, allocations: 3.367 MB / 0.6186 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01179/0.7158, allocations: 5.459 MB / 0.6239 GB, free: 7.957 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005279/0.7164, allocations: 447.7 kB / 0.6244 GB, free: 7.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003074/0.7195, allocations: 0.5776 MB / 0.6249 GB, free: 6.941 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4817/1.201, allocations: 17.8 MB / 0.6423 GB, free: 139 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002822/1.202, allocations: 81.45 kB / 0.6424 GB, free: 138.9 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008773/1.202, allocations: 282.7 kB / 0.6427 GB, free: 138.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004973/1.207, allocations: 3.421 MB / 0.646 GB, free: 138.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0283/1.236, allocations: 14.93 MB / 0.6606 GB, free: 133.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.083/1.319, allocations: 69.06 MB / 0.728 GB, free: 81.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01577/1.335, allocations: 7.372 MB / 0.7352 GB, free: 74.21 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005041/1.34, allocations: 4.44 MB / 0.7396 GB, free: 69.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002776/1.34, allocations: 65.58 kB / 0.7396 GB, free: 69.71 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/1.34, allocations: 64.69 kB / 0.7397 GB, free: 69.64 MB / 494.1 MB Notification: Performance of pre-optimization done (n=307): time 5.921e-06/1.34, allocations: 0 / 0.7397 GB, free: 69.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=340): time 0.08018/1.42, allocations: 35.29 MB / 0.7741 GB, free: 34.03 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.905e-05/1.42, allocations: 295.4 kB / 0.7744 GB, free: 33.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01036/1.431, allocations: 7.467 MB / 0.7817 GB, free: 26.23 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001104/1.432, allocations: 77.7 kB / 0.7818 GB, free: 26.15 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002921/1.435, allocations: 5.28 MB / 0.7869 GB, free: 20.88 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001548/1.436, allocations: 1.291 MB / 0.7882 GB, free: 19.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00105/1.437, allocations: 0.8562 MB / 0.789 GB, free: 18.73 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.756e-05/1.437, allocations: 301.1 kB / 0.7893 GB, free: 18.44 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005364/1.443, allocations: 4.15 MB / 0.7934 GB, free: 14.28 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009067/1.452, allocations: 9.801 MB / 0.803 GB, free: 1.715 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01935/1.471, allocations: 14.94 MB / 0.8176 GB, free: 20 kB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.2271/1.698, allocations: 58.48 kB / 0.8176 GB, free: 140.1 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1301) (initialization): time 0.0305/1.729, allocations: 15.77 MB / 0.833 GB, free: 138.1 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001338/1.729, allocations: 86.47 kB / 0.8331 GB, free: 138.1 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003142/1.729, allocations: 198.6 kB / 0.8333 GB, free: 138.1 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006024/1.735, allocations: 2.313 MB / 0.8355 GB, free: 137.7 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008947/1.744, allocations: 2.366 MB / 0.8378 GB, free: 137.4 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02038/1.765, allocations: 14.53 MB / 0.852 GB, free: 129.6 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009557/1.774, allocations: 0.5769 MB / 0.8526 GB, free: 129.4 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002744/1.777, allocations: 0.5728 MB / 0.8532 GB, free: 129.3 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 896 * Number of states: 0 () * Number of discrete variables: 63 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1226): * Single equations (assignments): 1220 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,23,100.0%), (1,14,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009063/1.786, allocations: 3.592 MB / 0.8567 GB, free: 127.8 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002034/1.788, allocations: 0.6348 MB / 0.8573 GB, free: 127.7 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01927/1.808, allocations: 8.121 MB / 0.8652 GB, free: 124.9 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001137/1.808, allocations: 39.23 kB / 0.8652 GB, free: 124.9 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001026/1.808, allocations: 12.03 kB / 0.8653 GB, free: 124.9 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001198/1.808, allocations: 17.84 kB / 0.8653 GB, free: 124.9 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04496/1.853, allocations: 17.14 MB / 0.882 GB, free: 118.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-05/1.853, allocations: 0 / 0.882 GB, free: 118.7 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003555/1.857, allocations: 0.6274 MB / 0.8826 GB, free: 118.3 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005583/1.862, allocations: 2.011 MB / 0.8846 GB, free: 116.9 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009705/1.863, allocations: 63.84 kB / 0.8847 GB, free: 116.8 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0167/1.88, allocations: 13.55 MB / 0.8979 GB, free: 103.9 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.88, allocations: 0 / 0.8979 GB, free: 103.9 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02461/1.905, allocations: 12.96 MB / 0.9105 GB, free: 91.11 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00463/1.909, allocations: 1.285 MB / 0.9118 GB, free: 89.8 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002316/1.912, allocations: 63.92 kB / 0.9119 GB, free: 89.74 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004451/1.916, allocations: 233.4 kB / 0.9121 GB, free: 89.51 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001156/1.917, allocations: 198.3 kB / 0.9123 GB, free: 89.32 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005884/1.918, allocations: 91.73 kB / 0.9124 GB, free: 89.23 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.009067/1.927, allocations: 4.759 MB / 0.917 GB, free: 84.5 MB / 0.4982 GB Notification: Performance of sort global known variables: time 2.51e-07/1.927, allocations: 0 / 0.917 GB, free: 84.5 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01092/1.938, allocations: 1.897 MB / 0.9189 GB, free: 82.61 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * 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 (286): * Single equations (assignments): 280 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(4,18,75.0%), (1,11,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001259/1.939, allocations: 210.5 kB / 0.9191 GB, free: 82.41 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01662/1.956, allocations: 10.16 MB / 0.929 GB, free: 72.29 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/1.956, allocations: 5.5 kB / 0.929 GB, free: 72.28 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.006074/1.962, allocations: 3.894 MB / 0.9328 GB, free: 68.35 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008484/1.971, allocations: 0.8215 MB / 0.9336 GB, free: 67.55 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03118/2.002, allocations: 21.58 MB / 0.9547 GB, free: 45.93 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00784/2.01, allocations: 5.459 MB / 0.96 GB, free: 40.45 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.009504/2.019, allocations: 3.169 MB / 0.9631 GB, free: 37.27 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002411/2.022, allocations: 443.3 kB / 0.9635 GB, free: 36.84 MB / 0.4982 GB Notification: Performance of SimCode: time 1.282e-06/2.022, allocations: 0 / 0.9635 GB, free: 36.84 MB / 0.4982 GB Notification: Performance of Templates: time 0.3914/2.413, allocations: 72.43 MB / 1.034 GB, free: 127.5 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) Environment - environmentSimulation: