Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.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.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002498/0.002504, allocations: 346.8 kB / 15.93 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.374/3.374, allocations: 341.5 MB / 358.2 MB, free: 28.75 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003444/0.003443, allocations: 216.3 kB / 397.8 MB, free: 6.152 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5231/0.5231, allocations: 76.09 MB / 0.5014 GB, free: 0.832 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004802/0.0004805, allocations: 8 kB / 0.5592 GB, free: 60.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09101/0.09152, allocations: 48.71 MB / 0.6067 GB, free: 11.55 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4554/0.547, allocations: 92.51 MB / 0.6971 GB, free: 11.23 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/0.5473, allocations: 85.25 kB / 0.6971 GB, free: 11.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2747/0.822, allocations: 65.78 MB / 0.7614 GB, free: 428 kB / 378.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.822, allocations: 0 / 0.7614 GB, free: 428 kB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001813/0.8222, allocations: 71.98 kB / 0.7615 GB, free: 356 kB / 378.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.01308/0.8353, allocations: 3.18 MB / 0.7646 GB, free: 13.11 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.8354, allocations: 12.03 kB / 0.7646 GB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01548/0.8509, allocations: 1.937 MB / 0.7665 GB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007582/0.8585, allocations: 2.032 MB / 0.7684 GB, free: 9.074 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004865/0.8591, allocations: 287.4 kB / 0.7687 GB, free: 8.793 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00232/0.8614, allocations: 363.9 kB / 0.7691 GB, free: 8.438 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02804/0.8895, allocations: 8.106 MB / 0.777 GB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001604/0.8897, allocations: 23.8 kB / 0.777 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001825/0.8916, allocations: 171.9 kB / 0.7772 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00204/0.8936, allocations: 0.8066 MB / 0.778 GB, free: 14.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02288/0.9166, allocations: 6.971 MB / 0.7848 GB, free: 7.953 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4082/1.325, allocations: 27.45 MB / 0.8116 GB, free: 92.47 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008619/1.333, allocations: 2.547 MB / 0.8141 GB, free: 91.86 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002557/1.336, allocations: 0.9766 MB / 0.815 GB, free: 91.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0143/1.35, allocations: 4.45 MB / 0.8194 GB, free: 90.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/1.351, allocations: 42.72 kB / 0.8194 GB, free: 90.78 MB / 426.7 MB Notification: Performance of pre-optimization done (n=120): time 4.949e-06/1.351, allocations: 0 / 0.8194 GB, free: 90.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=120): time 0.01355/1.364, allocations: 2.721 MB / 0.8221 GB, free: 90.62 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/1.364, allocations: 65.22 kB / 0.8221 GB, free: 90.55 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005587/1.37, allocations: 2.211 MB / 0.8243 GB, free: 90.28 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002383/1.37, allocations: 43.31 kB / 0.8243 GB, free: 90.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001936/1.372, allocations: 2.304 MB / 0.8266 GB, free: 89.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006736/1.373, allocations: 462.9 kB / 0.827 GB, free: 88.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003609/1.373, allocations: 70.69 kB / 0.8271 GB, free: 88.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002503/1.373, allocations: 462.5 kB / 0.8275 GB, free: 88.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002749/1.376, allocations: 1.076 MB / 0.8286 GB, free: 88.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004407/1.381, allocations: 3.202 MB / 0.8317 GB, free: 85.92 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004206/1.385, allocations: 1.853 MB / 0.8335 GB, free: 85.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.326e-05/1.385, allocations: 21.66 kB / 0.8335 GB, free: 85.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=468) (initialization): time 0.01103/1.396, allocations: 4.192 MB / 0.8376 GB, free: 85.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.487e-05/1.396, allocations: 38.41 kB / 0.8377 GB, free: 85.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001207/1.396, allocations: 76.19 kB / 0.8377 GB, free: 85.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001356/1.396, allocations: 109.9 kB / 0.8378 GB, free: 85.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005065/1.402, allocations: 0.8134 MB / 0.8386 GB, free: 85.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001595/1.402, allocations: 148.6 kB / 0.8388 GB, free: 85.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00382/1.406, allocations: 493.5 kB / 0.8392 GB, free: 85.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008247/1.406, allocations: 216 kB / 0.8395 GB, free: 85.39 MB / 426.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.00443/1.411, allocations: 1.69 MB / 0.8411 GB, free: 85.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004737/1.411, allocations: 191.8 kB / 0.8413 GB, free: 85.05 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004115/1.416, allocations: 1.515 MB / 0.8428 GB, free: 84.97 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.562e-05/1.416, allocations: 15.55 kB / 0.8428 GB, free: 84.97 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/1.416, allocations: 3.812 kB / 0.8428 GB, free: 84.97 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-05/1.416, allocations: 3.328 kB / 0.8428 GB, free: 84.97 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01865/1.434, allocations: 7.383 MB / 0.85 GB, free: 83.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.319e-05/1.434, allocations: 15.34 kB / 0.85 GB, free: 83.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001513/1.436, allocations: 196 kB / 0.8502 GB, free: 83.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.062e-05/1.436, allocations: 23.12 kB / 0.8502 GB, free: 83.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000136/1.436, allocations: 36.97 kB / 0.8503 GB, free: 83.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-05/1.436, allocations: 28.98 kB / 0.8503 GB, free: 83.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.61e-05/1.436, allocations: 22.88 kB / 0.8503 GB, free: 83.42 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003634/1.44, allocations: 1.98 MB / 0.8522 GB, free: 82.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007412/1.441, allocations: 328.7 kB / 0.8525 GB, free: 81.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004162/1.441, allocations: 38.38 kB / 0.8526 GB, free: 81.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/1.442, allocations: 48.31 kB / 0.8526 GB, free: 81.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000222/1.443, allocations: 118.3 kB / 0.8527 GB, free: 81.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/1.443, allocations: 55.78 kB / 0.8528 GB, free: 81.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003449/1.446, allocations: 1.539 MB / 0.8543 GB, free: 81.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.91e-07/1.446, allocations: 0 / 0.8543 GB, free: 81.32 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004789/1.451, allocations: 0.9263 MB / 0.8552 GB, free: 81.03 MB / 426.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.0006469/1.452, allocations: 169.9 kB / 0.8554 GB, free: 80.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006035/1.458, allocations: 2.545 MB / 0.8579 GB, free: 80.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.922e-05/1.458, allocations: 3.594 kB / 0.8579 GB, free: 80.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001668/1.46, allocations: 0.6969 MB / 0.8585 GB, free: 79.89 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002643/1.462, allocations: 313.2 kB / 0.8588 GB, free: 79.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01845/1.481, allocations: 8.379 MB / 0.867 GB, free: 75.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006167/1.487, allocations: 2.891 MB / 0.8698 GB, free: 73.88 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005348/1.492, allocations: 1.164 MB / 0.871 GB, free: 73.78 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008284/1.493, allocations: 157.9 kB / 0.8711 GB, free: 73.77 MB / 426.7 MB Notification: Performance of SimCode: time 1.082e-06/1.493, allocations: 0 / 0.8711 GB, free: 73.77 MB / 426.7 MB Notification: Performance of Templates: time 0.06282/1.556, allocations: 18.31 MB / 0.889 GB, free: 65.39 MB / 426.7 MB