Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.289/2.289, allocations: 234.9 MB / 250.4 MB, free: 9.695 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005946/0.0005948, allocations: 16 kB / 314.4 MB, free: 9.641 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3619, allocations: 54.86 MB / 369.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2): time 0.1697/0.5316, allocations: 109.3 MB / 478.6 MB, free: 15.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.06733/0.599, allocations: 23.86 MB / 0.4906 GB, free: 7.277 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02215/0.6212, allocations: 0.5301 MB / 0.4912 GB, free: 6.746 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01963/0.6409, allocations: 5.658 MB / 0.4967 GB, free: 1.062 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.4893/1.13, allocations: 15.5 MB / 0.5118 GB, free: 4.93 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008715/1.139, allocations: 1.402 MB / 0.5132 GB, free: 4.91 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01285/1.152, allocations: 5.435 MB / 0.5185 GB, free: 4.852 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02135/1.173, allocations: 11.38 MB / 0.5296 GB, free: 2.711 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005957/1.179, allocations: 2.504 MB / 0.5321 GB, free: 2.262 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006805/1.186, allocations: 3.329 MB / 0.5353 GB, free: 1.492 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003052/1.189, allocations: 377 kB / 0.5357 GB, free: 1.492 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005378/1.195, allocations: 1.015 MB / 0.5367 GB, free: 1.305 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007273/1.202, allocations: 3.915 MB / 0.5405 GB, free: 0.4922 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004224/1.206, allocations: 1.964 MB / 0.5424 GB, free: 472 kB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02144/1.228, allocations: 13.12 MB / 0.5552 GB, free: 9.164 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/1.228, allocations: 0 / 0.5552 GB, free: 9.164 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.075e-06/1.228, allocations: 0 / 0.5552 GB, free: 9.164 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0007088/1.229, allocations: 0 / 0.5552 GB, free: 9.164 MB / 442.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.03272/1.261, allocations: 9.61 MB / 0.5646 GB, free: 500 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/1.261, allocations: 8.031 kB / 0.5646 GB, free: 492 kB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006538/1.268, allocations: 1.702 MB / 0.5663 GB, free: 15.47 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0254/1.293, allocations: 3.476 MB / 0.5697 GB, free: 12.13 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01935/1.313, allocations: 6.394 MB / 0.5759 GB, free: 7.461 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008577/1.314, allocations: 0.5935 MB / 0.5765 GB, free: 7.129 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004077/1.318, allocations: 0.7661 MB / 0.5772 GB, free: 6.629 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07329/1.391, allocations: 24.68 MB / 0.6013 GB, free: 3.699 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005059/1.392, allocations: 80.5 kB / 0.6014 GB, free: 3.66 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003667/1.395, allocations: 368.3 kB / 0.6018 GB, free: 3.559 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01234/1.408, allocations: 4.54 MB / 0.6062 GB, free: 15.86 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06804/1.476, allocations: 19.38 MB / 0.6251 GB, free: 2.387 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5671/2.043, allocations: 85.94 MB / 0.7091 GB, free: 170.2 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03628/2.079, allocations: 7.838 MB / 0.7167 GB, free: 169.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03893/2.118, allocations: 13.28 MB / 0.7297 GB, free: 166.4 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.198e-05/2.118, allocations: 79.27 kB / 0.7298 GB, free: 166.4 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=336): time 7.474e-06/2.118, allocations: 0 / 0.7298 GB, free: 166.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=360): time 0.08846/2.207, allocations: 21.09 MB / 0.7503 GB, free: 158.8 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.324e-05/2.207, allocations: 171.2 kB / 0.7505 GB, free: 158.6 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01868/2.226, allocations: 7.821 MB / 0.7581 GB, free: 153.8 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0009486/2.227, allocations: 83.27 kB / 0.7582 GB, free: 153.7 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.007055/2.234, allocations: 6.525 MB / 0.7646 GB, free: 147.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002354/2.236, allocations: 1.368 MB / 0.7659 GB, free: 145.9 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001263/2.238, allocations: 212 kB / 0.7661 GB, free: 145.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0008522/2.238, allocations: 0.7777 MB / 0.7669 GB, free: 144.9 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01189/2.25, allocations: 3.234 MB / 0.7701 GB, free: 141.7 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01703/2.267, allocations: 9.812 MB / 0.7796 GB, free: 128.9 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02918/2.297, allocations: 5.431 MB / 0.7849 GB, free: 123.9 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003065/2.297, allocations: 72 kB / 0.785 GB, free: 123.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1438) (initialization): time 0.04328/2.34, allocations: 12.48 MB / 0.7972 GB, free: 111.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001655/2.341, allocations: 104.2 kB / 0.7973 GB, free: 111.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003101/2.341, allocations: 232 kB / 0.7975 GB, free: 111.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003524/2.341, allocations: 347.9 kB / 0.7979 GB, free: 111.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01585/2.357, allocations: 2.554 MB / 0.8003 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004745/2.358, allocations: 454.2 kB / 0.8008 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01166/2.369, allocations: 0.5149 MB / 0.8013 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002154/2.372, allocations: 0.6601 MB / 0.8019 GB, free: 106.9 MB / 0.5417 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.01152/2.383, allocations: 4.521 MB / 0.8063 GB, free: 102.4 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00153/2.385, allocations: 0.6594 MB / 0.807 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01359/2.398, allocations: 4.077 MB / 0.811 GB, free: 97.57 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.384e-05/2.398, allocations: 36 kB / 0.811 GB, free: 97.54 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.938e-05/2.398, allocations: 4 kB / 0.811 GB, free: 97.54 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-05/2.398, allocations: 19.94 kB / 0.811 GB, free: 97.52 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1294/2.528, allocations: 42.07 MB / 0.8521 GB, free: 54.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000322/2.528, allocations: 91.98 kB / 0.8522 GB, free: 54.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005668/2.534, allocations: 0.8577 MB / 0.853 GB, free: 53.23 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001481/2.534, allocations: 132 kB / 0.8532 GB, free: 53.11 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008109/2.535, allocations: 200.5 kB / 0.8534 GB, free: 52.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001466/2.535, allocations: 179.3 kB / 0.8535 GB, free: 52.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-05/2.535, allocations: 147.4 kB / 0.8537 GB, free: 52.59 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01348/2.549, allocations: 8.014 MB / 0.8615 GB, free: 43.05 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002806/2.552, allocations: 0.859 MB / 0.8623 GB, free: 42.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002801/2.554, allocations: 207.9 kB / 0.8625 GB, free: 41.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006591/2.561, allocations: 207.9 kB / 0.8627 GB, free: 41.76 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00125/2.562, allocations: 0.5913 MB / 0.8633 GB, free: 41.17 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004805/2.563, allocations: 247.7 kB / 0.8635 GB, free: 40.93 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01247/2.575, allocations: 4.936 MB / 0.8684 GB, free: 36.04 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.012e-06/2.575, allocations: 4 kB / 0.8684 GB, free: 36.03 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01423/2.59, allocations: 1.893 MB / 0.8702 GB, free: 34.14 MB / 0.5417 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.01397/2.604, allocations: 8.872 MB / 0.8789 GB, free: 23.74 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01842/2.622, allocations: 7.642 MB / 0.8863 GB, free: 16.14 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.54e-05/2.622, allocations: 19.94 kB / 0.8864 GB, free: 16.12 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0053/2.628, allocations: 2.208 MB / 0.8885 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008833/2.636, allocations: 1.087 MB / 0.8896 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4515/3.088, allocations: 49.15 MB / 0.9376 GB, free: 201.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01708/3.105, allocations: 7.171 MB / 0.9446 GB, free: 200.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01028/3.115, allocations: 4.827 MB / 0.9493 GB, free: 197.7 MB / 0.5573 GB Notification: Performance of SimCode: time 1.232e-06/3.116, allocations: 0 / 0.9493 GB, free: 197.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.554/8.67, allocations: 169.6 MB / 1.115 GB, free: 44.55 MB / 0.5573 GB