Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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.ForcesAndTorques,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.ForcesAndTorques") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002924/0.002929, allocations: 362.5 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.36/4.36, allocations: 388.9 MB / 405.6 MB, free: 10.25 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.003634/0.003634, allocations: 230 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.5977/0.5977, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004909/0.0004912, allocations: 8 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1031, allocations: 54.88 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5033/0.6065, allocations: 104.1 MB / 0.7817 GB, free: 13.61 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002952/0.6068, allocations: 82.2 kB / 0.7818 GB, free: 13.56 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9788/1.586, allocations: 147.5 MB / 0.9259 GB, free: 87.37 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.346e-06/1.586, allocations: 0 / 0.9259 GB, free: 87.37 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004766/1.586, allocations: 150.3 kB / 0.926 GB, free: 87.37 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: 2760 * Number of variables: 2760 Notification: Performance of Generate backend data structure: time 0.0317/1.618, allocations: 7.665 MB / 0.9335 GB, free: 84.25 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/1.618, allocations: 7.875 kB / 0.9335 GB, free: 84.25 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0481/1.666, allocations: 5.679 MB / 0.939 GB, free: 83.73 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02917/1.695, allocations: 6.684 MB / 0.9456 GB, free: 82.82 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001056/1.696, allocations: 0.5825 MB / 0.9461 GB, free: 82.8 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005315/1.702, allocations: 0.7668 MB / 0.9469 GB, free: 82.8 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08773/1.79, allocations: 18.8 MB / 0.9652 GB, free: 78.29 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005614/1.79, allocations: 99.38 kB / 0.9653 GB, free: 78.27 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004016/1.794, allocations: 372.5 kB / 0.9657 GB, free: 78.06 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004197/1.798, allocations: 1.833 MB / 0.9675 GB, free: 77.73 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04926/1.848, allocations: 15.34 MB / 0.9825 GB, free: 72.95 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1346/1.982, allocations: 81.58 MB / 1.062 GB, free: 14.67 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04214/2.025, allocations: 8.613 MB / 1.071 GB, free: 5.91 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01204/2.037, allocations: 4.68 MB / 1.075 GB, free: 1.215 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4049/2.442, allocations: 11.6 MB / 1.086 GB, free: 95.18 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.995e-05/2.442, allocations: 72.09 kB / 1.087 GB, free: 95.14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=347): time 7.875e-06/2.442, allocations: 3.875 kB / 1.087 GB, free: 95.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=389): time 0.1682/2.61, allocations: 36.44 MB / 1.122 GB, free: 89.13 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/2.61, allocations: 247.6 kB / 1.122 GB, free: 88.88 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01938/2.63, allocations: 7.342 MB / 1.13 GB, free: 88.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00116/2.631, allocations: 87.11 kB / 1.13 GB, free: 88.24 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005933/2.637, allocations: 5.274 MB / 1.135 GB, free: 84.31 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002742/2.64, allocations: 1.444 MB / 1.136 GB, free: 83.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002002/2.642, allocations: 195.2 kB / 1.136 GB, free: 83.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001004/2.643, allocations: 0.7289 MB / 1.137 GB, free: 82.61 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01192/2.655, allocations: 4.108 MB / 1.141 GB, free: 81.22 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01615/2.671, allocations: 9.718 MB / 1.151 GB, free: 72.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01594/2.687, allocations: 6.184 MB / 1.157 GB, free: 70.26 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002927/2.687, allocations: 55 kB / 1.157 GB, free: 70.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=1297) (initialization): time 0.04645/2.734, allocations: 15.1 MB / 1.171 GB, free: 65.23 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001759/2.734, allocations: 88.97 kB / 1.171 GB, free: 65.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003808/2.734, allocations: 200.1 kB / 1.172 GB, free: 65.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007534/2.742, allocations: 1.688 MB / 1.173 GB, free: 64.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01701/2.759, allocations: 2.423 MB / 1.176 GB, free: 64.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0226/2.782, allocations: 11.43 MB / 1.187 GB, free: 54.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01279/2.794, allocations: 0.567 MB / 1.187 GB, free: 54.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00274/2.797, allocations: 0.5766 MB / 1.188 GB, free: 53.74 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 892 * Number of states: 0 () * Number of discrete variables: 66 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1225): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01155/2.809, allocations: 3.622 MB / 1.192 GB, free: 50.56 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002102/2.811, allocations: 0.6435 MB / 1.192 GB, free: 49.91 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02655/2.838, allocations: 8.182 MB / 1.2 GB, free: 43.24 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.538e-05/2.838, allocations: 44.81 kB / 1.2 GB, free: 43.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.254e-05/2.838, allocations: 12 kB / 1.2 GB, free: 43.19 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000105/2.838, allocations: 18.23 kB / 1.2 GB, free: 43.19 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05565/2.894, allocations: 18.24 MB / 1.218 GB, free: 28.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.364e-05/2.894, allocations: 8.844 kB / 1.218 GB, free: 28.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007774/2.901, allocations: 0.7727 MB / 1.219 GB, free: 27.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006381/2.908, allocations: 1.389 MB / 1.22 GB, free: 26.79 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001136/2.909, allocations: 72.06 kB / 1.22 GB, free: 26.72 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02083/2.93, allocations: 10.62 MB / 1.231 GB, free: 17.24 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-05/2.93, allocations: 14.75 kB / 1.231 GB, free: 17.23 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03174/2.962, allocations: 13 MB / 1.243 GB, free: 4.113 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005102/2.967, allocations: 1.328 MB / 1.245 GB, free: 2.758 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002274/2.969, allocations: 64 kB / 1.245 GB, free: 2.695 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006132/2.975, allocations: 258.7 kB / 1.245 GB, free: 2.445 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001001/2.976, allocations: 234.8 kB / 1.245 GB, free: 2.211 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000442/2.977, allocations: 108 kB / 1.245 GB, free: 2.105 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01408/2.991, allocations: 4.715 MB / 1.25 GB, free: 13.42 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.132e-06/2.991, allocations: 0 / 1.25 GB, free: 13.42 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01439/3.005, allocations: 1.868 MB / 1.252 GB, free: 11.56 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (329): * Single equations (assignments): 324 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001653/3.007, allocations: 234.3 kB / 1.252 GB, free: 11.33 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.4082/3.415, allocations: 10.08 MB / 1.262 GB, free: 102 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-05/3.415, allocations: 1.281 kB / 1.262 GB, free: 102 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.01357/3.429, allocations: 4.027 MB / 1.266 GB, free: 101.8 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0115/3.441, allocations: 0.8335 MB / 1.266 GB, free: 101.7 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05886/3.5, allocations: 21 MB / 1.287 GB, free: 94.19 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01669/3.516, allocations: 5.643 MB / 1.292 GB, free: 93.29 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.01745/3.534, allocations: 3.318 MB / 1.296 GB, free: 93.06 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004058/3.538, allocations: 454 kB / 1.296 GB, free: 93.05 MB / 0.4949 GB Notification: Performance of SimCode: time 1.713e-06/3.538, allocations: 0 / 1.296 GB, free: 93.05 MB / 0.4949 GB Notification: Performance of Templates: time 0.2042/3.742, allocations: 70.74 MB / 1.365 GB, free: 67.96 MB / 0.4949 GB