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.CutForceAndTorque1.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.CutForceAndTorque1,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.972/1.972, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007124/0.0007126, allocations: 12 kB / 282.7 MB, free: 9.559 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4559/0.4567, allocations: 48.7 MB / 331.4 MB, free: 6.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1707/0.6274, allocations: 94.19 MB / 425.6 MB, free: 96 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/0.6278, allocations: 79.97 kB / 425.6 MB, free: 16 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.098/1.726, allocations: 200.4 MB / 0.6114 GB, free: 14.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.915e-06/1.726, allocations: 0 / 0.6114 GB, free: 14.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008007/1.727, allocations: 195.9 kB / 0.6116 GB, free: 14.66 MB / 426.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.05545/1.782, allocations: 9.996 MB / 0.6213 GB, free: 4.566 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.968e-05/1.782, allocations: 15.97 kB / 0.6213 GB, free: 4.551 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009698/1.792, allocations: 1.817 MB / 0.6231 GB, free: 2.719 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7316/2.524, allocations: 4.029 MB / 0.6271 GB, free: 46.47 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03799/2.562, allocations: 10.61 MB / 0.6374 GB, free: 46.13 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001624/2.564, allocations: 0.7939 MB / 0.6382 GB, free: 46.11 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007063/2.571, allocations: 1.043 MB / 0.6392 GB, free: 46.1 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08466/2.655, allocations: 24.4 MB / 0.663 GB, free: 41.66 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008504/2.656, allocations: 93 kB / 0.6631 GB, free: 41.65 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006821/2.663, allocations: 496.7 kB / 0.6636 GB, free: 41.65 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005972/2.669, allocations: 2.274 MB / 0.6658 GB, free: 41.63 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06657/2.736, allocations: 19.52 MB / 0.6849 GB, free: 41.55 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.207/2.943, allocations: 94.15 MB / 0.7768 GB, free: 3.516 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0458/2.989, allocations: 8.073 MB / 0.7847 GB, free: 14.33 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04508/3.034, allocations: 13.3 MB / 0.7977 GB, free: 3.012 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.409e-05/3.034, allocations: 74.88 kB / 0.7978 GB, free: 2.93 MB / 474.8 MB Notification: Performance of pre-optimization done (n=336): time 9.287e-06/3.034, allocations: 0 / 0.7978 GB, free: 2.93 MB / 474.8 MB Notification: Performance of matching and sorting (n=360): time 0.4624/3.496, allocations: 21.09 MB / 0.8184 GB, free: 83.7 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.972e-05/3.497, allocations: 166.7 kB / 0.8185 GB, free: 83.54 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02147/3.518, allocations: 6.589 MB / 0.8249 GB, free: 83.01 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009469/3.519, allocations: 83.14 kB / 0.825 GB, free: 82.98 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005991/3.525, allocations: 6.55 MB / 0.8314 GB, free: 79.43 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002325/3.527, allocations: 1.352 MB / 0.8327 GB, free: 78.65 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001605/3.529, allocations: 220.4 kB / 0.833 GB, free: 78.65 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.001179/3.53, allocations: 0.7582 MB / 0.8337 GB, free: 78.32 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01111/3.541, allocations: 3.214 MB / 0.8368 GB, free: 78.3 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01566/3.557, allocations: 9.699 MB / 0.8463 GB, free: 69.93 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01498/3.572, allocations: 5.392 MB / 0.8516 GB, free: 69.87 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003295/3.573, allocations: 66.25 kB / 0.8516 GB, free: 69.87 MB / 474.8 MB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.0375/3.61, allocations: 12.39 MB / 0.8637 GB, free: 69.06 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002062/3.61, allocations: 104.9 kB / 0.8638 GB, free: 69.06 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003829/3.611, allocations: 231.8 kB / 0.8641 GB, free: 69.06 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000367/3.611, allocations: 338.8 kB / 0.8644 GB, free: 69.06 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01691/3.628, allocations: 2.621 MB / 0.8669 GB, free: 68.83 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005709/3.629, allocations: 454.5 kB / 0.8674 GB, free: 68.73 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0141/3.643, allocations: 0.6799 MB / 0.868 GB, free: 68.72 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002651/3.646, allocations: 0.6418 MB / 0.8687 GB, free: 68.71 MB / 474.8 MB 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 () * 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.01374/3.659, allocations: 4.513 MB / 0.8731 GB, free: 68.22 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00218/3.662, allocations: 0.6697 MB / 0.8737 GB, free: 67.86 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01445/3.676, allocations: 4.092 MB / 0.8777 GB, free: 67.64 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.65e-05/3.676, allocations: 36.25 kB / 0.8778 GB, free: 67.64 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.881e-05/3.676, allocations: 3.438 kB / 0.8778 GB, free: 67.64 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-05/3.676, allocations: 18.14 kB / 0.8778 GB, free: 67.64 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1087/3.785, allocations: 50.13 MB / 0.9267 GB, free: 41.19 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002866/3.785, allocations: 79.03 kB / 0.9268 GB, free: 41.12 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005757/3.791, allocations: 0.7384 MB / 0.9275 GB, free: 40.48 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001276/3.791, allocations: 104 kB / 0.9276 GB, free: 40.38 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009333/3.792, allocations: 166.6 kB / 0.9278 GB, free: 40.23 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001187/3.792, allocations: 141 kB / 0.9279 GB, free: 40.11 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.097e-05/3.792, allocations: 115.5 kB / 0.928 GB, free: 40 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01786/3.81, allocations: 21.48 MB / 0.949 GB, free: 15.92 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002931/3.813, allocations: 0.7885 MB / 0.9498 GB, free: 15.14 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002905/3.816, allocations: 176.1 kB / 0.9499 GB, free: 14.99 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007693/3.824, allocations: 274.2 kB / 0.9502 GB, free: 14.78 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001385/3.825, allocations: 485.7 kB / 0.9507 GB, free: 14.39 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005496/3.826, allocations: 208.9 kB / 0.9509 GB, free: 14.2 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.01409/3.84, allocations: 4.646 MB / 0.9554 GB, free: 10.45 MB / 474.8 MB Notification: Performance of sort global known variables: time 8.62e-07/3.84, allocations: 0 / 0.9554 GB, free: 10.45 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01546/3.856, allocations: 1.875 MB / 0.9572 GB, free: 8.582 MB / 474.8 MB 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 () * Number of clocked 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.4068/4.263, allocations: 34.5 MB / 0.9909 GB, free: 71.17 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0224/4.285, allocations: 7.568 MB / 0.9983 GB, free: 71.12 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 7.212e-05/4.285, allocations: 10.25 kB / 0.9983 GB, free: 71.12 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006349/4.292, allocations: 2.124 MB / 1 GB, free: 71.12 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009624/4.301, allocations: 1.034 MB / 1.001 GB, free: 71.09 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6447/4.946, allocations: 236.5 MB / 1.232 GB, free: 119.9 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01839/4.964, allocations: 7.13 MB / 1.239 GB, free: 118.9 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01158/4.976, allocations: 4.847 MB / 1.244 GB, free: 118.9 MB / 0.5574 GB Notification: Performance of SimCode: time 1.252e-06/4.976, allocations: 0 / 1.244 GB, free: 118.9 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.362/11.34, allocations: 172.5 MB / 1.412 GB, free: 147 MB / 0.5574 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat does not exist to compare? outputFormat=mat