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.CutForceAndTorque1.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.CutForceAndTorque1,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.995/1.995, allocations: 209.2 MB / 224.8 MB, free: 0.6055 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004481/0.0004483, allocations: 12 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3588, allocations: 48.71 MB / 331.3 MB, free: 6.375 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.1719/0.5308, allocations: 109.3 MB / 440.5 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.06703/0.5979, allocations: 23.83 MB / 464.4 MB, free: 8.98 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02403/0.622, allocations: 0.5339 MB / 464.9 MB, free: 8.445 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0204/0.6424, allocations: 5.666 MB / 470.6 MB, free: 2.754 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3952/1.038, allocations: 15.5 MB / 486.1 MB, free: 5.09 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009023/1.047, allocations: 1.406 MB / 487.5 MB, free: 5.078 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.013/1.06, allocations: 5.445 MB / 492.9 MB, free: 5.012 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02162/1.081, allocations: 11.38 MB / 0.4925 GB, free: 2.91 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006618/1.088, allocations: 2.501 MB / 0.4949 GB, free: 2.457 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008634/1.097, allocations: 3.323 MB / 0.4982 GB, free: 1.691 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003522/1.1, allocations: 377.7 kB / 0.4985 GB, free: 1.691 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006518/1.107, allocations: 1.025 MB / 0.4995 GB, free: 1.5 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.02063/1.128, allocations: 3.91 MB / 0.5033 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01281/1.141, allocations: 1.962 MB / 0.5053 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03641/1.177, allocations: 13.12 MB / 0.5181 GB, free: 9.066 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/1.177, allocations: 0 / 0.5181 GB, free: 9.066 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.995e-06/1.177, allocations: 3.469 kB / 0.5181 GB, free: 9.066 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007288/1.178, allocations: 0 / 0.5181 GB, free: 9.066 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.03355/1.211, allocations: 9.61 MB / 0.5275 GB, free: 228 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/1.211, allocations: 12.03 kB / 0.5275 GB, free: 216 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00692/1.218, allocations: 1.706 MB / 0.5291 GB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02554/1.244, allocations: 3.478 MB / 0.5325 GB, free: 11.86 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01902/1.263, allocations: 6.389 MB / 0.5388 GB, free: 7.191 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008814/1.264, allocations: 0.5928 MB / 0.5394 GB, free: 6.863 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004047/1.268, allocations: 0.7689 MB / 0.5401 GB, free: 6.359 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0751/1.343, allocations: 24.68 MB / 0.5642 GB, free: 3.43 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004823/1.344, allocations: 81.5 kB / 0.5643 GB, free: 3.391 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003466/1.347, allocations: 374.7 kB / 0.5646 GB, free: 3.285 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01278/1.36, allocations: 4.534 MB / 0.5691 GB, free: 15.59 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08905/1.449, allocations: 19.38 MB / 0.588 GB, free: 2.125 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8669/2.316, allocations: 85.94 MB / 0.6719 GB, free: 149.5 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04389/2.36, allocations: 7.786 MB / 0.6795 GB, free: 148.8 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04176/2.402, allocations: 13.28 MB / 0.6925 GB, free: 145.5 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.333e-05/2.402, allocations: 72.62 kB / 0.6926 GB, free: 145.4 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=336): time 8.607e-06/2.402, allocations: 0 / 0.6926 GB, free: 145.4 MB / 0.4949 GB Notification: Performance of matching and sorting (n=360): time 0.09162/2.494, allocations: 21.09 MB / 0.7132 GB, free: 134.2 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.96e-05/2.494, allocations: 172.2 kB / 0.7133 GB, free: 134 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0169/2.511, allocations: 7.826 MB / 0.721 GB, free: 130.1 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0007605/2.512, allocations: 80.44 kB / 0.721 GB, free: 130 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.005242/2.517, allocations: 6.531 MB / 0.7274 GB, free: 124.3 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001873/2.519, allocations: 1.359 MB / 0.7287 GB, free: 123.1 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001184/2.52, allocations: 211.8 kB / 0.7289 GB, free: 122.9 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0007592/2.521, allocations: 0.7739 MB / 0.7297 GB, free: 122.1 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009181/2.53, allocations: 3.233 MB / 0.7329 GB, free: 118.8 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01309/2.543, allocations: 9.817 MB / 0.7425 GB, free: 106.1 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01403/2.557, allocations: 5.44 MB / 0.7478 GB, free: 100.9 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003277/2.558, allocations: 64 kB / 0.7478 GB, free: 100.9 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1438) (initialization): time 0.04761/2.605, allocations: 12.49 MB / 0.76 GB, free: 88.55 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002572/2.605, allocations: 104.2 kB / 0.7601 GB, free: 88.45 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004848/2.606, allocations: 232 kB / 0.7603 GB, free: 88.22 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005067/2.606, allocations: 347.9 kB / 0.7607 GB, free: 87.88 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02182/2.628, allocations: 2.55 MB / 0.7632 GB, free: 85.33 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000621/2.629, allocations: 454.3 kB / 0.7636 GB, free: 84.88 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01257/2.642, allocations: 0.5229 MB / 0.7641 GB, free: 84.36 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002017/2.644, allocations: 0.6559 MB / 0.7647 GB, free: 83.71 MB / 0.4949 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.01138/2.655, allocations: 4.513 MB / 0.7692 GB, free: 79.18 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001605/2.657, allocations: 0.6594 MB / 0.7698 GB, free: 78.51 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01126/2.668, allocations: 4.089 MB / 0.7738 GB, free: 74.37 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.879e-05/2.668, allocations: 43.91 kB / 0.7738 GB, free: 74.33 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.489e-05/2.668, allocations: 0 / 0.7738 GB, free: 74.33 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.643e-05/2.668, allocations: 15.94 kB / 0.7739 GB, free: 74.32 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09833/2.766, allocations: 49.28 MB / 0.822 GB, free: 24.01 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002162/2.767, allocations: 73 kB / 0.822 GB, free: 23.94 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005491/2.772, allocations: 0.7486 MB / 0.8228 GB, free: 23.19 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001231/2.772, allocations: 108 kB / 0.8229 GB, free: 23.09 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000772/2.773, allocations: 164 kB / 0.823 GB, free: 22.93 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001074/2.773, allocations: 143.4 kB / 0.8232 GB, free: 22.79 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-05/2.773, allocations: 115.5 kB / 0.8233 GB, free: 22.67 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01334/2.787, allocations: 7.317 MB / 0.8304 GB, free: 14.11 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002667/2.789, allocations: 0.8123 MB / 0.8312 GB, free: 13.27 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002522/2.792, allocations: 163.9 kB / 0.8314 GB, free: 13.11 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006567/2.799, allocations: 219.9 kB / 0.8316 GB, free: 12.9 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001307/2.8, allocations: 0.4902 MB / 0.8321 GB, free: 12.41 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006298/2.801, allocations: 208 kB / 0.8323 GB, free: 12.2 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.01245/2.813, allocations: 4.932 MB / 0.8371 GB, free: 7.309 MB / 0.4949 GB Notification: Performance of sort global known variables: time 8.02e-07/2.813, allocations: 3.938 kB / 0.8371 GB, free: 7.305 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01378/2.827, allocations: 1.903 MB / 0.8389 GB, free: 5.41 MB / 0.4949 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.3875/3.215, allocations: 8.118 MB / 0.8469 GB, free: 179.7 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.02746/3.242, allocations: 7.66 MB / 0.8543 GB, free: 178.9 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 9.75e-05/3.242, allocations: 12.8 kB / 0.8544 GB, free: 178.9 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.00825/3.25, allocations: 2.136 MB / 0.8564 GB, free: 178.2 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01221/3.263, allocations: 1.02 MB / 0.8574 GB, free: 177.8 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09944/3.362, allocations: 51.96 MB / 0.9082 GB, free: 134.2 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0172/3.379, allocations: 7.135 MB / 0.9152 GB, free: 131.9 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0107/3.39, allocations: 4.845 MB / 0.9199 GB, free: 128 MB / 0.4949 GB Notification: Performance of SimCode: time 1.664e-06/3.39, allocations: 4 kB / 0.9199 GB, free: 128 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.849/9.239, allocations: 170.5 MB / 1.086 GB, free: 147.8 MB / 0.4949 GB