Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.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.CutForceAndTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce1a.torque.3.|cutForce1b.torque.3.|cutForce2a.force.3.|cutForce2a.torque.3.|cutForce2b.force.3.|cutForce2b.torque.3.|cutForce1a.force.2.|cutForce1a.torque.2.|cutForce1b.torque.2.|cutForce2a.force.2.|cutForce2a.torque.2.|cutForce2b.force.2.|cutForce2b.torque.2.|cutForce1a.force.1.|cutForce1a.torque.1.|cutForce1b.torque.1.|cutForce2a.force.1.|cutForce2a.torque.1.|cutForce2b.force.1.|cutForce2b.torque.1.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002648/0.002647, allocations: 350.6 kB / 15.94 MB, free: 6.215 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.832/3.832, allocations: 341.5 MB / 358.2 MB, free: 12.61 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.003631/0.003631, allocations: 218.1 kB / 397.9 MB, free: 4.969 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.5051/0.5051, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004683/0.0004685, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09176/0.09225, allocations: 48.71 MB / 0.6067 GB, free: 4.652 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4719/0.5642, allocations: 94.18 MB / 0.6987 GB, free: 18.53 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/0.5645, allocations: 87.89 kB / 0.6988 GB, free: 18.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.099/1.663, allocations: 199.2 MB / 0.8934 GB, free: 15.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.036e-06/1.663, allocations: 4 kB / 0.8934 GB, free: 15.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005318/1.664, allocations: 192 kB / 0.8936 GB, free: 15.75 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: 3662 * Number of variables: 3662 Notification: Performance of Generate backend data structure: time 0.03985/1.704, allocations: 9.794 MB / 0.9031 GB, free: 5.855 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/1.704, allocations: 8.031 kB / 0.9031 GB, free: 5.848 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03466/1.738, allocations: 3.918 MB / 0.907 GB, free: 1.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0315/1.77, allocations: 9.132 MB / 0.9159 GB, free: 8.695 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001441/1.771, allocations: 0.7942 MB / 0.9166 GB, free: 7.898 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007151/1.779, allocations: 1.039 MB / 0.9177 GB, free: 6.859 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4523/2.231, allocations: 24.28 MB / 0.9414 GB, free: 46.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009004/2.232, allocations: 96.86 kB / 0.9415 GB, free: 46.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006478/2.238, allocations: 492.2 kB / 0.9419 GB, free: 46.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006238/2.245, allocations: 2.271 MB / 0.9441 GB, free: 46.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06947/2.314, allocations: 19.33 MB / 0.963 GB, free: 46.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1939/2.508, allocations: 93.93 MB / 1.055 GB, free: 3.969 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03989/2.548, allocations: 7.653 MB / 1.062 GB, free: 1.656 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00935/2.558, allocations: 3.11 MB / 1.065 GB, free: 456 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0592/2.617, allocations: 13.16 MB / 1.078 GB, free: 5.375 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001143/2.617, allocations: 70.97 kB / 1.078 GB, free: 5.297 MB / 458.7 MB Notification: Performance of pre-optimization done (n=336): time 1.203e-05/2.617, allocations: 3.797 kB / 1.078 GB, free: 5.297 MB / 458.7 MB Notification: Performance of matching and sorting (n=360): time 0.1243/2.741, allocations: 20.62 MB / 1.098 GB, free: 3.875 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/2.742, allocations: 166.9 kB / 1.098 GB, free: 3.68 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3844/3.126, allocations: 7.626 MB / 1.106 GB, free: 95.84 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009054/3.127, allocations: 79.2 kB / 1.106 GB, free: 95.81 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006377/3.133, allocations: 6.809 MB / 1.113 GB, free: 93.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002042/3.135, allocations: 1.354 MB / 1.114 GB, free: 92.82 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001198/3.137, allocations: 216.9 kB / 1.114 GB, free: 92.82 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006999/3.137, allocations: 0.7519 MB / 1.115 GB, free: 92.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01103/3.148, allocations: 3.218 MB / 1.118 GB, free: 92.48 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01536/3.164, allocations: 9.742 MB / 1.128 GB, free: 84.11 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01461/3.178, allocations: 5.392 MB / 1.133 GB, free: 84.05 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003012/3.179, allocations: 65.06 kB / 1.133 GB, free: 84.05 MB / 474.7 MB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.03861/3.217, allocations: 12.65 MB / 1.145 GB, free: 83.04 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002295/3.218, allocations: 104.5 kB / 1.145 GB, free: 83.04 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004741/3.218, allocations: 229.7 kB / 1.146 GB, free: 83.04 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004312/3.219, allocations: 342 kB / 1.146 GB, free: 83.04 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01785/3.237, allocations: 2.619 MB / 1.148 GB, free: 82.81 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006129/3.237, allocations: 457.7 kB / 1.149 GB, free: 82.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01501/3.252, allocations: 0.6782 MB / 1.15 GB, free: 82.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004162/3.256, allocations: 0.6391 MB / 1.15 GB, free: 82.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1052 * Number of states: 0 () * Number of discrete variables: 69 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 (1366): * Single equations (assignments): 1363 * 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.0193/3.276, allocations: 4.521 MB / 1.155 GB, free: 82.21 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002379/3.278, allocations: 0.6727 MB / 1.155 GB, free: 81.84 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06401/3.342, allocations: 4.094 MB / 1.159 GB, free: 81.62 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001075/3.342, allocations: 40.78 kB / 1.159 GB, free: 81.62 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.77e-05/3.343, allocations: 3.5 kB / 1.159 GB, free: 81.62 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001243/3.343, allocations: 15.66 kB / 1.159 GB, free: 81.62 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1202/3.463, allocations: 50.13 MB / 1.208 GB, free: 62.39 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002462/3.463, allocations: 72 kB / 1.208 GB, free: 62.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005626/3.469, allocations: 0.7332 MB / 1.209 GB, free: 61.69 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001224/3.469, allocations: 104 kB / 1.209 GB, free: 61.59 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008189/3.47, allocations: 169.7 kB / 1.209 GB, free: 61.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.568e-05/3.47, allocations: 136.6 kB / 1.209 GB, free: 61.31 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.937e-05/3.47, allocations: 115.8 kB / 1.21 GB, free: 61.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01341/3.483, allocations: 7.239 MB / 1.217 GB, free: 53.23 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002567/3.486, allocations: 0.8041 MB / 1.217 GB, free: 52.44 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002336/3.488, allocations: 172.4 kB / 1.218 GB, free: 52.29 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00702/3.495, allocations: 273.9 kB / 1.218 GB, free: 52.07 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001207/3.497, allocations: 481 kB / 1.218 GB, free: 51.69 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004779/3.497, allocations: 209.1 kB / 1.218 GB, free: 51.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01318/3.51, allocations: 4.654 MB / 1.223 GB, free: 47.74 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.41e-07/3.51, allocations: 0 / 1.223 GB, free: 47.74 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01494/3.525, allocations: 1.877 MB / 1.225 GB, free: 45.88 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 330 * 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 (376): * Single equations (assignments): 373 * 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.001721/3.527, allocations: 351.6 kB / 1.225 GB, free: 45.53 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02066/3.548, allocations: 7.583 MB / 1.233 GB, free: 38.93 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.728e-05/3.548, allocations: 12 kB / 1.233 GB, free: 38.92 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005743/3.554, allocations: 2.117 MB / 1.235 GB, free: 37.11 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01345/3.567, allocations: 1.088 MB / 1.236 GB, free: 36.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06105/3.628, allocations: 25.9 MB / 1.261 GB, free: 11.17 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01973/3.648, allocations: 7.133 MB / 1.268 GB, free: 5.992 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01794/3.666, allocations: 3.315 MB / 1.271 GB, free: 3.906 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002853/3.669, allocations: 492.7 kB / 1.272 GB, free: 3.449 MB / 474.7 MB Notification: Performance of SimCode: time 1.503e-06/3.669, allocations: 0 / 1.272 GB, free: 3.449 MB / 474.7 MB Notification: Performance of Templates: time 0.6263/4.295, allocations: 57.32 MB / 1.328 GB, free: 69.15 MB / 474.7 MB