Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.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.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004628/0.004628, allocations: 360.8 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.092/4.092, allocations: 388.9 MB / 405.6 MB, free: 9.672 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.003567/0.003566, allocations: 231.5 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.5213/0.5213, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007142/0.0007144, allocations: 8 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1299, allocations: 54.88 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4741/0.6041, allocations: 101.4 MB / 0.7791 GB, free: 164 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/0.6044, allocations: 82.14 kB / 0.7792 GB, free: 120 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.93/1.534, allocations: 131.9 MB / 0.908 GB, free: 84.82 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.446e-06/1.534, allocations: 0 / 0.908 GB, free: 84.82 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004827/1.535, allocations: 125.8 kB / 0.9081 GB, free: 84.82 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: 2410 * Number of variables: 2410 Notification: Performance of Generate backend data structure: time 0.03167/1.567, allocations: 6.696 MB / 0.9147 GB, free: 82.11 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/1.567, allocations: 8.844 kB / 0.9147 GB, free: 82.11 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04358/1.61, allocations: 5.487 MB / 0.92 GB, free: 81.65 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01978/1.63, allocations: 6.037 MB / 0.9259 GB, free: 80.87 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007078/1.631, allocations: 0.5034 MB / 0.9264 GB, free: 80.86 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003974/1.635, allocations: 0.6669 MB / 0.9271 GB, free: 80.85 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05051/1.685, allocations: 16.62 MB / 0.9433 GB, free: 77.21 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000467/1.686, allocations: 88.62 kB / 0.9434 GB, free: 77.2 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003365/1.689, allocations: 324.9 kB / 0.9437 GB, free: 77.2 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003386/1.693, allocations: 1.564 MB / 0.9452 GB, free: 77.18 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04243/1.735, allocations: 13.81 MB / 0.9587 GB, free: 77.13 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1097/1.845, allocations: 70.07 MB / 1.027 GB, free: 25.66 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03271/1.878, allocations: 7.78 MB / 1.035 GB, free: 19.4 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007845/1.886, allocations: 3.949 MB / 1.039 GB, free: 15.88 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002894/1.886, allocations: 53.23 kB / 1.039 GB, free: 15.85 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.659e-05/1.886, allocations: 63.89 kB / 1.039 GB, free: 15.78 MB / 474.7 MB Notification: Performance of pre-optimization done (n=290): time 7.284e-06/1.886, allocations: 0 / 1.039 GB, free: 15.78 MB / 474.7 MB Notification: Performance of matching and sorting (n=332): time 0.1539/2.04, allocations: 32.66 MB / 1.071 GB, free: 3.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001536/2.04, allocations: 226 kB / 1.071 GB, free: 2.754 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3672/2.407, allocations: 6.288 MB / 1.077 GB, free: 96.27 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009633/2.408, allocations: 74.91 kB / 1.077 GB, free: 96.24 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005368/2.414, allocations: 4.589 MB / 1.081 GB, free: 95.14 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002393/2.416, allocations: 1.231 MB / 1.083 GB, free: 94.56 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001794/2.418, allocations: 174.2 kB / 1.083 GB, free: 94.56 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001197/2.419, allocations: 0.6657 MB / 1.084 GB, free: 94.24 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01211/2.432, allocations: 3.794 MB / 1.087 GB, free: 94.21 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01646/2.448, allocations: 8.632 MB / 1.096 GB, free: 88.05 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01453/2.463, allocations: 5.589 MB / 1.101 GB, free: 88.02 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003701/2.463, allocations: 50 kB / 1.101 GB, free: 88.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.06958/2.533, allocations: 13.71 MB / 1.115 GB, free: 87.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001752/2.534, allocations: 77.19 kB / 1.115 GB, free: 87.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008613/2.536, allocations: 169.8 kB / 1.115 GB, free: 87.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01004/2.546, allocations: 1.654 MB / 1.116 GB, free: 87.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01871/2.564, allocations: 2.095 MB / 1.118 GB, free: 87.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0315/2.596, allocations: 11.37 MB / 1.13 GB, free: 82.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01701/2.613, allocations: 0.513 MB / 1.13 GB, free: 82.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003066/2.616, allocations: 0.5011 MB / 1.131 GB, free: 82.31 MB / 490.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.01327/2.629, allocations: 3.16 MB / 1.134 GB, free: 80.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002981/2.632, allocations: 0.5539 MB / 1.134 GB, free: 80.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03165/2.664, allocations: 7.477 MB / 1.141 GB, free: 77.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.336e-05/2.664, allocations: 35.73 kB / 1.141 GB, free: 77.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.141e-05/2.664, allocations: 7.781 kB / 1.141 GB, free: 77.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.723e-05/2.665, allocations: 20.78 kB / 1.142 GB, free: 77.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06293/2.727, allocations: 16.29 MB / 1.157 GB, free: 71.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.054e-05/2.728, allocations: 6.188 kB / 1.157 GB, free: 71.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00823/2.736, allocations: 0.6535 MB / 1.158 GB, free: 71.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008397/2.744, allocations: 1.386 MB / 1.159 GB, free: 71.51 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001219/2.746, allocations: 66.91 kB / 1.159 GB, free: 71.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02847/2.774, allocations: 10.6 MB / 1.17 GB, free: 65.78 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.086e-05/2.774, allocations: 14.16 kB / 1.17 GB, free: 65.78 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03054/2.805, allocations: 12.25 MB / 1.182 GB, free: 56.15 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004405/2.809, allocations: 1.203 MB / 1.183 GB, free: 55.04 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001928/2.811, allocations: 58.81 kB / 1.183 GB, free: 54.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005662/2.817, allocations: 264.5 kB / 1.183 GB, free: 54.82 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00095/2.818, allocations: 204.1 kB / 1.183 GB, free: 54.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004158/2.818, allocations: 87.64 kB / 1.184 GB, free: 54.61 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.009184/2.827, allocations: 3.997 MB / 1.187 GB, free: 51.33 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.032e-06/2.827, allocations: 0 / 1.187 GB, free: 51.33 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01055/2.838, allocations: 1.671 MB / 1.189 GB, free: 49.66 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.001199/2.839, allocations: 216.9 kB / 1.189 GB, free: 49.46 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02113/2.86, allocations: 9.323 MB / 1.198 GB, free: 41.31 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/2.86, allocations: 0 / 1.198 GB, free: 41.31 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01079/2.871, allocations: 3.862 MB / 1.202 GB, free: 37.95 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01323/2.885, allocations: 0.7114 MB / 1.203 GB, free: 37.34 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05922/2.944, allocations: 18.53 MB / 1.221 GB, free: 20.46 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01184/2.956, allocations: 4.987 MB / 1.226 GB, free: 16.78 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01494/2.971, allocations: 2.918 MB / 1.229 GB, free: 14.87 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003177/2.974, allocations: 400.8 kB / 1.229 GB, free: 14.51 MB / 490.7 MB Notification: Performance of SimCode: time 1.403e-06/2.974, allocations: 0 / 1.229 GB, free: 14.51 MB / 490.7 MB Notification: Performance of Templates: time 0.5738/3.548, allocations: 63.37 MB / 1.291 GB, free: 94.93 MB / 0.4949 GB