Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.Forces.WorldForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces") translateModel(ModelicaTest.MultiBody.Forces.WorldForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.0008159/0.0008204, allocations: 86.72 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.0009238/0.000924, 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.51/1.51, 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.3412/0.3412, allocations: 38.03 MB / 308.4 MB, free: 10.38 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.0007757/0.0007758, allocations: 16 kB / 376.4 MB, free: 15.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1354, allocations: 57.52 MB / 434 MB, free: 5.531 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces): time 0.3206/0.4561, allocations: 102.9 MB / 0.5242 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05859/0.5147, allocations: 20.45 MB / 0.5442 GB, free: 6.473 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02931/0.5442, allocations: 482.8 kB / 0.5447 GB, free: 6.402 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01904/0.5632, allocations: 5.441 MB / 0.55 GB, free: 4.473 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04804/0.6113, allocations: 15.69 MB / 0.5653 GB, free: 5.883 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007514/0.6189, allocations: 1.088 MB / 0.5664 GB, free: 4.793 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.06834/0.6872, allocations: 51.91 MB / 0.6171 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01297/0.7002, allocations: 8.119 MB / 0.625 GB, free: 8.656 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005849/0.7061, allocations: 2.327 MB / 0.6273 GB, free: 6.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006718/0.7129, allocations: 3.785 MB / 0.631 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001448/0.7144, allocations: 275.9 kB / 0.6312 GB, free: 2.254 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003053/0.7174, allocations: 1.034 MB / 0.6322 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2838/1.001, allocations: 3.283 MB / 0.6354 GB, free: 55.13 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003193/1.004, allocations: 1.531 MB / 0.6369 GB, free: 55.1 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01327/1.018, allocations: 10.22 MB / 0.6469 GB, free: 54.46 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/1.018, allocations: 4.781 kB / 0.6469 GB, free: 54.46 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.254e-06/1.018, allocations: 0.9375 kB / 0.6469 GB, free: 54.46 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000553/1.018, allocations: 0 / 0.6469 GB, free: 54.46 MB / 494.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.02054/1.039, allocations: 7.392 MB / 0.6541 GB, free: 51.3 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/1.039, allocations: 10.48 kB / 0.6542 GB, free: 51.3 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01661/1.056, allocations: 3.369 MB / 0.6574 GB, free: 50.79 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01461/1.07, allocations: 5.352 MB / 0.6627 GB, free: 49.95 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005273/1.071, allocations: 445.1 kB / 0.6631 GB, free: 49.94 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003002/1.074, allocations: 0.5848 MB / 0.6637 GB, free: 49.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03583/1.11, allocations: 17.76 MB / 0.681 GB, free: 46.68 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003034/1.11, allocations: 85.77 kB / 0.6811 GB, free: 46.67 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001238/1.111, allocations: 280 kB / 0.6814 GB, free: 46.67 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005084/1.116, allocations: 3.419 MB / 0.6847 GB, free: 45.94 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02864/1.145, allocations: 14.85 MB / 0.6992 GB, free: 42.07 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07563/1.221, allocations: 69.02 MB / 0.7666 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0156/1.236, allocations: 7.367 MB / 0.7738 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005804/1.242, allocations: 4.425 MB / 0.7781 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002889/1.242, allocations: 66.91 kB / 0.7782 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.789e-05/1.243, allocations: 68.59 kB / 0.7783 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=307): time 6.993e-06/1.243, allocations: 0 / 0.7783 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of matching and sorting (n=340): time 0.09349/1.336, allocations: 35.23 MB / 0.8127 GB, free: 6.137 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001759/1.336, allocations: 302.5 kB / 0.8129 GB, free: 5.781 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01468/1.351, allocations: 7.426 MB / 0.8202 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009674/1.352, allocations: 71.56 kB / 0.8203 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.004197/1.356, allocations: 5.288 MB / 0.8254 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002177/1.358, allocations: 1.283 MB / 0.8267 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007134/1.359, allocations: 200 kB / 0.8269 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0004969/1.36, allocations: 0.7315 MB / 0.8276 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006196/1.366, allocations: 4.111 MB / 0.8316 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01055/1.376, allocations: 9.76 MB / 0.8411 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01016/1.387, allocations: 6.169 MB / 0.8472 GB, free: 312 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001737/1.387, allocations: 56 kB / 0.8472 GB, free: 256 kB / 0.5762 GB Notification: Performance of matching and sorting (n=1301) (initialization): time 0.2761/1.663, allocations: 15.69 MB / 0.8625 GB, free: 227 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001298/1.663, allocations: 89.62 kB / 0.8626 GB, free: 227 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003061/1.663, allocations: 195.1 kB / 0.8628 GB, free: 227 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00587/1.669, allocations: 2.345 MB / 0.8651 GB, free: 226.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008849/1.678, allocations: 2.363 MB / 0.8674 GB, free: 226.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01711/1.695, allocations: 14.51 MB / 0.8816 GB, free: 218.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009716/1.705, allocations: 0.5748 MB / 0.8821 GB, free: 218.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00331/1.708, allocations: 0.5738 MB / 0.8827 GB, free: 218.3 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 23,(1,100.0%) 14,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01078/1.719, allocations: 3.595 MB / 0.8862 GB, free: 216.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002628/1.722, allocations: 0.6312 MB / 0.8868 GB, free: 216.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01659/1.738, allocations: 8.12 MB / 0.8948 GB, free: 213.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.827e-05/1.739, allocations: 37.75 kB / 0.8948 GB, free: 213.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.052e-05/1.739, allocations: 7.625 kB / 0.8948 GB, free: 213.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.803e-05/1.739, allocations: 19.2 kB / 0.8948 GB, free: 213.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03662/1.775, allocations: 17.12 MB / 0.9115 GB, free: 204.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.056e-05/1.775, allocations: 0 / 0.9115 GB, free: 204.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003289/1.779, allocations: 0.623 MB / 0.9121 GB, free: 204.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005201/1.784, allocations: 2.003 MB / 0.9141 GB, free: 202.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001201/1.785, allocations: 59.98 kB / 0.9142 GB, free: 202.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0147/1.8, allocations: 13.56 MB / 0.9274 GB, free: 188.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.8, allocations: 0 / 0.9274 GB, free: 188.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01964/1.82, allocations: 12.93 MB / 0.94 GB, free: 175.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003794/1.823, allocations: 1.274 MB / 0.9413 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002464/1.826, allocations: 56 kB / 0.9413 GB, free: 174.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004064/1.83, allocations: 235.6 kB / 0.9415 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008285/1.831, allocations: 198.3 kB / 0.9417 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005208/1.831, allocations: 87.27 kB / 0.9418 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.009245/1.841, allocations: 4.712 MB / 0.9464 GB, free: 169 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.01e-07/1.841, allocations: 0 / 0.9464 GB, free: 169 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01192/1.853, allocations: 1.909 MB / 0.9483 GB, free: 167.1 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(1,100.0%) 11,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001265/1.854, allocations: 194.7 kB / 0.9485 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01576/1.87, allocations: 10.12 MB / 0.9584 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.483e-06/1.87, allocations: 0 / 0.9584 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005792/1.875, allocations: 3.886 MB / 0.9621 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006808/1.882, allocations: 0.8257 MB / 0.963 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03177/1.914, allocations: 20.69 MB / 0.9832 GB, free: 131.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007983/1.922, allocations: 5.464 MB / 0.9885 GB, free: 125.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.008636/1.931, allocations: 3.161 MB / 0.9916 GB, free: 122.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002135/1.933, allocations: 447.3 kB / 0.992 GB, free: 122.3 MB / 0.5762 GB Notification: Performance of SimCode: time 7.92e-07/1.933, allocations: 0 / 0.992 GB, free: 122.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.1135/2.047, allocations: 70.89 MB / 1.061 GB, free: 51.48 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) Environment - environmentSimulation: