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/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.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.268/2.268, allocations: 235 MB / 248.1 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.378e-05/3.388e-05, allocations: 3.984 kB / 309.8 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.3951, allocations: 54.85 MB / 364.6 MB, free: 5.402 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1835/0.5787, allocations: 99.02 MB / 463.6 MB, free: 13.35 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/0.579, allocations: 79.95 kB / 463.7 MB, free: 13.27 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.289/0.8681, allocations: 66.44 MB / 0.5177 GB, free: 10.38 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.8681, allocations: 4 kB / 0.5177 GB, free: 10.38 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000186/0.8683, allocations: 71.94 kB / 0.5178 GB, free: 10.3 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: 1328 * Number of variables: 1328 Notification: Performance of Generate backend data structure: time 0.01207/0.8804, allocations: 3.129 MB / 0.5209 GB, free: 7.117 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.796e-05/0.8805, allocations: 8.031 kB / 0.5209 GB, free: 7.109 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003191/0.8837, allocations: 0.6758 MB / 0.5215 GB, free: 6.422 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0155/0.8992, allocations: 1.937 MB / 0.5234 GB, free: 4.477 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007614/0.9069, allocations: 2.032 MB / 0.5254 GB, free: 2.395 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000445/0.9074, allocations: 279.4 kB / 0.5257 GB, free: 2.121 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00212/0.9096, allocations: 367.9 kB / 0.526 GB, free: 1.762 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.341/1.251, allocations: 8.058 MB / 0.5339 GB, free: 111.2 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000182/1.251, allocations: 17.78 kB / 0.5339 GB, free: 111.2 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001592/1.252, allocations: 165.6 kB / 0.5341 GB, free: 111.2 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002063/1.255, allocations: 0.812 MB / 0.5349 GB, free: 111.2 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02224/1.277, allocations: 6.902 MB / 0.5416 GB, free: 111.1 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05314/1.33, allocations: 27.53 MB / 0.5685 GB, free: 96.22 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008171/1.338, allocations: 2.519 MB / 0.5709 GB, free: 95.03 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00219/1.34, allocations: 0.9542 MB / 0.5719 GB, free: 94.68 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01295/1.353, allocations: 4.482 MB / 0.5762 GB, free: 92.58 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/1.354, allocations: 46.95 kB / 0.5763 GB, free: 92.53 MB / 458.7 MB Notification: Performance of pre-optimization done (n=120): time 5.6e-06/1.354, allocations: 0 / 0.5763 GB, free: 92.53 MB / 458.7 MB Notification: Performance of matching and sorting (n=120): time 0.01033/1.364, allocations: 2.111 MB / 0.5784 GB, free: 92.01 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/1.364, allocations: 63.91 kB / 0.5784 GB, free: 91.95 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00407/1.368, allocations: 1.96 MB / 0.5803 GB, free: 91.19 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002356/1.368, allocations: 38.02 kB / 0.5804 GB, free: 91.15 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001619/1.37, allocations: 2.311 MB / 0.5826 GB, free: 89.53 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000684/1.371, allocations: 462.4 kB / 0.5831 GB, free: 89.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000308/1.371, allocations: 70.78 kB / 0.5831 GB, free: 89.14 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002475/1.371, allocations: 467.6 kB / 0.5836 GB, free: 88.77 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002405/1.374, allocations: 1.045 MB / 0.5846 GB, free: 88.44 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003782/1.378, allocations: 3.157 MB / 0.5877 GB, free: 85.24 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004202/1.382, allocations: 1.849 MB / 0.5895 GB, free: 84.67 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.969e-05/1.382, allocations: 23.22 kB / 0.5895 GB, free: 84.67 MB / 458.7 MB Notification: Performance of matching and sorting (n=468) (initialization): time 0.0104/1.392, allocations: 4.068 MB / 0.5935 GB, free: 83.19 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.682e-05/1.392, allocations: 39.5 kB / 0.5935 GB, free: 83.19 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-05/1.393, allocations: 72.56 kB / 0.5936 GB, free: 83.19 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001357/1.393, allocations: 112.7 kB / 0.5937 GB, free: 83.19 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004935/1.398, allocations: 0.8095 MB / 0.5945 GB, free: 83.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001539/1.398, allocations: 155 kB / 0.5946 GB, free: 83.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003755/1.402, allocations: 490.8 kB / 0.5951 GB, free: 82.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007468/1.402, allocations: 217.9 kB / 0.5953 GB, free: 82.71 MB / 458.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 () * 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.000705/1.403, allocations: 381.6 kB / 0.5957 GB, free: 82.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004074/1.404, allocations: 192.7 kB / 0.5959 GB, free: 82.29 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003375/1.407, allocations: 1.48 MB / 0.5973 GB, free: 81.76 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.7e-05/1.407, allocations: 16.98 kB / 0.5973 GB, free: 81.76 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/1.407, allocations: 0 / 0.5973 GB, free: 81.76 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/1.407, allocations: 7.703 kB / 0.5973 GB, free: 81.75 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01826/1.425, allocations: 7.348 MB / 0.6045 GB, free: 77.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.217e-05/1.425, allocations: 16 kB / 0.6045 GB, free: 77.69 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001533/1.427, allocations: 188.3 kB / 0.6047 GB, free: 77.54 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.98e-05/1.427, allocations: 20 kB / 0.6047 GB, free: 77.52 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/1.427, allocations: 39.05 kB / 0.6048 GB, free: 77.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.393e-05/1.427, allocations: 31.81 kB / 0.6048 GB, free: 77.45 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.641e-05/1.427, allocations: 23.88 kB / 0.6048 GB, free: 77.43 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003613/1.431, allocations: 3.141 MB / 0.6079 GB, free: 73.82 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007602/1.432, allocations: 335.9 kB / 0.6082 GB, free: 73.48 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003902/1.432, allocations: 35.38 kB / 0.6082 GB, free: 73.45 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/1.434, allocations: 54.97 kB / 0.6083 GB, free: 73.41 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/1.434, allocations: 107.1 kB / 0.6084 GB, free: 73.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/1.434, allocations: 56.86 kB / 0.6084 GB, free: 73.27 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003335/1.437, allocations: 1.524 MB / 0.6099 GB, free: 71.91 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.92e-07/1.437, allocations: 0 / 0.6099 GB, free: 71.91 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004372/1.442, allocations: 0.921 MB / 0.6108 GB, free: 70.98 MB / 458.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 () * 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.004905/1.447, allocations: 7.643 MB / 0.6183 GB, free: 63.07 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005476/1.452, allocations: 2.498 MB / 0.6207 GB, free: 60.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.719e-05/1.452, allocations: 11.19 kB / 0.6207 GB, free: 60.79 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001442/1.454, allocations: 0.6862 MB / 0.6214 GB, free: 60.18 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002023/1.456, allocations: 284.9 kB / 0.6217 GB, free: 59.95 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02016/1.476, allocations: 7.165 MB / 0.6287 GB, free: 53.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005371/1.481, allocations: 2.899 MB / 0.6315 GB, free: 51.25 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003298/1.485, allocations: 1.453 MB / 0.6329 GB, free: 49.91 MB / 458.7 MB Notification: Performance of SimCode: time 1.112e-06/1.485, allocations: 3.938 kB / 0.6329 GB, free: 49.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.508/4.993, allocations: 58.29 MB / 0.6899 GB, free: 10 MB / 474.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