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.CutForceAndTorque3.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.338/2.338, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.276e-05/2.289e-05, allocations: 4 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3461, allocations: 54.84 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1793/0.5255, allocations: 98.35 MB / 456.5 MB, free: 12.36 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/0.5259, allocations: 75.97 kB / 456.5 MB, free: 12.29 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6063/1.132, allocations: 64.8 MB / 0.5091 GB, free: 59.46 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.805e-06/1.132, allocations: 0 / 0.5091 GB, free: 59.46 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000221/1.132, allocations: 75.94 kB / 0.5092 GB, free: 59.39 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: 1328 * Number of variables: 1328 Notification: Performance of Generate backend data structure: time 0.01697/1.149, allocations: 3.118 MB / 0.5122 GB, free: 56.21 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.262e-05/1.15, allocations: 8.031 kB / 0.5122 GB, free: 56.21 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01511/1.165, allocations: 1.937 MB / 0.5141 GB, free: 54.26 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006561/1.171, allocations: 2.032 MB / 0.5161 GB, free: 52.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002295/1.172, allocations: 120 kB / 0.5162 GB, free: 52.06 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002075/1.174, allocations: 211.9 kB / 0.5164 GB, free: 51.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01358/1.187, allocations: 5.387 MB / 0.5217 GB, free: 46.46 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02166/1.209, allocations: 7.374 MB / 0.5289 GB, free: 38.71 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001325/1.209, allocations: 27.8 kB / 0.5289 GB, free: 38.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001086/1.21, allocations: 12 kB / 0.5289 GB, free: 38.67 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00152/1.212, allocations: 0.8074 MB / 0.5297 GB, free: 37.86 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04968/1.262, allocations: 26.52 MB / 0.5556 GB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002964/1.265, allocations: 1.73 MB / 0.5573 GB, free: 8.766 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001413/1.266, allocations: 0.7005 MB / 0.558 GB, free: 8.066 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001119/1.266, allocations: 29.5 kB / 0.558 GB, free: 8.039 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/1.266, allocations: 43.97 kB / 0.5581 GB, free: 7.988 MB / 394.7 MB Notification: Performance of pre-optimization done (n=132): time 4.779e-06/1.266, allocations: 3.938 kB / 0.5581 GB, free: 7.984 MB / 394.7 MB Notification: Performance of matching and sorting (n=132): time 0.006818/1.273, allocations: 1.849 MB / 0.5599 GB, free: 6.125 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/1.273, allocations: 68.72 kB / 0.56 GB, free: 6.043 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003145/1.276, allocations: 1.745 MB / 0.5617 GB, free: 4.258 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002557/1.277, allocations: 25.7 kB / 0.5617 GB, free: 4.227 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001484/1.278, allocations: 2.37 MB / 0.564 GB, free: 1.824 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007466/1.279, allocations: 489.4 kB / 0.5645 GB, free: 1.34 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003505/1.279, allocations: 0 / 0.5645 GB, free: 1.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002904/1.28, allocations: 483.3 kB / 0.5649 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002569/1.282, allocations: 1.046 MB / 0.5659 GB, free: 15.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005234/1.287, allocations: 3.334 MB / 0.5692 GB, free: 11.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004773/1.292, allocations: 1.906 MB / 0.5711 GB, free: 9.438 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.877e-05/1.292, allocations: 24 kB / 0.5711 GB, free: 9.414 MB / 410.7 MB Notification: Performance of matching and sorting (n=505) (initialization): time 0.01172/1.304, allocations: 3.876 MB / 0.5749 GB, free: 5.527 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.36e-05/1.304, allocations: 40 kB / 0.5749 GB, free: 5.488 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001443/1.304, allocations: 84 kB / 0.575 GB, free: 5.406 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001834/1.305, allocations: 116 kB / 0.5751 GB, free: 5.293 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005598/1.31, allocations: 0.885 MB / 0.576 GB, free: 4.406 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001805/1.31, allocations: 163.3 kB / 0.5761 GB, free: 4.246 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003819/1.314, allocations: 431.1 kB / 0.5765 GB, free: 3.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007565/1.315, allocations: 235.9 kB / 0.5768 GB, free: 3.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 372 * Number of states: 0 () * Number of discrete variables: 27 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (481): * Single equations (assignments): 478 * 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 prepare postOptimizeDAE: time 0.0006985/1.316, allocations: 310 kB / 0.577 GB, free: 3.277 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003584/1.319, allocations: 1.408 MB / 0.5784 GB, free: 1.859 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003938/1.32, allocations: 185.6 kB / 0.5786 GB, free: 1.676 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004358/1.324, allocations: 1.621 MB / 0.5802 GB, free: 40 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.974e-05/1.324, allocations: 19.89 kB / 0.5802 GB, free: 20 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.743e-05/1.324, allocations: 0 / 0.5802 GB, free: 20 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.72e-05/1.324, allocations: 11.97 kB / 0.5802 GB, free: 8 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01909/1.343, allocations: 7.04 MB / 0.5871 GB, free: 8.699 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.718e-05/1.344, allocations: 19.95 kB / 0.5871 GB, free: 8.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001805/1.345, allocations: 208.3 kB / 0.5873 GB, free: 8.477 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.275e-05/1.345, allocations: 24 kB / 0.5873 GB, free: 8.453 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001382/1.346, allocations: 35.98 kB / 0.5874 GB, free: 8.418 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.583e-05/1.346, allocations: 31.92 kB / 0.5874 GB, free: 8.387 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.193e-05/1.346, allocations: 27.88 kB / 0.5874 GB, free: 8.359 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005226/1.351, allocations: 3.195 MB / 0.5905 GB, free: 4.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006681/1.352, allocations: 290.2 kB / 0.5908 GB, free: 4.016 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003768/1.352, allocations: 20 kB / 0.5908 GB, free: 3.996 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/1.353, allocations: 39.91 kB / 0.5909 GB, free: 3.957 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002916/1.354, allocations: 115.6 kB / 0.591 GB, free: 3.844 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001619/1.354, allocations: 59.97 kB / 0.591 GB, free: 3.785 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002622/1.356, allocations: 1.16 MB / 0.5922 GB, free: 2.602 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.61e-07/1.357, allocations: 0 / 0.5922 GB, free: 2.602 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004973/1.361, allocations: 0.8625 MB / 0.593 GB, free: 1.734 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * 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.007527/1.369, allocations: 8.156 MB / 0.601 GB, free: 9.078 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006273/1.375, allocations: 2.513 MB / 0.6034 GB, free: 6.586 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.076e-05/1.375, allocations: 4 kB / 0.6034 GB, free: 6.582 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001783/1.377, allocations: 0.7296 MB / 0.6042 GB, free: 5.855 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001763/1.379, allocations: 210.4 kB / 0.6044 GB, free: 5.648 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02266/1.402, allocations: 7.249 MB / 0.6114 GB, free: 14.13 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00523/1.407, allocations: 2.906 MB / 0.6143 GB, free: 11.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003314/1.41, allocations: 1.479 MB / 0.6157 GB, free: 9.715 MB / 458.7 MB Notification: Performance of SimCode: time 1.142e-06/1.41, allocations: 0 / 0.6157 GB, free: 9.715 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.641/5.051, allocations: 56.8 MB / 0.6712 GB, free: 105.6 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat does not exist to compare? outputFormat=mat