Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.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.CutForceAndTorque2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",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.01478/0.01479, allocations: 164.5 kB / 15.12 MB, free: 5.957 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.868/1.868, allocations: 170.8 MB / 186.7 MB, free: 1.105 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.001711/0.001711, allocations: 110.8 kB / 226.2 MB, free: 10.08 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.4743/0.4743, allocations: 38.06 MB / 303.7 MB, free: 42.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005175/0.0005182, allocations: 19.98 kB / 363 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1131, allocations: 48.72 MB / 411.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2): time 0.4445/0.5577, allocations: 115.8 MB / 0.5151 GB, free: 6.828 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.07796/0.6357, allocations: 22.68 MB / 0.5373 GB, free: 1.828 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02917/0.6649, allocations: 0.534 MB / 0.5378 GB, free: 1.293 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0224/0.6874, allocations: 5.743 MB / 0.5434 GB, free: 11.52 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.07445/0.7619, allocations: 19.35 MB / 0.5623 GB, free: 8.094 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01092/0.7729, allocations: 1.427 MB / 0.5637 GB, free: 6.668 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.02598/0.7989, allocations: 11.32 MB / 0.5748 GB, free: 11.33 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4595/1.258, allocations: 11.44 MB / 0.5859 GB, free: 11.57 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008067/1.267, allocations: 3.02 MB / 0.5889 GB, free: 11.57 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01095/1.278, allocations: 4.769 MB / 0.5935 GB, free: 11.57 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003253/1.281, allocations: 377.5 kB / 0.5939 GB, free: 11.57 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006005/1.287, allocations: 1.051 MB / 0.5949 GB, free: 11.57 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00768/1.295, allocations: 4.212 MB / 0.599 GB, free: 11.57 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004557/1.299, allocations: 1.961 MB / 0.601 GB, free: 11.54 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02138/1.321, allocations: 13.13 MB / 0.6138 GB, free: 10.68 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/1.321, allocations: 0 / 0.6138 GB, free: 10.68 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.965e-06/1.321, allocations: 2.688 kB / 0.6138 GB, free: 10.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000752/1.322, allocations: 0 / 0.6138 GB, free: 10.68 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.03596/1.358, allocations: 9.418 MB / 0.623 GB, free: 6.664 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/1.358, allocations: 10.56 kB / 0.623 GB, free: 6.664 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00748/1.365, allocations: 1.706 MB / 0.6247 GB, free: 6.531 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02417/1.389, allocations: 3.119 MB / 0.6277 GB, free: 5.148 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02231/1.412, allocations: 7.199 MB / 0.6347 GB, free: 3.047 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008501/1.413, allocations: 0.5907 MB / 0.6353 GB, free: 3.031 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004713/1.417, allocations: 0.7659 MB / 0.6361 GB, free: 3.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09319/1.511, allocations: 24.44 MB / 0.6599 GB, free: 9.023 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001032/1.512, allocations: 84.27 kB / 0.66 GB, free: 8.98 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006405/1.518, allocations: 368.6 kB / 0.6603 GB, free: 8.883 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.02038/1.539, allocations: 4.533 MB / 0.6648 GB, free: 5.191 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0859/1.625, allocations: 19.14 MB / 0.6835 GB, free: 7.938 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1978/1.822, allocations: 85.62 MB / 0.7671 GB, free: 0.7773 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04099/1.864, allocations: 7.827 MB / 0.7747 GB, free: 8.824 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009826/1.873, allocations: 3.099 MB / 0.7777 GB, free: 5.711 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3748/2.248, allocations: 13.11 MB / 0.7905 GB, free: 219.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.619e-05/2.248, allocations: 73.44 kB / 0.7906 GB, free: 219.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=336): time 8.857e-06/2.248, allocations: 0 / 0.7906 GB, free: 219.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=360): time 0.1022/2.351, allocations: 20.72 MB / 0.8109 GB, free: 212.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/2.351, allocations: 172.6 kB / 0.811 GB, free: 212.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02807/2.379, allocations: 7.387 MB / 0.8182 GB, free: 209.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001079/2.38, allocations: 78.56 kB / 0.8183 GB, free: 209.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.008722/2.389, allocations: 6.772 MB / 0.8249 GB, free: 204.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002554/2.391, allocations: 1.356 MB / 0.8262 GB, free: 203.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001546/2.393, allocations: 216.8 kB / 0.8265 GB, free: 203.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001131/2.394, allocations: 0.7702 MB / 0.8272 GB, free: 202.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01247/2.407, allocations: 3.232 MB / 0.8304 GB, free: 201.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0142/2.421, allocations: 9.821 MB / 0.84 GB, free: 191.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01404/2.435, allocations: 5.424 MB / 0.8452 GB, free: 189.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002259/2.435, allocations: 64.47 kB / 0.8453 GB, free: 189.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1438) (initialization): time 0.04156/2.477, allocations: 12.74 MB / 0.8577 GB, free: 181.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003316/2.477, allocations: 104 kB / 0.8578 GB, free: 181.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006249/2.478, allocations: 239 kB / 0.8581 GB, free: 181.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005397/2.478, allocations: 340 kB / 0.8584 GB, free: 180.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02184/2.5, allocations: 2.558 MB / 0.8609 GB, free: 178.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007034/2.501, allocations: 454.8 kB / 0.8613 GB, free: 178.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01746/2.518, allocations: 0.5175 MB / 0.8618 GB, free: 177.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002958/2.522, allocations: 0.6566 MB / 0.8625 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 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[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.01669/2.538, allocations: 4.52 MB / 0.8669 GB, free: 173.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002239/2.541, allocations: 0.6555 MB / 0.8675 GB, free: 172.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01724/2.558, allocations: 4.093 MB / 0.8715 GB, free: 168.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.046e-05/2.558, allocations: 39.95 kB / 0.8716 GB, free: 168.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-05/2.558, allocations: 4 kB / 0.8716 GB, free: 168.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.113e-05/2.558, allocations: 15.52 kB / 0.8716 GB, free: 168.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.106/2.664, allocations: 42.04 MB / 0.9126 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003556/2.665, allocations: 88 kB / 0.9127 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005795/2.67, allocations: 0.8592 MB / 0.9136 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001508/2.671, allocations: 136.6 kB / 0.9137 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009355/2.671, allocations: 205 kB / 0.9139 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001438/2.672, allocations: 175.4 kB / 0.9141 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.781e-05/2.672, allocations: 143.4 kB / 0.9142 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01377/2.686, allocations: 8.012 MB / 0.922 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003026/2.689, allocations: 0.8356 MB / 0.9228 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002676/2.691, allocations: 211.8 kB / 0.923 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007042/2.698, allocations: 211.9 kB / 0.9232 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001395/2.7, allocations: 0.5796 MB / 0.9238 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009034/2.701, allocations: 255.1 kB / 0.924 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01229/2.713, allocations: 4.58 MB / 0.9285 GB, free: 112 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.783e-06/2.713, allocations: 0 / 0.9285 GB, free: 112 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01571/2.729, allocations: 1.87 MB / 0.9303 GB, free: 110.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 413 * 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 (455): * Single equations (assignments): 452 * 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.01598/2.745, allocations: 8.857 MB / 0.939 GB, free: 99.79 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01926/2.764, allocations: 7.648 MB / 0.9465 GB, free: 92.19 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.846e-05/2.764, allocations: 12 kB / 0.9465 GB, free: 92.18 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005529/2.77, allocations: 2.208 MB / 0.9486 GB, free: 89.99 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01352/2.783, allocations: 1.152 MB / 0.9498 GB, free: 88.87 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5313/3.315, allocations: 77.23 MB / 1.025 GB, free: 202.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01905/3.334, allocations: 7.166 MB / 1.032 GB, free: 201.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01797/3.352, allocations: 3.304 MB / 1.035 GB, free: 201.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01129/3.363, allocations: 4.74 MB / 1.04 GB, free: 201.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.563e-06/3.363, allocations: 0 / 1.04 GB, free: 201.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3102/3.674, allocations: 144.1 MB / 1.181 GB, free: 88.43 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002319/3.674, allocations: 186.8 kB / 1.181 GB, free: 88.19 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.041/12.71, allocations: 4 kB / 1.181 GB, free: 88.19 MB / 0.5261 GB