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.CutForceAndTorque2.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.CutForceAndTorque2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.931/1.931, allocations: 209.2 MB / 224.8 MB, free: 0.7656 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004351/0.0004352, allocations: 8 kB / 282.6 MB, free: 9.613 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1118, allocations: 48.72 MB / 331.3 MB, free: 8.809 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2): time 0.4713/0.5832, allocations: 109.3 MB / 440.5 MB, free: 7.453 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.07135/0.6546, allocations: 23.83 MB / 464.4 MB, free: 15.56 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02489/0.6795, allocations: 0.5301 MB / 464.9 MB, free: 15.03 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02059/0.7002, allocations: 5.666 MB / 470.6 MB, free: 9.336 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06202/0.7622, allocations: 15.51 MB / 486.1 MB, free: 9.785 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009393/0.7717, allocations: 1.408 MB / 487.5 MB, free: 8.375 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01449/0.7862, allocations: 5.436 MB / 492.9 MB, free: 2.934 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3801/1.166, allocations: 11.37 MB / 0.4925 GB, free: 6.812 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007281/1.174, allocations: 2.513 MB / 0.4949 GB, free: 6.809 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007637/1.181, allocations: 3.322 MB / 0.4982 GB, free: 6.801 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002984/1.185, allocations: 377.3 kB / 0.4985 GB, free: 6.801 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005643/1.19, allocations: 1.021 MB / 0.4995 GB, free: 6.797 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006948/1.197, allocations: 3.913 MB / 0.5033 GB, free: 6.797 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00456/1.202, allocations: 1.963 MB / 0.5053 GB, free: 6.766 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01879/1.221, allocations: 13.11 MB / 0.5181 GB, free: 3.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/1.221, allocations: 5.656 kB / 0.5181 GB, free: 3.266 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.106e-06/1.221, allocations: 0 / 0.5181 GB, free: 3.266 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007367/1.222, allocations: 0 / 0.5181 GB, free: 3.266 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.03176/1.253, allocations: 9.614 MB / 0.5275 GB, free: 13.67 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/1.253, allocations: 9.406 kB / 0.5275 GB, free: 13.67 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007071/1.26, allocations: 1.701 MB / 0.5291 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03501/1.295, allocations: 3.479 MB / 0.5325 GB, free: 11.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02038/1.316, allocations: 6.397 MB / 0.5388 GB, free: 9.711 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006835/1.317, allocations: 0.5877 MB / 0.5394 GB, free: 9.695 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004217/1.321, allocations: 0.7727 MB / 0.5401 GB, free: 9.684 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07466/1.396, allocations: 24.68 MB / 0.5642 GB, free: 8.789 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004328/1.396, allocations: 85.39 kB / 0.5643 GB, free: 8.746 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003648/1.4, allocations: 369.3 kB / 0.5646 GB, free: 8.645 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01247/1.412, allocations: 4.54 MB / 0.5691 GB, free: 4.945 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06751/1.48, allocations: 19.38 MB / 0.588 GB, free: 7.48 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1817/1.662, allocations: 85.95 MB / 0.6719 GB, free: 32 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3263/1.988, allocations: 7.832 MB / 0.6796 GB, free: 209.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04238/2.03, allocations: 13.28 MB / 0.6925 GB, free: 204.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.436e-05/2.03, allocations: 69.53 kB / 0.6926 GB, free: 204.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=336): time 8.646e-06/2.03, allocations: 0 / 0.6926 GB, free: 204.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=360): time 0.1152/2.146, allocations: 21.09 MB / 0.7132 GB, free: 196 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.02e-05/2.146, allocations: 164 kB / 0.7134 GB, free: 195.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01681/2.163, allocations: 7.828 MB / 0.721 GB, free: 193.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007966/2.164, allocations: 77.23 kB / 0.7211 GB, free: 193 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005455/2.169, allocations: 6.529 MB / 0.7275 GB, free: 187.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00203/2.171, allocations: 1.353 MB / 0.7288 GB, free: 187 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001435/2.173, allocations: 217.8 kB / 0.729 GB, free: 186.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0009737/2.174, allocations: 0.7779 MB / 0.7298 GB, free: 186.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009614/2.183, allocations: 3.234 MB / 0.7329 GB, free: 185.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01361/2.197, allocations: 9.82 MB / 0.7425 GB, free: 174.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01342/2.21, allocations: 5.425 MB / 0.7478 GB, free: 169.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002319/2.211, allocations: 68 kB / 0.7479 GB, free: 169.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1438) (initialization): time 0.03312/2.244, allocations: 12.48 MB / 0.7601 GB, free: 158.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001599/2.244, allocations: 104 kB / 0.7602 GB, free: 158.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003117/2.244, allocations: 236 kB / 0.7604 GB, free: 158.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003255/2.245, allocations: 341.5 kB / 0.7607 GB, free: 157.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01524/2.26, allocations: 2.55 MB / 0.7632 GB, free: 155.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004406/2.26, allocations: 460.8 kB / 0.7636 GB, free: 154.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01152/2.272, allocations: 0.5218 MB / 0.7641 GB, free: 154.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002126/2.274, allocations: 0.6498 MB / 0.7648 GB, free: 153.7 MB / 0.5105 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.01191/2.286, allocations: 4.528 MB / 0.7692 GB, free: 149.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001572/2.288, allocations: 0.6594 MB / 0.7698 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01196/2.3, allocations: 4.085 MB / 0.7738 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-05/2.3, allocations: 40 kB / 0.7739 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.58e-05/2.3, allocations: 4 kB / 0.7739 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.26e-05/2.3, allocations: 15.94 kB / 0.7739 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08525/2.385, allocations: 42.07 MB / 0.815 GB, free: 101 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002763/2.385, allocations: 88 kB / 0.8151 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005532/2.391, allocations: 0.8691 MB / 0.8159 GB, free: 100 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001481/2.391, allocations: 132 kB / 0.816 GB, free: 99.87 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008117/2.392, allocations: 200.6 kB / 0.8162 GB, free: 99.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001267/2.392, allocations: 183.2 kB / 0.8164 GB, free: 99.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.031e-05/2.392, allocations: 143.4 kB / 0.8165 GB, free: 99.36 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01291/2.405, allocations: 8.003 MB / 0.8244 GB, free: 89.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002665/2.408, allocations: 0.8667 MB / 0.8252 GB, free: 88.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002728/2.411, allocations: 210.3 kB / 0.8254 GB, free: 88.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006822/2.417, allocations: 211.9 kB / 0.8256 GB, free: 88.52 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001415/2.419, allocations: 0.5835 MB / 0.8262 GB, free: 87.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006044/2.419, allocations: 252 kB / 0.8264 GB, free: 87.69 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01377/2.433, allocations: 4.932 MB / 0.8312 GB, free: 82.79 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.744e-06/2.433, allocations: 0 / 0.8312 GB, free: 82.79 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01445/2.448, allocations: 1.898 MB / 0.8331 GB, free: 80.9 MB / 0.5105 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.01534/2.463, allocations: 8.869 MB / 0.8417 GB, free: 70.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01875/2.482, allocations: 7.651 MB / 0.8492 GB, free: 62.89 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.854e-05/2.482, allocations: 12 kB / 0.8492 GB, free: 62.88 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005434/2.488, allocations: 2.202 MB / 0.8514 GB, free: 60.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009097/2.497, allocations: 1.08 MB / 0.8524 GB, free: 59.63 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3926/2.889, allocations: 49.15 MB / 0.9004 GB, free: 174.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02084/2.91, allocations: 7.161 MB / 0.9074 GB, free: 173.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01126/2.922, allocations: 4.837 MB / 0.9122 GB, free: 172.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.483e-06/2.922, allocations: 0 / 0.9122 GB, free: 172.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.712/8.633, allocations: 169.6 MB / 1.078 GB, free: 32.27 MB / 0.5105 GB