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.CutForceAndTorque3.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.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.006/2.006, allocations: 209.2 MB / 224.8 MB, free: 1.215 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006158/0.0006159, allocations: 12 kB / 282.7 MB, free: 9.621 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1101, allocations: 48.7 MB / 331.4 MB, free: 8.832 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4372/0.5474, allocations: 92.5 MB / 423.9 MB, free: 8.488 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003469/0.5478, allocations: 86.14 kB / 423.9 MB, free: 8.406 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2705/0.8183, allocations: 66.35 MB / 490.3 MB, free: 5.613 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.8183, allocations: 0 / 490.3 MB, free: 5.613 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001857/0.8185, allocations: 67.98 kB / 490.4 MB, free: 5.547 MB / 410.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.0131/0.8316, allocations: 3.234 MB / 493.6 MB, free: 2.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.8317, allocations: 12.02 kB / 493.6 MB, free: 2.238 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003362/0.8351, allocations: 0.6758 MB / 494.3 MB, free: 1.551 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3031/1.138, allocations: 1.938 MB / 496.2 MB, free: 93.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007323/1.146, allocations: 2.036 MB / 498.3 MB, free: 93.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005228/1.146, allocations: 285 kB / 498.5 MB, free: 93.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002366/1.149, allocations: 365.5 kB / 498.9 MB, free: 93.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02878/1.177, allocations: 8.134 MB / 0.4951 GB, free: 92.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000217/1.178, allocations: 20.42 kB / 0.4952 GB, free: 92.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00188/1.18, allocations: 166.3 kB / 0.4953 GB, free: 92.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002239/1.182, allocations: 0.8103 MB / 0.4961 GB, free: 92.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02341/1.205, allocations: 7.018 MB / 0.503 GB, free: 92.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0526/1.258, allocations: 27.52 MB / 0.5298 GB, free: 76.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008116/1.266, allocations: 2.55 MB / 0.5323 GB, free: 75.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01117/1.277, allocations: 4.483 MB / 0.5367 GB, free: 73.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/1.278, allocations: 50.59 kB / 0.5368 GB, free: 73.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=120): time 4.829e-06/1.278, allocations: 0 / 0.5368 GB, free: 73.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=120): time 0.01227/1.29, allocations: 2.978 MB / 0.5397 GB, free: 72.22 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/1.29, allocations: 60 kB / 0.5397 GB, free: 72.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003876/1.294, allocations: 1.982 MB / 0.5417 GB, free: 71.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002317/1.294, allocations: 41.11 kB / 0.5417 GB, free: 71.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001581/1.296, allocations: 2.307 MB / 0.544 GB, free: 69.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006393/1.296, allocations: 459 kB / 0.5444 GB, free: 69.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002482/1.297, allocations: 69.41 kB / 0.5445 GB, free: 69.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002381/1.297, allocations: 467.9 kB / 0.5449 GB, free: 68.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002562/1.299, allocations: 1.08 MB / 0.546 GB, free: 68.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00375/1.303, allocations: 3.188 MB / 0.5491 GB, free: 65.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004135/1.307, allocations: 1.858 MB / 0.5509 GB, free: 64.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.356e-05/1.308, allocations: 21.56 kB / 0.5509 GB, free: 64.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=468) (initialization): time 0.01039/1.318, allocations: 4.132 MB / 0.5549 GB, free: 63.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.121e-05/1.318, allocations: 45.52 kB / 0.555 GB, free: 63.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.895e-05/1.318, allocations: 73.62 kB / 0.5551 GB, free: 63.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001288/1.318, allocations: 114 kB / 0.5552 GB, free: 63.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004759/1.323, allocations: 0.8096 MB / 0.556 GB, free: 62.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001672/1.323, allocations: 146.5 kB / 0.5561 GB, free: 62.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003693/1.327, allocations: 496.7 kB / 0.5566 GB, free: 62.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008124/1.328, allocations: 218.2 kB / 0.5568 GB, free: 62.55 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 342 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.004264/1.332, allocations: 1.704 MB / 0.5584 GB, free: 61.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004829/1.333, allocations: 188.7 kB / 0.5586 GB, free: 61.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00395/1.337, allocations: 1.515 MB / 0.5601 GB, free: 61.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.033e-05/1.337, allocations: 11.56 kB / 0.5601 GB, free: 61.08 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/1.337, allocations: 3.938 kB / 0.5601 GB, free: 61.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.674e-05/1.337, allocations: 3.844 kB / 0.5601 GB, free: 61.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01823/1.355, allocations: 7.368 MB / 0.5673 GB, free: 55.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-05/1.355, allocations: 16 kB / 0.5673 GB, free: 55.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00141/1.356, allocations: 192.2 kB / 0.5675 GB, free: 55.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.596e-05/1.356, allocations: 23.89 kB / 0.5675 GB, free: 55.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001161/1.357, allocations: 32.7 kB / 0.5676 GB, free: 55.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.466e-05/1.357, allocations: 31.59 kB / 0.5676 GB, free: 55.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.544e-05/1.357, allocations: 23.88 kB / 0.5676 GB, free: 55.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003947/1.361, allocations: 3.171 MB / 0.5707 GB, free: 51.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007328/1.361, allocations: 332.7 kB / 0.571 GB, free: 51.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004465/1.362, allocations: 40.67 kB / 0.5711 GB, free: 51.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001379/1.363, allocations: 46.7 kB / 0.5711 GB, free: 50.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002484/1.364, allocations: 108.3 kB / 0.5712 GB, free: 50.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/1.364, allocations: 60.56 kB / 0.5713 GB, free: 50.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003271/1.367, allocations: 1.538 MB / 0.5728 GB, free: 49.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.61e-07/1.367, allocations: 4 kB / 0.5728 GB, free: 49.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004645/1.372, allocations: 0.9248 MB / 0.5737 GB, free: 48.62 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (98): * Single equations (assignments): 95 * 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.005429/1.377, allocations: 7.688 MB / 0.5812 GB, free: 40.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0061/1.383, allocations: 2.543 MB / 0.5837 GB, free: 38.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.601e-05/1.383, allocations: 0 / 0.5837 GB, free: 38.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001703/1.385, allocations: 0.6996 MB / 0.5844 GB, free: 37.85 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002353/1.387, allocations: 293.2 kB / 0.5846 GB, free: 37.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.422/1.81, allocations: 72.09 MB / 0.655 GB, free: 117.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007059/1.817, allocations: 2.89 MB / 0.6579 GB, free: 116.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00351/1.82, allocations: 1.454 MB / 0.6593 GB, free: 116.9 MB / 442.7 MB Notification: Performance of SimCode: time 1.302e-06/1.82, allocations: 0 / 0.6593 GB, free: 116.9 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.611/5.432, allocations: 58.12 MB / 0.716 GB, free: 101.3 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat does not exist to compare? outputFormat=mat