Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002836/0.002836, allocations: 348.9 kB / 15.94 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.656/3.656, allocations: 341.5 MB / 358.2 MB, free: 12.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003754/0.003754, allocations: 226 kB / 397.9 MB, free: 4.988 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.6015/0.6015, allocations: 76.1 MB / 0.5014 GB, free: 112.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006621/0.0006623, allocations: 12 kB / 0.5592 GB, free: 53.49 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1224, allocations: 48.7 MB / 0.6067 GB, free: 4.684 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4231/0.5456, allocations: 95.81 MB / 0.7003 GB, free: 16.93 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/0.546, allocations: 80.75 kB / 0.7004 GB, free: 16.85 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.054/1.6, allocations: 150.5 MB / 0.8473 GB, free: 64.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.677e-06/1.6, allocations: 0 / 0.8473 GB, free: 64.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0008348/1.601, allocations: 148 kB / 0.8475 GB, free: 63.98 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2698 * Number of variables: 2698 Notification: Performance of Generate backend data structure: time 0.04763/1.649, allocations: 7.822 MB / 0.8551 GB, free: 56.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.672e-05/1.649, allocations: 8.031 kB / 0.8551 GB, free: 56.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08039/1.729, allocations: 7.168 MB / 0.8621 GB, free: 48.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03212/1.761, allocations: 7.795 MB / 0.8697 GB, free: 40.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009931/1.762, allocations: 0.5736 MB / 0.8703 GB, free: 40.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005594/1.768, allocations: 0.773 MB / 0.871 GB, free: 39.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1047/1.873, allocations: 18.03 MB / 0.8886 GB, free: 19.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008758/1.874, allocations: 107 kB / 0.8887 GB, free: 19.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005101/1.879, allocations: 371.8 kB / 0.8891 GB, free: 19.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006417/1.885, allocations: 1.699 MB / 0.8908 GB, free: 17.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05073/1.936, allocations: 14.42 MB / 0.9048 GB, free: 3.324 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4951/2.431, allocations: 80.65 MB / 0.9836 GB, free: 20.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03004/2.461, allocations: 7.144 MB / 0.9906 GB, free: 19.43 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008861/2.47, allocations: 4.116 MB / 0.9946 GB, free: 19.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004143/2.471, allocations: 58.73 kB / 0.9947 GB, free: 19.38 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.856e-05/2.471, allocations: 74.41 kB / 0.9947 GB, free: 19.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=307): time 7.795e-06/2.471, allocations: 3.75 kB / 0.9947 GB, free: 19.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=340): time 0.1391/2.61, allocations: 32.03 MB / 1.026 GB, free: 10.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001449/2.61, allocations: 294.8 kB / 1.026 GB, free: 9.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01951/2.63, allocations: 7.383 MB / 1.034 GB, free: 7.488 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001028/2.631, allocations: 79.64 kB / 1.034 GB, free: 7.418 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005904/2.637, allocations: 5.348 MB / 1.039 GB, free: 3.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002412/2.639, allocations: 1.283 MB / 1.04 GB, free: 2.473 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001404/2.641, allocations: 191 kB / 1.04 GB, free: 2.324 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006743/2.641, allocations: 0.7165 MB / 1.041 GB, free: 1.848 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01082/2.652, allocations: 3.687 MB / 1.045 GB, free: 0.6094 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01967/2.672, allocations: 9.476 MB / 1.054 GB, free: 8.516 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01478/2.687, allocations: 5.727 MB / 1.059 GB, free: 6.285 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002718/2.687, allocations: 56 kB / 1.059 GB, free: 6.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=1247) (initialization): time 0.04462/2.732, allocations: 13.9 MB / 1.073 GB, free: 10.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002129/2.732, allocations: 88 kB / 1.073 GB, free: 10.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005011/2.733, allocations: 196 kB / 1.073 GB, free: 10.22 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006345/2.739, allocations: 1.364 MB / 1.075 GB, free: 9.156 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01574/2.755, allocations: 2.238 MB / 1.077 GB, free: 7.227 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02336/2.778, allocations: 11.27 MB / 1.088 GB, free: 12.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01259/2.791, allocations: 0.5226 MB / 1.088 GB, free: 12.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003059/2.794, allocations: 0.5638 MB / 1.089 GB, free: 11.82 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 899 * Number of states: 0 () * Number of discrete variables: 60 (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.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 (1172): * Single equations (assignments): 1166 * 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 {(1,100.0%) 13,(1,100.0%) 14,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01314/2.807, allocations: 3.59 MB / 1.092 GB, free: 8.664 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002232/2.809, allocations: 0.6479 MB / 1.093 GB, free: 8.008 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02412/2.833, allocations: 6.649 MB / 1.099 GB, free: 2.539 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-05/2.834, allocations: 36 kB / 1.1 GB, free: 2.504 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.34e-05/2.834, allocations: 13.5 kB / 1.1 GB, free: 2.492 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000102/2.834, allocations: 15.23 kB / 1.1 GB, free: 2.492 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4455/3.279, allocations: 15.58 MB / 1.115 GB, free: 113.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.184e-05/3.279, allocations: 5.484 kB / 1.115 GB, free: 113.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006401/3.286, allocations: 0.5878 MB / 1.115 GB, free: 113.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005383/3.291, allocations: 1.031 MB / 1.116 GB, free: 113.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001129/3.292, allocations: 60.91 kB / 1.116 GB, free: 113.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02719/3.32, allocations: 10.28 MB / 1.126 GB, free: 109.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/3.32, allocations: 3.375 kB / 1.126 GB, free: 109.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03746/3.357, allocations: 11.03 MB / 1.137 GB, free: 108.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005407/3.363, allocations: 1.213 MB / 1.138 GB, free: 108.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003197/3.366, allocations: 56.17 kB / 1.138 GB, free: 108.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006882/3.373, allocations: 200.6 kB / 1.139 GB, free: 108.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001368/3.374, allocations: 202.1 kB / 1.139 GB, free: 108.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006736/3.375, allocations: 85.91 kB / 1.139 GB, free: 108.6 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01452/3.389, allocations: 4.697 MB / 1.144 GB, free: 108.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.01e-07/3.39, allocations: 0.6562 kB / 1.144 GB, free: 108.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01395/3.403, allocations: 1.794 MB / 1.145 GB, free: 107.9 MB / 474.7 MB 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.001512/3.405, allocations: 207.5 kB / 1.145 GB, free: 107.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02321/3.428, allocations: 9.256 MB / 1.155 GB, free: 104.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/3.428, allocations: 0 / 1.155 GB, free: 104.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009745/3.438, allocations: 3.534 MB / 1.158 GB, free: 103.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01111/3.449, allocations: 0.8678 MB / 1.159 GB, free: 103.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05128/3.501, allocations: 20.12 MB / 1.178 GB, free: 93.32 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0155/3.516, allocations: 5.611 MB / 1.184 GB, free: 91.25 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01654/3.533, allocations: 3.161 MB / 1.187 GB, free: 89.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003194/3.536, allocations: 443 kB / 1.187 GB, free: 88.79 MB / 474.7 MB Notification: Performance of SimCode: time 1.363e-06/3.536, allocations: 0 / 1.187 GB, free: 88.79 MB / 474.7 MB Notification: Performance of Templates: time 0.1901/3.726, allocations: 66.43 MB / 1.252 GB, free: 32.05 MB / 474.7 MB