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.CutTorque2.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.CutTorque2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.883/1.883, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006588/0.0006589, allocations: 16 kB / 282.7 MB, free: 9.559 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4402/0.4409, allocations: 48.7 MB / 331.4 MB, free: 6.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1832/0.6242, allocations: 89.44 MB / 420.8 MB, free: 4.84 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/0.6245, allocations: 79.95 kB / 420.9 MB, free: 4.762 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5095/1.134, allocations: 56.86 MB / 477.7 MB, free: 94.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.296e-06/1.134, allocations: 0 / 477.7 MB, free: 94.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000153/1.134, allocations: 56.16 kB / 477.8 MB, free: 94.04 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: 1092 * Number of variables: 1092 Notification: Performance of Generate backend data structure: time 0.0107/1.145, allocations: 2.772 MB / 480.6 MB, free: 92.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/1.145, allocations: 9 kB / 480.6 MB, free: 92.77 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002644/1.148, allocations: 0.563 MB / 481.1 MB, free: 92.71 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01474/1.162, allocations: 1.837 MB / 483 MB, free: 92.51 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006151/1.169, allocations: 1.746 MB / 484.7 MB, free: 92.11 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003565/1.169, allocations: 225.4 kB / 484.9 MB, free: 92.1 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001852/1.171, allocations: 296.3 kB / 485.2 MB, free: 92.1 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02115/1.192, allocations: 6.808 MB / 492 MB, free: 91.05 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001459/1.192, allocations: 18.5 kB / 492.1 MB, free: 91.05 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001685/1.194, allocations: 136.6 kB / 492.2 MB, free: 91.05 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001552/1.196, allocations: 0.7007 MB / 492.9 MB, free: 91.04 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01742/1.213, allocations: 5.937 MB / 498.8 MB, free: 90.38 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04644/1.26, allocations: 23.84 MB / 0.5104 GB, free: 74.89 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006915/1.267, allocations: 2.185 MB / 0.5125 GB, free: 73.81 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01072/1.277, allocations: 4.008 MB / 0.5165 GB, free: 71.85 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/1.277, allocations: 53.67 kB / 0.5165 GB, free: 71.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 4.309e-06/1.277, allocations: 4 kB / 0.5165 GB, free: 71.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=96): time 0.00994/1.287, allocations: 2.511 MB / 0.519 GB, free: 70.92 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/1.287, allocations: 59.56 kB / 0.519 GB, free: 70.86 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003771/1.291, allocations: 1.784 MB / 0.5208 GB, free: 70.18 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001803/1.291, allocations: 45 kB / 0.5208 GB, free: 70.14 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001524/1.293, allocations: 2.016 MB / 0.5228 GB, free: 68.55 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005723/1.294, allocations: 378.1 kB / 0.5231 GB, free: 68.29 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002749/1.294, allocations: 62.59 kB / 0.5232 GB, free: 68.24 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002296/1.294, allocations: 453.4 kB / 0.5236 GB, free: 67.87 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00241/1.297, allocations: 0.9472 MB / 0.5246 GB, free: 67.14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003726/1.3, allocations: 2.902 MB / 0.5274 GB, free: 63.47 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003717/1.304, allocations: 1.669 MB / 0.529 GB, free: 61.98 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.506e-05/1.304, allocations: 20 kB / 0.529 GB, free: 61.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=419) (initialization): time 0.009592/1.314, allocations: 3.702 MB / 0.5327 GB, free: 58.66 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.962e-05/1.314, allocations: 35.94 kB / 0.5327 GB, free: 58.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.78e-05/1.314, allocations: 76.09 kB / 0.5328 GB, free: 58.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001133/1.314, allocations: 103.9 kB / 0.5329 GB, free: 58.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004162/1.318, allocations: 0.7167 MB / 0.5336 GB, free: 57.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001397/1.319, allocations: 137.7 kB / 0.5337 GB, free: 57.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003362/1.322, allocations: 441.2 kB / 0.5341 GB, free: 57.28 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006033/1.323, allocations: 203.8 kB / 0.5343 GB, free: 57.08 MB / 394.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 () * Number of clocked 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.003432/1.326, allocations: 1.453 MB / 0.5357 GB, free: 55.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003996/1.326, allocations: 173.5 kB / 0.5359 GB, free: 55.64 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002924/1.329, allocations: 1.233 MB / 0.5371 GB, free: 54.57 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.666e-05/1.329, allocations: 12 kB / 0.5371 GB, free: 54.56 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/1.33, allocations: 0 / 0.5371 GB, free: 54.56 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/1.33, allocations: 7.359 kB / 0.5371 GB, free: 54.55 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01148/1.341, allocations: 5.041 MB / 0.542 GB, free: 49.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.665e-05/1.341, allocations: 12 kB / 0.542 GB, free: 49.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/1.342, allocations: 135.8 kB / 0.5422 GB, free: 49.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.052e-05/1.342, allocations: 16 kB / 0.5422 GB, free: 49.54 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.71e-05/1.342, allocations: 24.62 kB / 0.5422 GB, free: 49.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.752e-05/1.342, allocations: 19.92 kB / 0.5422 GB, free: 49.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.165e-05/1.342, allocations: 19.94 kB / 0.5423 GB, free: 49.48 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002944/1.345, allocations: 2.303 MB / 0.5445 GB, free: 46.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005497/1.346, allocations: 278.5 kB / 0.5448 GB, free: 46.4 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003013/1.346, allocations: 31.98 kB / 0.5448 GB, free: 46.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/1.347, allocations: 35.88 kB / 0.5448 GB, free: 46.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/1.347, allocations: 79.72 kB / 0.5449 GB, free: 46.26 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-05/1.347, allocations: 43.98 kB / 0.545 GB, free: 46.21 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002695/1.35, allocations: 1.308 MB / 0.5462 GB, free: 44.88 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.72e-07/1.35, allocations: 0 / 0.5462 GB, free: 44.88 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003978/1.354, allocations: 0.7733 MB / 0.547 GB, free: 44.11 MB / 394.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 () * Number of clocked 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.003955/1.358, allocations: 5.575 MB / 0.5524 GB, free: 38.21 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005022/1.363, allocations: 2.233 MB / 0.5546 GB, free: 36 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.334e-05/1.363, allocations: 0 / 0.5546 GB, free: 36 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001231/1.365, allocations: 0.5565 MB / 0.5552 GB, free: 35.45 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001758/1.366, allocations: 233.8 kB / 0.5554 GB, free: 35.22 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05686/1.423, allocations: 64.86 MB / 0.6187 GB, free: 148 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2815/1.705, allocations: 2.505 MB / 0.6212 GB, free: 116.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002863/1.708, allocations: 1.183 MB / 0.6223 GB, free: 116.6 MB / 426.7 MB Notification: Performance of SimCode: time 6.91e-07/1.708, allocations: 0 / 0.6223 GB, free: 116.6 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.48/5.188, allocations: 48.77 MB / 0.6699 GB, free: 102.7 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat does not exist to compare? outputFormat=mat