Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,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.FrameForcesAndTorques2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002799/0.002799, allocations: 348.6 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.602/3.602, allocations: 341.5 MB / 358.2 MB, free: 12.55 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.003624/0.003624, allocations: 222.1 kB / 397.9 MB, free: 4.895 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.5011/0.5011, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004855/0.0004857, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09462/0.09514, allocations: 48.71 MB / 0.6067 GB, free: 4.633 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5338/0.629, allocations: 94.56 MB / 0.6991 GB, free: 18.14 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003732/0.6295, allocations: 79.91 kB / 0.6992 GB, free: 18.06 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9358/1.565, allocations: 131.7 MB / 0.8278 GB, free: 78.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.986e-06/1.565, allocations: 0 / 0.8278 GB, free: 78.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004072/1.566, allocations: 132.1 kB / 0.8279 GB, free: 78.64 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: 2406 * Number of variables: 2406 Notification: Performance of Generate backend data structure: time 0.02856/1.594, allocations: 6.681 MB / 0.8345 GB, free: 74.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/1.594, allocations: 18.67 kB / 0.8345 GB, free: 74.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04288/1.637, allocations: 5.487 MB / 0.8398 GB, free: 71.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01956/1.657, allocations: 6.023 MB / 0.8457 GB, free: 65.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006646/1.658, allocations: 0.5065 MB / 0.8462 GB, free: 64.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003905/1.662, allocations: 0.6724 MB / 0.8469 GB, free: 64.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06711/1.729, allocations: 16.61 MB / 0.8631 GB, free: 46.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004719/1.729, allocations: 87.17 kB / 0.8632 GB, free: 46.13 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003363/1.733, allocations: 321.2 kB / 0.8635 GB, free: 45.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003237/1.736, allocations: 1.565 MB / 0.865 GB, free: 44.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04206/1.778, allocations: 13.81 MB / 0.8785 GB, free: 30.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4786/2.257, allocations: 70 MB / 0.9468 GB, free: 41.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0347/2.291, allocations: 7.787 MB / 0.9544 GB, free: 41.05 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008872/2.3, allocations: 3.925 MB / 0.9583 GB, free: 41.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002891/2.301, allocations: 61.92 kB / 0.9583 GB, free: 41.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.831e-05/2.301, allocations: 63.97 kB / 0.9584 GB, free: 40.97 MB / 426.7 MB Notification: Performance of pre-optimization done (n=290): time 7.434e-06/2.301, allocations: 0 / 0.9584 GB, free: 40.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=332): time 0.1543/2.455, allocations: 32.67 MB / 0.9903 GB, free: 36.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/2.455, allocations: 215.3 kB / 0.9905 GB, free: 35.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0163/2.472, allocations: 6.296 MB / 0.9967 GB, free: 33.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009893/2.473, allocations: 80.52 kB / 0.9967 GB, free: 33.79 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004452/2.477, allocations: 4.584 MB / 1.001 GB, free: 30.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002149/2.479, allocations: 1.232 MB / 1.002 GB, free: 29.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001401/2.481, allocations: 172.5 kB / 1.003 GB, free: 29.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007505/2.482, allocations: 0.666 MB / 1.003 GB, free: 28.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009943/2.491, allocations: 3.795 MB / 1.007 GB, free: 27.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01355/2.505, allocations: 8.633 MB / 1.015 GB, free: 19.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01309/2.518, allocations: 5.582 MB / 1.021 GB, free: 17.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001949/2.518, allocations: 50.41 kB / 1.021 GB, free: 17.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.03842/2.557, allocations: 13.71 MB / 1.034 GB, free: 6.637 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000125/2.557, allocations: 76 kB / 1.034 GB, free: 6.562 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002946/2.557, allocations: 169.3 kB / 1.034 GB, free: 6.398 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007011/2.564, allocations: 1.652 MB / 1.036 GB, free: 5.164 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01427/2.579, allocations: 2.092 MB / 1.038 GB, free: 3.402 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02409/2.603, allocations: 11.38 MB / 1.049 GB, free: 9.207 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01141/2.614, allocations: 0.5233 MB / 1.05 GB, free: 8.773 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002497/2.617, allocations: 0.4991 MB / 1.05 GB, free: 8.293 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 770 * Number of states: 0 () * Number of discrete variables: 51 (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],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.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 (1047): * Single equations (assignments): 1042 * 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.01044/2.627, allocations: 3.149 MB / 1.053 GB, free: 5.523 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001907/2.629, allocations: 0.5515 MB / 1.054 GB, free: 4.965 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02815/2.657, allocations: 7.556 MB / 1.061 GB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.666e-05/2.658, allocations: 36.66 kB / 1.061 GB, free: 14.62 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-05/2.658, allocations: 12 kB / 1.061 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.961e-05/2.658, allocations: 19.94 kB / 1.061 GB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05384/2.712, allocations: 16.29 MB / 1.077 GB, free: 14.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.606e-05/2.712, allocations: 4 kB / 1.077 GB, free: 14.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007211/2.719, allocations: 0.6498 MB / 1.078 GB, free: 13.58 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007138/2.726, allocations: 1.399 MB / 1.079 GB, free: 12.18 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009776/2.727, allocations: 61.47 kB / 1.079 GB, free: 12.12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02414/2.751, allocations: 10.61 MB / 1.09 GB, free: 1.262 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.055e-05/2.751, allocations: 7.938 kB / 1.09 GB, free: 1.254 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03532/2.787, allocations: 12.25 MB / 1.102 GB, free: 4.863 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004919/2.792, allocations: 1.2 MB / 1.103 GB, free: 3.637 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002096/2.794, allocations: 60.53 kB / 1.103 GB, free: 3.578 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006413/2.8, allocations: 264.3 kB / 1.103 GB, free: 3.32 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001286/2.802, allocations: 205.8 kB / 1.103 GB, free: 3.117 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004651/2.802, allocations: 89.62 kB / 1.103 GB, free: 3.031 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.3451/3.147, allocations: 3.997 MB / 1.107 GB, free: 137.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.61e-07/3.147, allocations: 2.094 kB / 1.107 GB, free: 137.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01262/3.16, allocations: 1.665 MB / 1.109 GB, free: 137.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (278): * Single equations (assignments): 273 * 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.001454/3.161, allocations: 210 kB / 1.109 GB, free: 137.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02632/3.188, allocations: 9.323 MB / 1.118 GB, free: 136.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/3.188, allocations: 7.688 kB / 1.118 GB, free: 136.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01207/3.2, allocations: 3.848 MB / 1.122 GB, free: 136.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009561/3.21, allocations: 0.7179 MB / 1.123 GB, free: 136.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05019/3.26, allocations: 18.52 MB / 1.141 GB, free: 130 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01368/3.274, allocations: 4.991 MB / 1.146 GB, free: 129.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01518/3.289, allocations: 2.923 MB / 1.148 GB, free: 128.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003611/3.292, allocations: 392.5 kB / 1.149 GB, free: 128.8 MB / 490.7 MB Notification: Performance of SimCode: time 2.324e-06/3.292, allocations: 3.812 kB / 1.149 GB, free: 128.8 MB / 490.7 MB Notification: Performance of Templates: time 0.1753/3.468, allocations: 63.37 MB / 1.211 GB, free: 95.29 MB / 490.7 MB