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: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0105/0.0105, allocations: 159.5 kB / 15.11 MB, free: 6.035 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 1.714/1.714, allocations: 170.8 MB / 186.7 MB, free: 1.008 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001771/0.001771, allocations: 97.66 kB / 226.2 MB, free: 10.07 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.4517/0.4517, allocations: 38.05 MB / 303.7 MB, free: 42.76 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004866/0.0004868, allocations: 8 kB / 363 MB, free: 5.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.155, allocations: 48.72 MB / 411.7 MB, free: 4.676 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.4832/0.6383, allocations: 115.8 MB / 0.5151 GB, free: 6.871 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.07478/0.7131, allocations: 22.68 MB / 0.5373 GB, free: 1.867 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02714/0.7403, allocations: 0.5301 MB / 0.5378 GB, free: 1.336 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02126/0.7616, allocations: 5.743 MB / 0.5434 GB, free: 11.56 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06897/0.8307, allocations: 19.35 MB / 0.5623 GB, free: 8.137 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01047/0.8412, allocations: 1.427 MB / 0.5637 GB, free: 6.711 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0214/0.8627, allocations: 11.32 MB / 0.5748 GB, free: 11.38 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3874/1.25, allocations: 11.45 MB / 0.5859 GB, free: 11.44 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009692/1.26, allocations: 3.018 MB / 0.5889 GB, free: 11.44 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0118/1.272, allocations: 4.772 MB / 0.5935 GB, free: 11.44 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003457/1.275, allocations: 377.1 kB / 0.5939 GB, free: 11.44 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00654/1.282, allocations: 1.046 MB / 0.5949 GB, free: 11.44 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008741/1.291, allocations: 4.212 MB / 0.599 GB, free: 11.44 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005224/1.296, allocations: 1.959 MB / 0.601 GB, free: 11.41 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02335/1.319, allocations: 13.14 MB / 0.6138 GB, free: 10.55 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/1.319, allocations: 3.531 kB / 0.6138 GB, free: 10.55 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.176e-06/1.319, allocations: 1.312 kB / 0.6138 GB, free: 10.55 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000822/1.32, allocations: 0 / 0.6138 GB, free: 10.55 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: 3662 * Number of variables: 3662 Notification: Performance of Generate backend data structure: time 0.03835/1.359, allocations: 9.414 MB / 0.623 GB, free: 6.539 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.8e-05/1.359, allocations: 16.23 kB / 0.623 GB, free: 6.539 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01126/1.37, allocations: 1.703 MB / 0.6247 GB, free: 6.406 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03932/1.409, allocations: 3.12 MB / 0.6277 GB, free: 5.062 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03304/1.443, allocations: 7.189 MB / 0.6347 GB, free: 2.969 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009227/1.444, allocations: 0.5983 MB / 0.6353 GB, free: 2.949 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005214/1.449, allocations: 0.7661 MB / 0.6361 GB, free: 2.941 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.102/1.551, allocations: 24.45 MB / 0.6599 GB, free: 8.941 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001002/1.552, allocations: 81.39 kB / 0.66 GB, free: 8.902 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006941/1.559, allocations: 365.5 kB / 0.6604 GB, free: 8.805 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.02036/1.579, allocations: 4.534 MB / 0.6648 GB, free: 5.109 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0826/1.662, allocations: 19.15 MB / 0.6835 GB, free: 7.848 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2032/1.865, allocations: 85.61 MB / 0.7671 GB, free: 0.707 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04064/1.906, allocations: 7.76 MB / 0.7747 GB, free: 8.871 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01046/1.917, allocations: 3.104 MB / 0.7777 GB, free: 5.75 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3713/2.288, allocations: 13.1 MB / 0.7905 GB, free: 219.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000152/2.288, allocations: 80.91 kB / 0.7906 GB, free: 219.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=336): time 1.203e-05/2.288, allocations: 0 / 0.7906 GB, free: 219.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=360): time 0.1158/2.404, allocations: 20.73 MB / 0.8108 GB, free: 212.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/2.404, allocations: 164.1 kB / 0.811 GB, free: 212.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0227/2.427, allocations: 7.387 MB / 0.8182 GB, free: 209.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001029/2.428, allocations: 86.58 kB / 0.8183 GB, free: 209.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.006242/2.434, allocations: 6.773 MB / 0.8249 GB, free: 204.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002121/2.437, allocations: 1.355 MB / 0.8262 GB, free: 203.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001699/2.438, allocations: 217.3 kB / 0.8264 GB, free: 203.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001275/2.44, allocations: 0.7639 MB / 0.8272 GB, free: 203 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01051/2.45, allocations: 3.234 MB / 0.8303 GB, free: 202 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01505/2.465, allocations: 9.817 MB / 0.8399 GB, free: 192.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01421/2.48, allocations: 5.43 MB / 0.8452 GB, free: 190 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002239/2.48, allocations: 65.31 kB / 0.8453 GB, free: 190 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1438) (initialization): time 0.03598/2.516, allocations: 12.74 MB / 0.8577 GB, free: 181.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001964/2.516, allocations: 105 kB / 0.8578 GB, free: 181.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004115/2.516, allocations: 236 kB / 0.858 GB, free: 181.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003716/2.517, allocations: 351.8 kB / 0.8584 GB, free: 180.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01889/2.536, allocations: 2.544 MB / 0.8608 GB, free: 178.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001095/2.537, allocations: 457.7 kB / 0.8613 GB, free: 178.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02008/2.557, allocations: 0.5172 MB / 0.8618 GB, free: 177.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003299/2.56, allocations: 0.6552 MB / 0.8624 GB, free: 177 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1060 * 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 (1374): * Single equations (assignments): 1363 * Array equations: 11 * 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.01779/2.578, allocations: 4.52 MB / 0.8668 GB, free: 173 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002424/2.581, allocations: 0.6601 MB / 0.8675 GB, free: 172.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01327/2.594, allocations: 4.09 MB / 0.8715 GB, free: 168.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.557e-05/2.594, allocations: 40.89 kB / 0.8715 GB, free: 168.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-05/2.594, allocations: 4 kB / 0.8715 GB, free: 168.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.58e-05/2.594, allocations: 19.03 kB / 0.8715 GB, free: 168.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1029/2.697, allocations: 49.24 MB / 0.9196 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001186/2.697, allocations: 72 kB / 0.9197 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005209/2.703, allocations: 0.7485 MB / 0.9204 GB, free: 122 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.865e-05/2.703, allocations: 104 kB / 0.9205 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004585/2.703, allocations: 169.4 kB / 0.9207 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.78e-05/2.703, allocations: 147.4 kB / 0.9208 GB, free: 121.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.777e-05/2.703, allocations: 117.2 kB / 0.9209 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01248/2.716, allocations: 7.321 MB / 0.9281 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002853/2.719, allocations: 0.7928 MB / 0.9289 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002559/2.721, allocations: 167.9 kB / 0.929 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006955/2.728, allocations: 216.4 kB / 0.9292 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001301/2.73, allocations: 497.9 kB / 0.9297 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004441/2.73, allocations: 208 kB / 0.9299 GB, free: 111 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01198/2.742, allocations: 4.576 MB / 0.9344 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.32e-07/2.742, allocations: 7.938 kB / 0.9344 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0154/2.758, allocations: 1.872 MB / 0.9362 GB, free: 104.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 334 * 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 (380): * Single equations (assignments): 377 * 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.0162/2.774, allocations: 8.107 MB / 0.9441 GB, free: 95.23 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01987/2.794, allocations: 7.657 MB / 0.9516 GB, free: 87.62 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.624e-05/2.794, allocations: 12 kB / 0.9516 GB, free: 87.61 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005858/2.8, allocations: 2.137 MB / 0.9537 GB, free: 85.48 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01472/2.815, allocations: 1.099 MB / 0.9548 GB, free: 84.41 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5696/3.384, allocations: 76.63 MB / 1.03 GB, free: 205.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02024/3.405, allocations: 7.128 MB / 1.037 GB, free: 204.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01972/3.424, allocations: 3.297 MB / 1.04 GB, free: 204.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01215/3.437, allocations: 4.745 MB / 1.044 GB, free: 203.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.933e-06/3.437, allocations: 2.312 kB / 1.044 GB, free: 203.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3179/3.755, allocations: 141.1 MB / 1.182 GB, free: 88.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002502/3.755, allocations: 194.1 kB / 1.182 GB, free: 88.36 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.766/12.52, allocations: 0 / 1.182 GB, free: 88.36 MB / 0.5261 GB