Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.CutForce.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.947/1.947, allocations: 209.2 MB / 224.8 MB, free: 0.5312 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004383/0.0004383, allocations: 16 kB / 282.6 MB, free: 9.578 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3419, allocations: 48.7 MB / 331.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.1267/0.4686, allocations: 82.82 MB / 414.1 MB, free: 11.5 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.05275/0.5214, allocations: 18.45 MB / 432.5 MB, free: 8.992 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01801/0.5395, allocations: 423.1 kB / 433 MB, free: 8.578 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01631/0.5558, allocations: 4.301 MB / 437.3 MB, free: 4.258 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05819/0.6141, allocations: 11.91 MB / 449.2 MB, free: 8.312 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009186/0.6233, allocations: 1.272 MB / 450.4 MB, free: 7.043 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01438/0.6377, allocations: 4.642 MB / 455.1 MB, free: 2.395 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01931/0.6571, allocations: 9.127 MB / 464.2 MB, free: 9.18 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006036/0.6632, allocations: 2.122 MB / 466.3 MB, free: 7.051 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006036/0.6693, allocations: 2.687 MB / 469 MB, free: 4.355 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001907/0.6713, allocations: 284 kB / 469.3 MB, free: 4.078 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003778/0.6751, allocations: 0.9559 MB / 470.3 MB, free: 3.121 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.358/1.033, allocations: 3.129 MB / 473.4 MB, free: 12.04 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003175/1.036, allocations: 1.539 MB / 474.9 MB, free: 12.01 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01632/1.053, allocations: 10.05 MB / 485 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/1.053, allocations: 0 / 485 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.735e-06/1.053, allocations: 0 / 485 MB, free: 11.29 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005735/1.053, allocations: 0 / 485 MB, free: 11.29 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2796 * Number of variables: 2796 Notification: Performance of Generate backend data structure: time 0.02826/1.082, allocations: 7.922 MB / 492.9 MB, free: 7.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/1.082, allocations: 8.25 kB / 492.9 MB, free: 7.98 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00566/1.087, allocations: 1.311 MB / 494.2 MB, free: 7.875 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02195/1.109, allocations: 3.088 MB / 497.3 MB, free: 7.328 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01633/1.126, allocations: 5.643 MB / 0.4912 GB, free: 6.469 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005546/1.126, allocations: 471.6 kB / 0.4916 GB, free: 6.457 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003662/1.13, allocations: 0.5826 MB / 0.4922 GB, free: 6.453 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0552/1.185, allocations: 18.91 MB / 0.5106 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003881/1.186, allocations: 74.03 kB / 0.5107 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003114/1.189, allocations: 284.3 kB / 0.511 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009264/1.198, allocations: 3.467 MB / 0.5144 GB, free: 15.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05256/1.251, allocations: 14.75 MB / 0.5288 GB, free: 7.234 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1503/1.401, allocations: 70.64 MB / 0.5978 GB, free: 11.07 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02994/1.431, allocations: 6.139 MB / 0.6038 GB, free: 5.98 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03322/1.464, allocations: 10.98 MB / 0.6145 GB, free: 12.85 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.025e-05/1.464, allocations: 58.78 kB / 0.6145 GB, free: 12.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=238): time 6.933e-06/1.464, allocations: 0 / 0.6145 GB, free: 12.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=262): time 0.07796/1.542, allocations: 16.41 MB / 0.6306 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/1.543, allocations: 154.5 kB / 0.6307 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01862/1.561, allocations: 7.065 MB / 0.6376 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006175/1.562, allocations: 67.95 kB / 0.6377 GB, free: 8.66 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.005888/1.568, allocations: 5.316 MB / 0.6429 GB, free: 4.418 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0018/1.57, allocations: 1.009 MB / 0.6439 GB, free: 3.582 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/1.571, allocations: 175.8 kB / 0.644 GB, free: 3.547 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0009666/1.572, allocations: 0.7004 MB / 0.6447 GB, free: 2.984 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008776/1.581, allocations: 2.59 MB / 0.6472 GB, free: 1.16 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3245/1.905, allocations: 8.269 MB / 0.6553 GB, free: 202.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01823/1.923, allocations: 4.461 MB / 0.6597 GB, free: 201.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005048/1.924, allocations: 58.56 kB / 0.6597 GB, free: 201.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.04113/1.965, allocations: 10.31 MB / 0.6698 GB, free: 197.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003919/1.966, allocations: 96.06 kB / 0.6699 GB, free: 197.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005305/1.966, allocations: 202.3 kB / 0.6701 GB, free: 197.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005046/1.967, allocations: 293.3 kB / 0.6704 GB, free: 197.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01832/1.985, allocations: 2.108 MB / 0.6724 GB, free: 197.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006619/1.986, allocations: 391 kB / 0.6728 GB, free: 197.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01394/2, allocations: 457.8 kB / 0.6732 GB, free: 197 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002047/2.002, allocations: 0.5549 MB / 0.6738 GB, free: 197 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 920 * Number of states: 0 () * Number of discrete variables: 57 (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.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.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.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.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 (1136): * Single equations (assignments): 1125 * 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.01071/2.013, allocations: 3.611 MB / 0.6773 GB, free: 195.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001304/2.014, allocations: 0.5685 MB / 0.6779 GB, free: 195.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008381/2.022, allocations: 2.792 MB / 0.6806 GB, free: 194.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.595e-05/2.022, allocations: 29.95 kB / 0.6806 GB, free: 194.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.557e-05/2.022, allocations: 7.469 kB / 0.6806 GB, free: 194.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.743e-05/2.022, allocations: 11.16 kB / 0.6806 GB, free: 194.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05706/2.079, allocations: 26.56 MB / 0.7066 GB, free: 173.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.742e-05/2.08, allocations: 56.16 kB / 0.7066 GB, free: 173.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0035/2.083, allocations: 0.5262 MB / 0.7071 GB, free: 172.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.179e-05/2.083, allocations: 83.95 kB / 0.7072 GB, free: 172.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003855/2.084, allocations: 116 kB / 0.7073 GB, free: 172.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.347e-05/2.084, allocations: 103.3 kB / 0.7074 GB, free: 172.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.917e-05/2.084, allocations: 79.69 kB / 0.7075 GB, free: 172.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008517/2.092, allocations: 5.226 MB / 0.7126 GB, free: 166.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002277/2.095, allocations: 0.7007 MB / 0.7133 GB, free: 166.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002142/2.097, allocations: 132.3 kB / 0.7134 GB, free: 166.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004999/2.102, allocations: 143.2 kB / 0.7135 GB, free: 166 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008082/2.103, allocations: 351.4 kB / 0.7139 GB, free: 165.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003088/2.103, allocations: 151.3 kB / 0.714 GB, free: 165.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01126/2.114, allocations: 4.479 MB / 0.7184 GB, free: 161.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.01e-07/2.114, allocations: 0 / 0.7184 GB, free: 161.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01196/2.126, allocations: 1.51 MB / 0.7199 GB, free: 159.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 243 * 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 (273): * Single equations (assignments): 270 * 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.01042/2.137, allocations: 5.988 MB / 0.7257 GB, free: 153 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01468/2.152, allocations: 6.047 MB / 0.7316 GB, free: 147 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.716e-05/2.152, allocations: 8 kB / 0.7316 GB, free: 147 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003608/2.155, allocations: 1.488 MB / 0.7331 GB, free: 145.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00736/2.163, allocations: 0.8584 MB / 0.7339 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07372/2.236, allocations: 37.75 MB / 0.7708 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01422/2.251, allocations: 5.739 MB / 0.7764 GB, free: 95.29 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008451/2.259, allocations: 3.729 MB / 0.78 GB, free: 91.57 MB / 0.4948 GB Notification: Performance of SimCode: time 1.543e-06/2.259, allocations: 0 / 0.78 GB, free: 91.57 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.413/7.672, allocations: 136.7 MB / 0.9135 GB, free: 148.7 MB / 0.4948 GB