Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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.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.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003672/0.003678, allocations: 347.5 kB / 15.94 MB, free: 6.219 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.714/3.714, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.003483/0.003483, allocations: 214.2 kB / 397.9 MB, free: 4.973 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.5269/0.5269, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006431/0.0006433, allocations: 15.98 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1167, allocations: 48.7 MB / 0.6067 GB, free: 4.652 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4495/0.5662, allocations: 97.27 MB / 0.7017 GB, free: 15.42 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/0.5666, allocations: 83.95 kB / 0.7018 GB, free: 15.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9003/1.467, allocations: 147.3 MB / 0.8457 GB, free: 66.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.817e-06/1.467, allocations: 0 / 0.8457 GB, free: 66.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004947/1.467, allocations: 148 kB / 0.8458 GB, free: 65.93 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: 2756 * Number of variables: 2756 Notification: Performance of Generate backend data structure: time 0.03346/1.501, allocations: 7.667 MB / 0.8533 GB, free: 58.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/1.501, allocations: 8.031 kB / 0.8533 GB, free: 58.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0453/1.546, allocations: 5.671 MB / 0.8589 GB, free: 52.47 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02177/1.568, allocations: 6.672 MB / 0.8654 GB, free: 45.72 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008017/1.569, allocations: 0.5855 MB / 0.8659 GB, free: 45.13 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004478/1.574, allocations: 0.7692 MB / 0.8667 GB, free: 44.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06341/1.637, allocations: 18.79 MB / 0.885 GB, free: 24.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006099/1.638, allocations: 91.2 kB / 0.8851 GB, free: 23.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004491/1.642, allocations: 371.8 kB / 0.8855 GB, free: 23.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005638/1.648, allocations: 1.829 MB / 0.8873 GB, free: 21.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06199/1.71, allocations: 15.34 MB / 0.9022 GB, free: 6.398 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4773/2.187, allocations: 81.52 MB / 0.9819 GB, free: 24.31 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04055/2.228, allocations: 8.605 MB / 0.9903 GB, free: 23.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01121/2.239, allocations: 4.67 MB / 0.9948 GB, free: 23.58 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.033/2.272, allocations: 11.63 MB / 1.006 GB, free: 21.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.888e-05/2.272, allocations: 70.38 kB / 1.006 GB, free: 21.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=347): time 8.866e-06/2.272, allocations: 1.594 kB / 1.006 GB, free: 21.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=389): time 0.167/2.439, allocations: 36.44 MB / 1.042 GB, free: 8.199 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/2.44, allocations: 248.8 kB / 1.042 GB, free: 7.945 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02045/2.46, allocations: 7.342 MB / 1.049 GB, free: 4.613 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00119/2.461, allocations: 85.7 kB / 1.049 GB, free: 4.523 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005658/2.467, allocations: 5.264 MB / 1.054 GB, free: 15.8 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002972/2.47, allocations: 1.444 MB / 1.056 GB, free: 14.52 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001938/2.472, allocations: 198.5 kB / 1.056 GB, free: 14.33 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001076/2.473, allocations: 0.7254 MB / 1.057 GB, free: 13.72 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01283/2.486, allocations: 4.106 MB / 1.061 GB, free: 10.25 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01903/2.505, allocations: 9.727 MB / 1.07 GB, free: 14.84 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01725/2.522, allocations: 6.184 MB / 1.076 GB, free: 9.508 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000235/2.523, allocations: 56 kB / 1.076 GB, free: 9.453 MB / 458.7 MB Notification: Performance of matching and sorting (n=1297) (initialization): time 0.05355/2.576, allocations: 15.37 MB / 1.091 GB, free: 13.48 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001796/2.576, allocations: 88 kB / 1.091 GB, free: 13.39 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004303/2.577, allocations: 196 kB / 1.092 GB, free: 13.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007982/2.585, allocations: 1.684 MB / 1.093 GB, free: 11.94 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01783/2.603, allocations: 2.431 MB / 1.096 GB, free: 9.883 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4182/3.021, allocations: 11.43 MB / 1.107 GB, free: 110.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01264/3.034, allocations: 0.5648 MB / 1.107 GB, free: 110.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003163/3.037, allocations: 0.5747 MB / 1.108 GB, free: 110.5 MB / 474.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.01248/3.049, allocations: 3.611 MB / 1.111 GB, free: 110.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001995/3.051, allocations: 0.6487 MB / 1.112 GB, free: 110.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02807/3.08, allocations: 8.184 MB / 1.12 GB, free: 110.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001249/3.08, allocations: 43.42 kB / 1.12 GB, free: 110.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.757e-05/3.08, allocations: 6.125 kB / 1.12 GB, free: 110.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001139/3.08, allocations: 18.66 kB / 1.12 GB, free: 110.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06941/3.149, allocations: 18.24 MB / 1.138 GB, free: 109.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.54e-05/3.15, allocations: 9.875 kB / 1.138 GB, free: 109.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007978/3.157, allocations: 0.7692 MB / 1.139 GB, free: 109.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006887/3.164, allocations: 1.399 MB / 1.14 GB, free: 109.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001142/3.166, allocations: 72.22 kB / 1.14 GB, free: 109.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02207/3.188, allocations: 10.61 MB / 1.151 GB, free: 104.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/3.188, allocations: 10.75 kB / 1.151 GB, free: 104.1 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03526/3.223, allocations: 13 MB / 1.163 GB, free: 98.98 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00546/3.229, allocations: 1.319 MB / 1.165 GB, free: 98.31 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002898/3.232, allocations: 75.62 kB / 1.165 GB, free: 98.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007075/3.239, allocations: 243.5 kB / 1.165 GB, free: 98.22 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001589/3.24, allocations: 251.7 kB / 1.165 GB, free: 98.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009036/3.241, allocations: 103.6 kB / 1.165 GB, free: 98.16 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01396/3.255, allocations: 4.72 MB / 1.17 GB, free: 96.61 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.81e-07/3.255, allocations: 0 / 1.17 GB, free: 96.61 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01411/3.269, allocations: 1.869 MB / 1.172 GB, free: 96.4 MB / 474.7 MB 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.001642/3.271, allocations: 233.1 kB / 1.172 GB, free: 96.26 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02531/3.296, allocations: 10.09 MB / 1.182 GB, free: 93.13 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.491e-05/3.296, allocations: 4 kB / 1.182 GB, free: 93.13 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01181/3.308, allocations: 4.023 MB / 1.186 GB, free: 91.63 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01066/3.319, allocations: 0.8256 MB / 1.186 GB, free: 91.25 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05112/3.37, allocations: 20.99 MB / 1.207 GB, free: 72.89 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01412/3.384, allocations: 5.635 MB / 1.212 GB, free: 68.77 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01658/3.401, allocations: 3.325 MB / 1.216 GB, free: 66.61 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003751/3.405, allocations: 454 kB / 1.216 GB, free: 66.19 MB / 474.7 MB Notification: Performance of SimCode: time 1.503e-06/3.405, allocations: 0 / 1.216 GB, free: 66.19 MB / 474.7 MB Notification: Performance of Templates: time 0.5486/3.953, allocations: 70.73 MB / 1.285 GB, free: 107.2 MB / 474.7 MB