Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002775/0.002781, allocations: 363.1 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.047/4.047, allocations: 388.9 MB / 405.6 MB, free: 9.578 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.003514/0.003514, allocations: 229.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.6184/0.6184, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000677/0.0006773, allocations: 16 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1047, allocations: 54.86 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4752/0.5799, allocations: 99.1 MB / 0.7769 GB, free: 2.441 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/0.5803, allocations: 82.66 kB / 0.7769 GB, free: 2.398 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2759/0.8562, allocations: 65.8 MB / 0.8412 GB, free: 8.277 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.8562, allocations: 0 / 0.8412 GB, free: 8.277 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001943/0.8564, allocations: 64 kB / 0.8413 GB, free: 8.215 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1328 * Number of variables: 1328 Notification: Performance of Generate backend data structure: time 0.01311/0.8696, allocations: 3.187 MB / 0.8444 GB, free: 4.965 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.8696, allocations: 8.031 kB / 0.8444 GB, free: 4.957 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01574/0.8854, allocations: 1.941 MB / 0.8463 GB, free: 3.008 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007342/0.8928, allocations: 2.036 MB / 0.8483 GB, free: 0.9297 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004451/0.8933, allocations: 279.4 kB / 0.8485 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002279/0.8956, allocations: 363.9 kB / 0.8489 GB, free: 308 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02816/0.9238, allocations: 8.11 MB / 0.8568 GB, free: 7.797 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001601/0.924, allocations: 19.81 kB / 0.8568 GB, free: 7.777 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001854/0.9259, allocations: 171.9 kB / 0.857 GB, free: 7.609 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002107/0.928, allocations: 0.8105 MB / 0.8578 GB, free: 6.797 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02307/0.9511, allocations: 6.955 MB / 0.8646 GB, free: 15.82 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06244/1.014, allocations: 27.47 MB / 0.8914 GB, free: 3.633 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009831/1.023, allocations: 2.55 MB / 0.8939 GB, free: 0.957 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3442/1.368, allocations: 0.9669 MB / 0.8948 GB, free: 121.5 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01401/1.382, allocations: 4.447 MB / 0.8992 GB, free: 120.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.238e-05/1.382, allocations: 45.84 kB / 0.8992 GB, free: 120.4 MB / 474.7 MB Notification: Performance of pre-optimization done (n=120): time 5.2e-06/1.382, allocations: 0 / 0.8992 GB, free: 120.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=120): time 0.01383/1.396, allocations: 2.718 MB / 0.9019 GB, free: 120.4 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/1.396, allocations: 63.55 kB / 0.9019 GB, free: 120.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00551/1.401, allocations: 2.205 MB / 0.9041 GB, free: 120.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002537/1.402, allocations: 42.31 kB / 0.9041 GB, free: 120 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002335/1.404, allocations: 2.306 MB / 0.9064 GB, free: 119 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008681/1.405, allocations: 466.8 kB / 0.9068 GB, free: 118.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003688/1.405, allocations: 71.66 kB / 0.9069 GB, free: 118.7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003096/1.406, allocations: 465.7 kB / 0.9073 GB, free: 118.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003212/1.409, allocations: 1.075 MB / 0.9084 GB, free: 118.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005473/1.414, allocations: 3.203 MB / 0.9115 GB, free: 115.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005326/1.42, allocations: 1.854 MB / 0.9133 GB, free: 115.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000152/1.42, allocations: 22.59 kB / 0.9133 GB, free: 115.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=468) (initialization): time 0.01319/1.433, allocations: 4.194 MB / 0.9174 GB, free: 115.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.906e-05/1.433, allocations: 41.31 kB / 0.9175 GB, free: 115.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001187/1.433, allocations: 74.28 kB / 0.9175 GB, free: 115.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001351/1.434, allocations: 110.8 kB / 0.9177 GB, free: 115.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005246/1.439, allocations: 0.8086 MB / 0.9184 GB, free: 115.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000168/1.439, allocations: 146.1 kB / 0.9186 GB, free: 115.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004157/1.443, allocations: 492.8 kB / 0.9191 GB, free: 115.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008786/1.444, allocations: 220.4 kB / 0.9193 GB, free: 115.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 342 * Number of states: 0 () * Number of discrete variables: 27 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (444): * Single equations (assignments): 441 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004345/1.449, allocations: 1.697 MB / 0.9209 GB, free: 114.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004755/1.449, allocations: 190.6 kB / 0.9211 GB, free: 114.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00413/1.453, allocations: 1.51 MB / 0.9226 GB, free: 114.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.433e-05/1.453, allocations: 17.75 kB / 0.9226 GB, free: 114.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/1.453, allocations: 2.25 kB / 0.9226 GB, free: 114.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.067e-05/1.453, allocations: 6.406 kB / 0.9226 GB, free: 114.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02243/1.476, allocations: 7.386 MB / 0.9298 GB, free: 112.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.146e-05/1.476, allocations: 14.62 kB / 0.9298 GB, free: 112.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002228/1.478, allocations: 191.6 kB / 0.93 GB, free: 112.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.116e-05/1.478, allocations: 19.41 kB / 0.93 GB, free: 112.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003225/1.479, allocations: 40.91 kB / 0.9301 GB, free: 112.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.106e-05/1.479, allocations: 29.95 kB / 0.9301 GB, free: 112.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.551e-05/1.479, allocations: 23.36 kB / 0.9301 GB, free: 112.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006145/1.485, allocations: 1.992 MB / 0.9321 GB, free: 111.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/1.486, allocations: 326.9 kB / 0.9324 GB, free: 111.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009896/1.487, allocations: 36.52 kB / 0.9324 GB, free: 111.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002593/1.49, allocations: 54.17 kB / 0.9325 GB, free: 111.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004824/1.49, allocations: 109.4 kB / 0.9326 GB, free: 111.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002045/1.491, allocations: 54.05 kB / 0.9326 GB, free: 111.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005385/1.496, allocations: 1.544 MB / 0.9341 GB, free: 110.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.11e-07/1.496, allocations: 0 / 0.9341 GB, free: 110.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007241/1.503, allocations: 0.9177 MB / 0.935 GB, free: 110.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * Number of states: 0 () * 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 (98): * Single equations (assignments): 95 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008102/1.504, allocations: 172.6 kB / 0.9352 GB, free: 110.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00861/1.513, allocations: 2.553 MB / 0.9377 GB, free: 109.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.811e-05/1.513, allocations: 0 / 0.9377 GB, free: 109.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002408/1.515, allocations: 0.6956 MB / 0.9384 GB, free: 109.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004619/1.52, allocations: 309.3 kB / 0.9387 GB, free: 109 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02366/1.544, allocations: 8.377 MB / 0.9468 GB, free: 104.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005697/1.55, allocations: 2.889 MB / 0.9497 GB, free: 103.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005565/1.555, allocations: 1.17 MB / 0.9508 GB, free: 103 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009398/1.556, allocations: 162.7 kB / 0.951 GB, free: 103 MB / 474.7 MB Notification: Performance of SimCode: time 1.723e-06/1.556, allocations: 0 / 0.951 GB, free: 103 MB / 474.7 MB Notification: Performance of Templates: time 0.06003/1.616, allocations: 18.3 MB / 0.9688 GB, free: 98.62 MB / 474.7 MB