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.525/2.525, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004483/0.0004483, allocations: 15.98 kB / 314.5 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4434/0.4439, allocations: 54.86 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.234/0.678, allocations: 100.9 MB / 470.3 MB, free: 5.547 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003951/0.6785, allocations: 83.89 kB / 470.3 MB, free: 5.465 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.511/2.189, allocations: 199.2 MB / 0.6539 GB, free: 45.91 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.306e-06/2.19, allocations: 0 / 0.6539 GB, free: 45.91 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005434/2.19, allocations: 198.2 kB / 0.6541 GB, free: 45.91 MB / 458.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.04096/2.231, allocations: 9.988 MB / 0.6638 GB, free: 41.96 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/2.231, allocations: 16.88 kB / 0.6638 GB, free: 41.96 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009412/2.241, allocations: 1.822 MB / 0.6656 GB, free: 41.83 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03598/2.277, allocations: 4.028 MB / 0.6695 GB, free: 41.14 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0362/2.313, allocations: 10.6 MB / 0.6799 GB, free: 40.07 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001186/2.314, allocations: 0.7917 MB / 0.6807 GB, free: 40.05 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006328/2.32, allocations: 1.037 MB / 0.6817 GB, free: 40.04 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08277/2.403, allocations: 24.4 MB / 0.7055 GB, free: 35.61 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008846/2.404, allocations: 96.8 kB / 0.7056 GB, free: 35.59 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006006/2.41, allocations: 494.8 kB / 0.7061 GB, free: 35.59 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005916/2.416, allocations: 2.274 MB / 0.7083 GB, free: 35.57 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06696/2.483, allocations: 19.52 MB / 0.7274 GB, free: 32.77 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5724/3.056, allocations: 94.51 MB / 0.8197 GB, free: 77.07 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03774/3.093, allocations: 7.715 MB / 0.8272 GB, free: 76.38 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04/3.134, allocations: 13.31 MB / 0.8402 GB, free: 73.44 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.395e-05/3.134, allocations: 70.44 kB / 0.8402 GB, free: 73.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=336): time 7.364e-06/3.134, allocations: 0 / 0.8402 GB, free: 73.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=360): time 0.09384/3.228, allocations: 20.85 MB / 0.8606 GB, free: 67.62 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.65e-05/3.228, allocations: 165.1 kB / 0.8608 GB, free: 67.46 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01835/3.246, allocations: 6.594 MB / 0.8672 GB, free: 66.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009207/3.247, allocations: 76.86 kB / 0.8673 GB, free: 66.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.005733/3.253, allocations: 6.55 MB / 0.8737 GB, free: 63.48 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002163/3.255, allocations: 1.352 MB / 0.875 GB, free: 62.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001524/3.257, allocations: 216.4 kB / 0.8752 GB, free: 62.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001043/3.258, allocations: 0.7576 MB / 0.8759 GB, free: 62.38 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01092/3.269, allocations: 3.216 MB / 0.8791 GB, free: 62.36 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01567/3.284, allocations: 9.701 MB / 0.8886 GB, free: 53.98 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01457/3.299, allocations: 5.397 MB / 0.8938 GB, free: 53.91 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003119/3.299, allocations: 64.91 kB / 0.8939 GB, free: 53.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.0382/3.338, allocations: 12.38 MB / 0.906 GB, free: 53.22 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002355/3.338, allocations: 107.7 kB / 0.9061 GB, free: 53.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004495/3.338, allocations: 237.9 kB / 0.9063 GB, free: 53.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003897/3.339, allocations: 339.8 kB / 0.9066 GB, free: 53.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01727/3.356, allocations: 2.618 MB / 0.9092 GB, free: 52.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005445/3.357, allocations: 454.1 kB / 0.9096 GB, free: 52.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01383/3.37, allocations: 0.6849 MB / 0.9103 GB, free: 52.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002811/3.373, allocations: 0.6374 MB / 0.9109 GB, free: 52.88 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1052 * 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 (1366): * Single equations (assignments): 1363 * 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.01581/3.389, allocations: 4.503 MB / 0.9153 GB, free: 52.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003235/3.392, allocations: 0.6693 MB / 0.916 GB, free: 51.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02092/3.413, allocations: 4.101 MB / 0.92 GB, free: 50.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.945e-05/3.414, allocations: 46.47 kB / 0.92 GB, free: 50.06 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.747e-05/3.414, allocations: 6.281 kB / 0.92 GB, free: 50.06 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001174/3.414, allocations: 14.58 kB / 0.92 GB, free: 50.06 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1288/3.543, allocations: 41.7 MB / 0.9608 GB, free: 20.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003316/3.543, allocations: 88 kB / 0.9608 GB, free: 20 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007994/3.551, allocations: 0.8508 MB / 0.9617 GB, free: 19.26 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002164/3.551, allocations: 128 kB / 0.9618 GB, free: 19.14 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009541/3.552, allocations: 194.2 kB / 0.962 GB, free: 18.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002166/3.552, allocations: 174 kB / 0.9621 GB, free: 18.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001393/3.553, allocations: 139.4 kB / 0.9623 GB, free: 18.66 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02835/3.581, allocations: 25.18 MB / 0.9869 GB, free: 6.176 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004299/3.585, allocations: 0.8362 MB / 0.9877 GB, free: 5.355 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003607/3.589, allocations: 204 kB / 0.9879 GB, free: 5.176 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01036/3.599, allocations: 268.4 kB / 0.9881 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002028/3.602, allocations: 0.5702 MB / 0.9887 GB, free: 4.488 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008977/3.602, allocations: 245.5 kB / 0.9889 GB, free: 4.258 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.02099/3.623, allocations: 4.649 MB / 0.9935 GB, free: 0.5078 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.442e-06/3.624, allocations: 0 / 0.9935 GB, free: 0.5078 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.04178/3.665, allocations: 2.516 MB / 0.9959 GB, free: 0 / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 402 * 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 (444): * Single equations (assignments): 441 * 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.4534/4.119, allocations: 40.93 MB / 1.036 GB, free: 72.65 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02123/4.14, allocations: 7.543 MB / 1.043 GB, free: 72.61 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.445e-05/4.14, allocations: 11.56 kB / 1.043 GB, free: 72.61 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005715/4.146, allocations: 2.171 MB / 1.045 GB, free: 72.61 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009659/4.156, allocations: 1.083 MB / 1.046 GB, free: 72.56 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6667/4.823, allocations: 237 MB / 1.278 GB, free: 152 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02233/4.845, allocations: 7.156 MB / 1.285 GB, free: 151.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01182/4.857, allocations: 4.848 MB / 1.29 GB, free: 151.1 MB / 0.6198 GB Notification: Performance of SimCode: time 1.573e-06/4.857, allocations: 0 / 1.29 GB, free: 151.1 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.536/11.39, allocations: 171.5 MB / 1.457 GB, free: 194.9 MB / 0.6198 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat does not exist to compare? outputFormat=mat