Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces.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.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.2_ModelicaTest.MultiBody.Forces.WorldForces") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002659/0.002663, allocations: 359 kB / 15.95 MB, free: 6.207 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.166/4.166, allocations: 388.9 MB / 405.6 MB, free: 9.586 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.004843/0.004843, allocations: 223.4 kB / 451 MB, free: 145 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.5268/0.5268, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000464/0.0004644, allocations: 15.98 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1026, allocations: 54.86 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5094/0.612, allocations: 102.6 MB / 0.7803 GB, free: 14.96 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/0.6124, allocations: 82.22 kB / 0.7804 GB, free: 14.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.021/1.633, allocations: 150.6 MB / 0.9275 GB, free: 87.35 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.986e-06/1.633, allocations: 0 / 0.9275 GB, free: 87.35 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005466/1.634, allocations: 148.3 kB / 0.9276 GB, free: 87.34 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: 2702 * Number of variables: 2702 Notification: Performance of Generate backend data structure: time 0.03439/1.668, allocations: 7.819 MB / 0.9353 GB, free: 84.19 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/1.668, allocations: 9.125 kB / 0.9353 GB, free: 84.19 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05673/1.725, allocations: 7.16 MB / 0.9423 GB, free: 83.66 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02689/1.752, allocations: 7.806 MB / 0.9499 GB, free: 82.7 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000875/1.753, allocations: 0.5746 MB / 0.9505 GB, free: 82.69 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004989/1.758, allocations: 0.7676 MB / 0.9512 GB, free: 82.68 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05633/1.814, allocations: 18.05 MB / 0.9688 GB, free: 77.05 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005984/1.815, allocations: 106.9 kB / 0.9689 GB, free: 77.04 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003861/1.819, allocations: 374.4 kB / 0.9693 GB, free: 76.83 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003931/1.823, allocations: 1.69 MB / 0.9709 GB, free: 76.53 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04447/1.867, allocations: 14.44 MB / 0.985 GB, free: 71.89 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.123/1.99, allocations: 80.71 MB / 1.064 GB, free: 12.55 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.042/2.032, allocations: 7.137 MB / 1.071 GB, free: 5.254 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0136/2.046, allocations: 4.125 MB / 1.075 GB, free: 1.121 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004561/2.047, allocations: 60.23 kB / 1.075 GB, free: 1.082 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001112/2.047, allocations: 72.62 kB / 1.075 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of pre-optimization done (n=307): time 1.1e-05/2.047, allocations: 0 / 1.075 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of matching and sorting (n=340): time 0.6118/2.659, allocations: 32.03 MB / 1.106 GB, free: 88.98 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001925/2.659, allocations: 293.1 kB / 1.107 GB, free: 88.67 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02872/2.688, allocations: 7.377 MB / 1.114 GB, free: 88.13 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001252/2.689, allocations: 80.86 kB / 1.114 GB, free: 88.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.008679/2.698, allocations: 5.355 MB / 1.119 GB, free: 85.62 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002973/2.701, allocations: 1.279 MB / 1.12 GB, free: 84.88 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001945/2.703, allocations: 192.2 kB / 1.12 GB, free: 84.88 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001218/2.704, allocations: 0.7207 MB / 1.121 GB, free: 84.55 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01462/2.719, allocations: 3.684 MB / 1.125 GB, free: 84.53 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02104/2.74, allocations: 9.31 MB / 1.134 GB, free: 77.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01984/2.76, allocations: 5.732 MB / 1.139 GB, free: 75.14 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002964/2.76, allocations: 55.5 kB / 1.14 GB, free: 75.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=1247) (initialization): time 0.05673/2.817, allocations: 13.89 MB / 1.153 GB, free: 70.53 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002696/2.817, allocations: 88.16 kB / 1.153 GB, free: 70.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006142/2.818, allocations: 200 kB / 1.153 GB, free: 70.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00863/2.826, allocations: 1.366 MB / 1.155 GB, free: 70.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02141/2.848, allocations: 2.244 MB / 1.157 GB, free: 70.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02972/2.878, allocations: 11.26 MB / 1.168 GB, free: 63.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01836/2.896, allocations: 0.5268 MB / 1.168 GB, free: 62.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003652/2.9, allocations: 0.5697 MB / 1.169 GB, free: 62.82 MB / 490.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.016/2.916, allocations: 3.58 MB / 1.172 GB, free: 61.16 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002851/2.919, allocations: 0.6462 MB / 1.173 GB, free: 60.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02892/2.948, allocations: 6.653 MB / 1.18 GB, free: 58.27 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.97e-05/2.948, allocations: 40.81 kB / 1.18 GB, free: 58.23 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.836e-05/2.948, allocations: 17.84 kB / 1.18 GB, free: 58.22 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000151/2.948, allocations: 14.44 kB / 1.18 GB, free: 58.22 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0477/2.996, allocations: 15.44 MB / 1.195 GB, free: 45.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-05/2.996, allocations: 0 / 1.195 GB, free: 45.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006305/3.002, allocations: 0.5907 MB / 1.195 GB, free: 45.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005002/3.007, allocations: 1.041 MB / 1.196 GB, free: 44.51 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009982/3.008, allocations: 63.72 kB / 1.196 GB, free: 44.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01848/3.027, allocations: 10.26 MB / 1.206 GB, free: 34.96 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/3.027, allocations: 0 / 1.206 GB, free: 34.96 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02854/3.055, allocations: 11.03 MB / 1.217 GB, free: 25.32 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005009/3.06, allocations: 1.205 MB / 1.218 GB, free: 24.19 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00249/3.063, allocations: 61.11 kB / 1.218 GB, free: 24.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006517/3.07, allocations: 193.9 kB / 1.219 GB, free: 24.01 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001241/3.071, allocations: 207.1 kB / 1.219 GB, free: 23.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003907/3.071, allocations: 86.83 kB / 1.219 GB, free: 23.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01275/3.084, allocations: 4.689 MB / 1.223 GB, free: 19.97 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.203e-06/3.084, allocations: 0 / 1.223 GB, free: 19.97 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01407/3.098, allocations: 1.791 MB / 1.225 GB, free: 18.19 MB / 490.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.001438/3.1, allocations: 209.7 kB / 1.225 GB, free: 17.99 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02276/3.122, allocations: 9.266 MB / 1.234 GB, free: 9.82 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/3.122, allocations: 0 / 1.234 GB, free: 9.82 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009191/3.132, allocations: 3.542 MB / 1.238 GB, free: 6.684 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01104/3.143, allocations: 0.8704 MB / 1.239 GB, free: 5.941 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05388/3.197, allocations: 20.14 MB / 1.258 GB, free: 3.539 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.407/3.604, allocations: 5.603 MB / 1.264 GB, free: 96.79 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.01829/3.622, allocations: 3.169 MB / 1.267 GB, free: 96.72 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003801/3.626, allocations: 442.4 kB / 1.267 GB, free: 96.72 MB / 0.4949 GB Notification: Performance of SimCode: time 1.743e-06/3.626, allocations: 0 / 1.267 GB, free: 96.72 MB / 0.4949 GB Notification: Performance of Templates: time 0.1989/3.825, allocations: 66.43 MB / 1.332 GB, free: 87.37 MB / 0.4949 GB