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.CutForce.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.CutForce,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.321/2.321, allocations: 235 MB / 248.1 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.557e-05/3.572e-05, allocations: 0 / 309.8 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3968, allocations: 54.86 MB / 364.6 MB, free: 5.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2159/0.6128, allocations: 98.7 MB / 463.3 MB, free: 13.79 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003538/0.6132, allocations: 75.97 kB / 463.4 MB, free: 13.71 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9815/1.595, allocations: 159.1 MB / 0.6079 GB, free: 84.81 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.545e-06/1.595, allocations: 0 / 0.6079 GB, free: 84.81 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004683/1.595, allocations: 160 kB / 0.6081 GB, free: 84.65 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: 2796 * Number of variables: 2796 Notification: Performance of Generate backend data structure: time 0.02991/1.625, allocations: 7.747 MB / 0.6156 GB, free: 76.82 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/1.625, allocations: 8.031 kB / 0.6157 GB, free: 76.82 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006593/1.632, allocations: 1.4 MB / 0.617 GB, free: 75.41 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03121/1.663, allocations: 3.624 MB / 0.6206 GB, free: 71.77 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03198/1.695, allocations: 9.542 MB / 0.6299 GB, free: 62.14 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008016/1.696, allocations: 0.6017 MB / 0.6305 GB, free: 61.54 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004627/1.701, allocations: 0.7968 MB / 0.6312 GB, free: 60.74 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05755/1.758, allocations: 18.67 MB / 0.6495 GB, free: 40.56 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000561/1.759, allocations: 87.22 kB / 0.6496 GB, free: 40.47 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004235/1.763, allocations: 379.8 kB / 0.6499 GB, free: 40.1 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004675/1.768, allocations: 1.786 MB / 0.6517 GB, free: 38.31 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06066/1.829, allocations: 14.48 MB / 0.6658 GB, free: 23.81 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5523/2.381, allocations: 79.01 MB / 0.743 GB, free: 41.73 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02859/2.41, allocations: 6.02 MB / 0.7488 GB, free: 41.05 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005554/2.415, allocations: 2.381 MB / 0.7512 GB, free: 41.02 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03044/2.446, allocations: 11.02 MB / 0.7619 GB, free: 37.8 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.34e-05/2.446, allocations: 59.66 kB / 0.762 GB, free: 37.76 MB / 474.7 MB Notification: Performance of pre-optimization done (n=238): time 3.284e-05/2.446, allocations: 0 / 0.762 GB, free: 37.76 MB / 474.7 MB Notification: Performance of matching and sorting (n=262): time 0.06783/2.514, allocations: 14.75 MB / 0.7764 GB, free: 33.21 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.456e-05/2.514, allocations: 157.2 kB / 0.7765 GB, free: 33.05 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01426/2.528, allocations: 5.729 MB / 0.7821 GB, free: 32.46 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005748/2.529, allocations: 62.52 kB / 0.7822 GB, free: 32.43 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004671/2.533, allocations: 5.355 MB / 0.7874 GB, free: 29.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001456/2.535, allocations: 1.012 MB / 0.7884 GB, free: 28.74 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001053/2.536, allocations: 175.9 kB / 0.7886 GB, free: 28.74 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000614/2.537, allocations: 0.6848 MB / 0.7893 GB, free: 28.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006662/2.543, allocations: 2.37 MB / 0.7916 GB, free: 28 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0103/2.554, allocations: 7.964 MB / 0.7993 GB, free: 19.69 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01001/2.564, allocations: 4.283 MB / 0.8035 GB, free: 18.56 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002451/2.564, allocations: 57.94 kB / 0.8036 GB, free: 18.56 MB / 474.7 MB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.02634/2.59, allocations: 9.798 MB / 0.8132 GB, free: 15.62 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001584/2.591, allocations: 95.78 kB / 0.8132 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002846/2.591, allocations: 198.2 kB / 0.8134 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003347/2.591, allocations: 292.9 kB / 0.8137 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01388/2.605, allocations: 2.178 MB / 0.8158 GB, free: 15.35 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005356/2.606, allocations: 391.5 kB / 0.8162 GB, free: 15.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01696/2.623, allocations: 0.6152 MB / 0.8168 GB, free: 15.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002456/2.625, allocations: 0.5377 MB / 0.8173 GB, free: 15.02 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 912 * Number of states: 0 () * Number of discrete variables: 57 (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.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.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.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.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 (1128): * Single equations (assignments): 1125 * 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.00316/2.628, allocations: 0.8065 MB / 0.8181 GB, free: 14.36 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001835/2.63, allocations: 0.578 MB / 0.8187 GB, free: 14.04 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01043/2.641, allocations: 2.736 MB / 0.8214 GB, free: 12.98 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.464e-05/2.641, allocations: 33.91 kB / 0.8214 GB, free: 12.98 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.958e-05/2.641, allocations: 0 / 0.8214 GB, free: 12.98 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.853e-05/2.641, allocations: 12.75 kB / 0.8214 GB, free: 12.98 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07362/2.715, allocations: 26.42 MB / 0.8472 GB, free: 7.559 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001411/2.715, allocations: 57.09 kB / 0.8473 GB, free: 7.504 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003887/2.719, allocations: 0.5119 MB / 0.8478 GB, free: 7.055 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001271/2.719, allocations: 79.14 kB / 0.8478 GB, free: 6.98 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005572/2.72, allocations: 112 kB / 0.8479 GB, free: 6.871 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001049/2.72, allocations: 102.3 kB / 0.848 GB, free: 6.785 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.141e-05/2.72, allocations: 83.62 kB / 0.8481 GB, free: 6.703 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01582/2.736, allocations: 14.53 MB / 0.8623 GB, free: 6.309 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002699/2.738, allocations: 0.6924 MB / 0.863 GB, free: 5.625 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002118/2.74, allocations: 119.4 kB / 0.8631 GB, free: 5.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005782/2.746, allocations: 198.8 kB / 0.8633 GB, free: 5.367 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001067/2.747, allocations: 356 kB / 0.8636 GB, free: 5.086 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004016/2.748, allocations: 147.9 kB / 0.8638 GB, free: 4.945 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01255/2.76, allocations: 4.012 MB / 0.8677 GB, free: 1.422 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.012e-06/2.76, allocations: 0 / 0.8677 GB, free: 1.422 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01329/2.774, allocations: 1.519 MB / 0.8692 GB, free: 0 / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 240 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 267 * 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.02071/2.795, allocations: 25.08 MB / 0.8937 GB, free: 5.531 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01574/2.81, allocations: 5.739 MB / 0.8993 GB, free: 292 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.123e-05/2.81, allocations: 9.406 kB / 0.8993 GB, free: 284 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.36/3.17, allocations: 1.457 MB / 0.9007 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007961/3.178, allocations: 0.8632 MB / 0.9015 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0611/3.24, allocations: 17.38 MB / 0.9185 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01494/3.255, allocations: 5.737 MB / 0.9241 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008709/3.263, allocations: 3.728 MB / 0.9278 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.954e-06/3.263, allocations: 5.781 kB / 0.9278 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.965/8.228, allocations: 139.1 MB / 1.064 GB, free: 50.39 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.CutForce_res.mat does not exist to compare? outputFormat=mat