Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002668/0.002669, allocations: 362.9 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.432/4.432, allocations: 388.9 MB / 405.6 MB, free: 10.23 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.005166/0.005165, allocations: 231.8 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5313/0.5313, allocations: 80.02 MB / 0.5627 GB, free: 19.83 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004737/0.0004739, allocations: 11.78 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.102, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.487/0.5891, allocations: 99.57 MB / 0.7773 GB, free: 2.043 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/0.5895, allocations: 83.77 kB / 0.7774 GB, free: 2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9923/1.582, allocations: 135.9 MB / 0.9101 GB, free: 86.44 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.847e-06/1.582, allocations: 0 / 0.9101 GB, free: 86.44 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005829/1.582, allocations: 134.9 kB / 0.9103 GB, free: 86.43 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2367 * Number of variables: 2367 Notification: Performance of Generate backend data structure: time 0.03359/1.616, allocations: 7.115 MB / 0.9172 GB, free: 83.55 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/1.616, allocations: 10.95 kB / 0.9172 GB, free: 83.55 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05558/1.672, allocations: 7.023 MB / 0.9241 GB, free: 83.08 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02545/1.697, allocations: 7.409 MB / 0.9313 GB, free: 82.19 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008378/1.698, allocations: 0.5085 MB / 0.9318 GB, free: 82.17 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004433/1.703, allocations: 0.6763 MB / 0.9325 GB, free: 82.16 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05222/1.755, allocations: 16.01 MB / 0.9481 GB, free: 78.23 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000658/1.756, allocations: 93.78 kB / 0.9482 GB, free: 78.22 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00363/1.759, allocations: 332.4 kB / 0.9485 GB, free: 78.22 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003495/1.763, allocations: 1.459 MB / 0.9499 GB, free: 78.2 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03982/1.803, allocations: 12.71 MB / 0.9624 GB, free: 77.15 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1083/1.911, allocations: 70.59 MB / 1.031 GB, free: 22.94 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02397/1.935, allocations: 5.898 MB / 1.037 GB, free: 17.96 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006758/1.942, allocations: 3.076 MB / 1.04 GB, free: 15.23 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002803/1.942, allocations: 60.23 kB / 1.04 GB, free: 15.18 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.794e-05/1.942, allocations: 64.12 kB / 1.04 GB, free: 15.11 MB / 474.7 MB Notification: Performance of pre-optimization done (n=242): time 7.404e-06/1.942, allocations: 0 / 1.04 GB, free: 15.11 MB / 474.7 MB Notification: Performance of matching and sorting (n=260): time 0.1065/2.049, allocations: 22.87 MB / 1.063 GB, free: 11.13 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001706/2.049, allocations: 261.2 kB / 1.063 GB, free: 10.82 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01936/2.068, allocations: 6.89 MB / 1.069 GB, free: 4.84 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007547/2.069, allocations: 65.7 kB / 1.07 GB, free: 4.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3763/2.446, allocations: 4.853 MB / 1.074 GB, free: 96.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002033/2.448, allocations: 1.002 MB / 1.075 GB, free: 96.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001173/2.449, allocations: 171.5 kB / 1.075 GB, free: 96.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0007469/2.45, allocations: 0.6555 MB / 1.076 GB, free: 96.38 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009271/2.459, allocations: 2.868 MB / 1.079 GB, free: 96.35 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0139/2.473, allocations: 8.024 MB / 1.087 GB, free: 89.73 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01337/2.486, allocations: 4.675 MB / 1.091 GB, free: 89.71 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003761/2.487, allocations: 53.69 kB / 1.091 GB, free: 89.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=1096) (initialization): time 0.03471/2.521, allocations: 11.21 MB / 1.102 GB, free: 89.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001729/2.522, allocations: 88.09 kB / 1.102 GB, free: 89.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002693/2.522, allocations: 180.3 kB / 1.103 GB, free: 89.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002965/2.525, allocations: 0.8049 MB / 1.103 GB, free: 89.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01186/2.537, allocations: 1.926 MB / 1.105 GB, free: 88.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01288/2.55, allocations: 8.317 MB / 1.113 GB, free: 84.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01058/2.56, allocations: 462.3 kB / 1.114 GB, free: 84.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002387/2.563, allocations: 0.5009 MB / 1.114 GB, free: 84.91 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 828 * Number of states: 0 () * Number of discrete variables: 54 (worldForce2.color[3],worldForce2.color[2],worldForce2.color[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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.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 (1033): * Single equations (assignments): 1027 * 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%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009795/2.573, allocations: 3.196 MB / 1.117 GB, free: 84.62 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001611/2.574, allocations: 0.5868 MB / 1.118 GB, free: 84.39 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01307/2.587, allocations: 4.353 MB / 1.122 GB, free: 84.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.938e-05/2.588, allocations: 29.44 kB / 1.122 GB, free: 84.18 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.632e-05/2.588, allocations: 7.406 kB / 1.122 GB, free: 84.18 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.283e-05/2.588, allocations: 12.73 kB / 1.122 GB, free: 84.18 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03454/2.622, allocations: 11.23 MB / 1.133 GB, free: 81.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.974e-05/2.622, allocations: 3.438 kB / 1.133 GB, free: 81.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004213/2.627, allocations: 416.4 kB / 1.134 GB, free: 81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002536/2.629, allocations: 0.4976 MB / 1.134 GB, free: 80.87 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005824/2.63, allocations: 53.36 kB / 1.134 GB, free: 80.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01148/2.641, allocations: 7.406 MB / 1.141 GB, free: 75.36 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/2.641, allocations: 0 / 1.141 GB, free: 75.36 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01958/2.661, allocations: 7.571 MB / 1.149 GB, free: 72.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00408/2.665, allocations: 1.001 MB / 1.15 GB, free: 71.51 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002201/2.667, allocations: 46.91 kB / 1.15 GB, free: 71.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005424/2.673, allocations: 142.5 kB / 1.15 GB, free: 71.45 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001006/2.674, allocations: 150.8 kB / 1.15 GB, free: 71.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002947/2.674, allocations: 67.33 kB / 1.15 GB, free: 71.41 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0125/2.687, allocations: 4.391 MB / 1.154 GB, free: 69.96 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.242e-06/2.687, allocations: 0 / 1.154 GB, free: 69.96 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01176/2.698, allocations: 1.515 MB / 1.156 GB, free: 69.79 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (215): * Single equations (assignments): 209 * 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%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001124/2.7, allocations: 194.8 kB / 1.156 GB, free: 69.65 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01795/2.718, allocations: 7.237 MB / 1.163 GB, free: 66.97 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/2.718, allocations: 4 kB / 1.163 GB, free: 66.97 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005888/2.724, allocations: 2.438 MB / 1.166 GB, free: 65.86 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009758/2.733, allocations: 0.7847 MB / 1.166 GB, free: 65.52 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04136/2.775, allocations: 17.15 MB / 1.183 GB, free: 51.69 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01246/2.787, allocations: 5.023 MB / 1.188 GB, free: 48 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01352/2.801, allocations: 2.756 MB / 1.191 GB, free: 46.23 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002473/2.803, allocations: 393.7 kB / 1.191 GB, free: 45.86 MB / 490.7 MB Notification: Performance of SimCode: time 1.663e-06/2.803, allocations: 0 / 1.191 GB, free: 45.86 MB / 490.7 MB Notification: Performance of Templates: time 0.1616/2.965, allocations: 54.65 MB / 1.244 GB, free: 1.395 MB / 490.7 MB