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.CutTorque2.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.CutTorque2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.328/2.328, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.887e-05/3.913e-05, allocations: 11.98 kB / 309.8 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4781/0.4782, allocations: 54.84 MB / 364.6 MB, free: 5.562 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1742/0.6525, allocations: 95.95 MB / 460.6 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003307/0.6529, allocations: 79.95 kB / 460.6 MB, free: 460 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2519/0.9048, allocations: 56.93 MB / 0.5054 GB, free: 7.141 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.9049, allocations: 0 / 0.5054 GB, free: 7.141 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002031/0.9051, allocations: 55.94 kB / 0.5055 GB, free: 7.086 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: 1092 * Number of variables: 1092 Notification: Performance of Generate backend data structure: time 0.01231/0.9174, allocations: 2.673 MB / 0.5081 GB, free: 4.355 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.544e-05/0.9175, allocations: 11.97 kB / 0.5081 GB, free: 4.344 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002488/0.92, allocations: 0.5566 MB / 0.5087 GB, free: 3.777 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01406/0.9341, allocations: 1.837 MB / 0.5105 GB, free: 1.934 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006255/0.9404, allocations: 1.739 MB / 0.5122 GB, free: 148 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003363/0.9408, allocations: 230 kB / 0.5124 GB, free: 15.91 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001411/0.9422, allocations: 287.9 kB / 0.5126 GB, free: 15.63 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02026/0.9625, allocations: 6.755 MB / 0.5192 GB, free: 8.488 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001002/0.9626, allocations: 15.81 kB / 0.5193 GB, free: 8.473 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007773/0.9634, allocations: 139.9 kB / 0.5194 GB, free: 8.336 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001629/0.9651, allocations: 0.6962 MB / 0.5201 GB, free: 7.633 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0187/0.9838, allocations: 5.853 MB / 0.5258 GB, free: 1.766 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3595/1.343, allocations: 23.82 MB / 0.5491 GB, free: 105.3 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007148/1.351, allocations: 2.169 MB / 0.5512 GB, free: 104.6 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001888/1.352, allocations: 0.7922 MB / 0.5519 GB, free: 104.6 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01171/1.364, allocations: 4.01 MB / 0.5559 GB, free: 103.5 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/1.364, allocations: 46.7 kB / 0.5559 GB, free: 103.5 MB / 458.7 MB Notification: Performance of pre-optimization done (n=96): time 4.598e-06/1.364, allocations: 0 / 0.5559 GB, free: 103.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=96): time 0.008322/1.373, allocations: 1.761 MB / 0.5576 GB, free: 103.3 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/1.373, allocations: 59.84 kB / 0.5577 GB, free: 103.3 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003337/1.376, allocations: 1.784 MB / 0.5594 GB, free: 103 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000137/1.376, allocations: 37.55 kB / 0.5595 GB, free: 102.9 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001349/1.378, allocations: 2.009 MB / 0.5614 GB, free: 101.6 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004577/1.378, allocations: 373.2 kB / 0.5618 GB, free: 101.4 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/1.378, allocations: 65.42 kB / 0.5618 GB, free: 101.3 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000214/1.379, allocations: 452.9 kB / 0.5623 GB, free: 101 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001949/1.38, allocations: 0.9269 MB / 0.5632 GB, free: 100.7 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002993/1.383, allocations: 2.875 MB / 0.566 GB, free: 97.75 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003309/1.387, allocations: 1.665 MB / 0.5676 GB, free: 97.31 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.284e-05/1.387, allocations: 21.03 kB / 0.5676 GB, free: 97.31 MB / 458.7 MB Notification: Performance of matching and sorting (n=419) (initialization): time 0.008074/1.395, allocations: 3.655 MB / 0.5712 GB, free: 96.12 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.518e-05/1.395, allocations: 36.34 kB / 0.5712 GB, free: 96.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.62e-05/1.395, allocations: 74.77 kB / 0.5713 GB, free: 96.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001295/1.395, allocations: 100.2 kB / 0.5714 GB, free: 96.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00423/1.4, allocations: 0.725 MB / 0.5721 GB, free: 96.02 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001365/1.4, allocations: 133.8 kB / 0.5722 GB, free: 95.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003368/1.403, allocations: 444.1 kB / 0.5727 GB, free: 95.72 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005886/1.404, allocations: 200.6 kB / 0.5729 GB, free: 95.69 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 317 * Number of states: 0 () * Number of discrete variables: 21 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[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],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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 (395): * Single equations (assignments): 392 * 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.0006178/1.404, allocations: 354.2 kB / 0.5732 GB, free: 95.39 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003901/1.405, allocations: 172.4 kB / 0.5734 GB, free: 95.29 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002728/1.408, allocations: 1.216 MB / 0.5745 GB, free: 94.85 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-05/1.408, allocations: 16.06 kB / 0.5746 GB, free: 94.85 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/1.408, allocations: 0 / 0.5746 GB, free: 94.85 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/1.408, allocations: 7.297 kB / 0.5746 GB, free: 94.85 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01188/1.42, allocations: 5.018 MB / 0.5795 GB, free: 92.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-05/1.42, allocations: 10.31 kB / 0.5795 GB, free: 92.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/1.421, allocations: 138.9 kB / 0.5796 GB, free: 92.76 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.293e-05/1.421, allocations: 15.84 kB / 0.5796 GB, free: 92.76 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.595e-05/1.421, allocations: 26.8 kB / 0.5796 GB, free: 92.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.196e-05/1.421, allocations: 25.55 kB / 0.5797 GB, free: 92.75 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.178e-05/1.421, allocations: 14.75 kB / 0.5797 GB, free: 92.74 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002689/1.424, allocations: 2.29 MB / 0.5819 GB, free: 90.75 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000543/1.424, allocations: 275.9 kB / 0.5822 GB, free: 90.53 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002903/1.425, allocations: 35.48 kB / 0.5822 GB, free: 90.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/1.426, allocations: 41.48 kB / 0.5823 GB, free: 90.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/1.426, allocations: 74.2 kB / 0.5823 GB, free: 90.47 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/1.426, allocations: 42.02 kB / 0.5824 GB, free: 90.47 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002513/1.428, allocations: 1.292 MB / 0.5836 GB, free: 89.96 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.61e-07/1.428, allocations: 0 / 0.5836 GB, free: 89.96 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003661/1.432, allocations: 0.7748 MB / 0.5844 GB, free: 89.72 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 73 * 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.003549/1.436, allocations: 5.559 MB / 0.5898 GB, free: 84.71 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00461/1.44, allocations: 2.196 MB / 0.592 GB, free: 83.98 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.21e-05/1.44, allocations: 4.688 kB / 0.592 GB, free: 83.98 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001121/1.442, allocations: 0.5516 MB / 0.5925 GB, free: 83.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/1.443, allocations: 243 kB / 0.5927 GB, free: 83.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01557/1.459, allocations: 5.912 MB / 0.5985 GB, free: 81.25 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003313/1.462, allocations: 2.511 MB / 0.601 GB, free: 80.14 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002343/1.465, allocations: 1.189 MB / 0.6021 GB, free: 79.19 MB / 458.7 MB Notification: Performance of SimCode: time 1.824e-06/1.465, allocations: 0 / 0.6021 GB, free: 79.19 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.359/4.823, allocations: 48.92 MB / 0.6499 GB, free: 35.66 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat does not exist to compare? outputFormat=mat