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.CutForceAndTorque1.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.CutForceAndTorque1,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.309/2.309, allocations: 235 MB / 248 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.094e-05/3.103e-05, allocations: 4 kB / 309.8 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.39, allocations: 54.86 MB / 364.6 MB, free: 5.422 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1771/0.5672, allocations: 100.8 MB / 465.4 MB, free: 11.52 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/0.5675, allocations: 87.53 kB / 465.5 MB, free: 11.44 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.098/1.666, allocations: 200.7 MB / 0.6506 GB, free: 39.79 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.673e-06/1.666, allocations: 4 kB / 0.6506 GB, free: 39.79 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000547/1.666, allocations: 199.9 kB / 0.6508 GB, free: 39.59 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.03701/1.703, allocations: 9.412 MB / 0.66 GB, free: 30.09 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/1.703, allocations: 16.02 kB / 0.66 GB, free: 30.07 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008673/1.712, allocations: 1.817 MB / 0.6618 GB, free: 28.24 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03495/1.747, allocations: 4.03 MB / 0.6657 GB, free: 24.19 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03545/1.782, allocations: 10.56 MB / 0.676 GB, free: 13.54 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001079/1.784, allocations: 0.7903 MB / 0.6768 GB, free: 12.75 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00599/1.79, allocations: 1.043 MB / 0.6778 GB, free: 11.71 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08294/1.873, allocations: 24.08 MB / 0.7013 GB, free: 2.012 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007098/1.873, allocations: 95.14 kB / 0.7014 GB, free: 1.918 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005927/1.879, allocations: 491.8 kB / 0.7019 GB, free: 1.438 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3874/2.267, allocations: 2.264 MB / 0.7041 GB, free: 68.06 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06546/2.332, allocations: 18.97 MB / 0.7226 GB, free: 67.97 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1719/2.504, allocations: 94.16 MB / 0.8146 GB, free: 13.89 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03423/2.539, allocations: 7.54 MB / 0.8219 GB, free: 11.59 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007597/2.546, allocations: 3.032 MB / 0.8249 GB, free: 10.43 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0389/2.585, allocations: 13.3 MB / 0.8379 GB, free: 3.594 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.736e-05/2.585, allocations: 68.72 kB / 0.838 GB, free: 3.516 MB / 474.7 MB Notification: Performance of pre-optimization done (n=336): time 8.205e-06/2.585, allocations: 0 / 0.838 GB, free: 3.516 MB / 474.7 MB Notification: Performance of matching and sorting (n=360): time 0.08861/2.674, allocations: 18.79 MB / 0.8563 GB, free: 3.613 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/2.674, allocations: 166.9 kB / 0.8565 GB, free: 3.418 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01987/2.694, allocations: 6.518 MB / 0.8628 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008509/2.695, allocations: 77.7 kB / 0.8629 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00745/2.702, allocations: 6.554 MB / 0.8693 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002437/2.705, allocations: 1.354 MB / 0.8706 GB, free: 6.895 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001436/2.706, allocations: 216 kB / 0.8708 GB, free: 6.684 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001077/2.707, allocations: 0.7544 MB / 0.8716 GB, free: 6.051 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009538/2.717, allocations: 2.986 MB / 0.8745 GB, free: 3.359 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01628/2.733, allocations: 9.468 MB / 0.8837 GB, free: 7.324 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01412/2.748, allocations: 5.236 MB / 0.8888 GB, free: 2.883 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000262/2.748, allocations: 64 kB / 0.8889 GB, free: 2.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.4677/3.216, allocations: 11.93 MB / 0.9005 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002065/3.216, allocations: 103.5 kB / 0.9006 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004324/3.216, allocations: 230.6 kB / 0.9009 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005513/3.217, allocations: 338.1 kB / 0.9012 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01791/3.235, allocations: 2.617 MB / 0.9037 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000635/3.235, allocations: 454.2 kB / 0.9042 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01351/3.249, allocations: 0.6866 MB / 0.9048 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002662/3.252, allocations: 0.6335 MB / 0.9055 GB, free: 104.7 MB / 0.5105 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 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[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 () * 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.003754/3.255, allocations: 0.9476 MB / 0.9064 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001641/3.257, allocations: 0.6632 MB / 0.907 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01195/3.269, allocations: 3.979 MB / 0.9109 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.091e-05/3.269, allocations: 43.2 kB / 0.911 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.656e-05/3.269, allocations: 4.203 kB / 0.911 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.5e-05/3.269, allocations: 16.08 kB / 0.911 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1028/3.372, allocations: 50.04 MB / 0.9599 GB, free: 97.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002132/3.372, allocations: 71.22 kB / 0.9599 GB, free: 97.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005702/3.378, allocations: 0.7435 MB / 0.9606 GB, free: 96.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001315/3.378, allocations: 108.4 kB / 0.9608 GB, free: 96.98 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007361/3.379, allocations: 161 kB / 0.9609 GB, free: 96.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000102/3.379, allocations: 144.3 kB / 0.961 GB, free: 96.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.191e-05/3.379, allocations: 109.3 kB / 0.9611 GB, free: 96.88 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01574/3.395, allocations: 21.37 MB / 0.982 GB, free: 75.81 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002699/3.398, allocations: 0.7955 MB / 0.9828 GB, free: 75.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002504/3.4, allocations: 167.4 kB / 0.983 GB, free: 75.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00735/3.408, allocations: 277.6 kB / 0.9832 GB, free: 75.35 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001435/3.409, allocations: 489.5 kB / 0.9837 GB, free: 75.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006249/3.41, allocations: 210 kB / 0.9839 GB, free: 75.14 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01234/3.422, allocations: 4.455 MB / 0.9882 GB, free: 73.66 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.32e-07/3.422, allocations: 0 / 0.9882 GB, free: 73.66 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01453/3.437, allocations: 1.874 MB / 0.9901 GB, free: 73.45 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 330 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (376): * Single equations (assignments): 373 * 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.01891/3.456, allocations: 34.38 MB / 1.024 GB, free: 37.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01775/3.474, allocations: 7.304 MB / 1.031 GB, free: 30.85 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.557e-05/3.474, allocations: 12 kB / 1.031 GB, free: 30.84 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005196/3.479, allocations: 2.072 MB / 1.033 GB, free: 29.01 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008686/3.488, allocations: 1.032 MB / 1.034 GB, free: 28.14 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07001/3.558, allocations: 22.39 MB / 1.056 GB, free: 7.574 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01698/3.575, allocations: 7.131 MB / 1.063 GB, free: 2.398 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01784/3.593, allocations: 5.232 MB / 1.068 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of SimCode: time 1.363e-06/3.593, allocations: 0 / 1.068 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.101/9.693, allocations: 173.6 MB / 1.237 GB, free: 32.93 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat does not exist to compare? outputFormat=mat