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.283/2.283, allocations: 234.9 MB / 250.5 MB, free: 10.53 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004353/0.0004354, allocations: 16 kB / 314.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3532, allocations: 54.86 MB / 369.4 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1932/0.5465, allocations: 98.79 MB / 468.1 MB, free: 7.898 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003148/0.5469, allocations: 83.97 kB / 468.2 MB, free: 7.816 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9158/1.463, allocations: 158.9 MB / 0.6125 GB, free: 5.336 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.745e-06/1.463, allocations: 4 kB / 0.6125 GB, free: 5.332 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005148/1.463, allocations: 152 kB / 0.6126 GB, free: 5.184 MB / 442.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.03499/1.498, allocations: 8.299 MB / 0.6207 GB, free: 12.79 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/1.498, allocations: 8.031 kB / 0.6207 GB, free: 12.79 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007041/1.505, allocations: 1.392 MB / 0.6221 GB, free: 11.38 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03266/1.538, allocations: 3.62 MB / 0.6256 GB, free: 7.746 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4052/1.943, allocations: 9.588 MB / 0.635 GB, free: 59.22 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001015/1.944, allocations: 0.6011 MB / 0.6356 GB, free: 59.2 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005223/1.95, allocations: 0.7922 MB / 0.6364 GB, free: 59.2 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07766/2.027, allocations: 18.95 MB / 0.6549 GB, free: 55.14 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007177/2.028, allocations: 87.98 kB / 0.6549 GB, free: 55.14 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005046/2.033, allocations: 386.8 kB / 0.6553 GB, free: 55.14 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006187/2.039, allocations: 1.777 MB / 0.657 GB, free: 55.12 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05324/2.093, allocations: 14.97 MB / 0.6717 GB, free: 55.07 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2251/2.318, allocations: 79 MB / 0.7488 GB, free: 19.66 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06228/2.38, allocations: 6.095 MB / 0.7548 GB, free: 17.78 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03917/2.42, allocations: 10.99 MB / 0.7655 GB, free: 12.04 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.345e-05/2.42, allocations: 66.59 kB / 0.7655 GB, free: 11.97 MB / 474.7 MB Notification: Performance of pre-optimization done (n=238): time 8.135e-06/2.42, allocations: 0 / 0.7655 GB, free: 11.97 MB / 474.7 MB Notification: Performance of matching and sorting (n=262): time 0.08264/2.502, allocations: 16.28 MB / 0.7814 GB, free: 14.42 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/2.503, allocations: 150.5 kB / 0.7816 GB, free: 14.24 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01818/2.521, allocations: 5.91 MB / 0.7874 GB, free: 9.441 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005843/2.521, allocations: 61.7 kB / 0.7874 GB, free: 9.375 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00621/2.528, allocations: 5.35 MB / 0.7926 GB, free: 4.574 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001782/2.529, allocations: 1.021 MB / 0.7936 GB, free: 3.684 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001187/2.531, allocations: 176 kB / 0.7938 GB, free: 3.512 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0008552/2.532, allocations: 0.6766 MB / 0.7945 GB, free: 2.926 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009563/2.541, allocations: 2.572 MB / 0.797 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0242/2.565, allocations: 8.699 MB / 0.8055 GB, free: 7.918 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01318/2.579, allocations: 4.435 MB / 0.8098 GB, free: 4.059 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002183/2.579, allocations: 56 kB / 0.8099 GB, free: 4.004 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.03286/2.612, allocations: 10.24 MB / 0.8199 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001767/2.612, allocations: 88 kB / 0.82 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003487/2.612, allocations: 200 kB / 0.8201 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004019/2.613, allocations: 292 kB / 0.8204 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01433/2.627, allocations: 2.181 MB / 0.8225 GB, free: 8.625 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005474/2.628, allocations: 386.8 kB / 0.8229 GB, free: 8.289 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01136/2.639, allocations: 0.6075 MB / 0.8235 GB, free: 7.773 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002163/2.641, allocations: 0.54 MB / 0.824 GB, free: 7.242 MB / 0.5105 GB 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 () * Number of clocked 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.01101/2.652, allocations: 3.607 MB / 0.8276 GB, free: 4.09 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00168/2.654, allocations: 0.5784 MB / 0.8281 GB, free: 3.504 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009638/2.664, allocations: 2.805 MB / 0.8309 GB, free: 1.125 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.912e-05/2.664, allocations: 28 kB / 0.8309 GB, free: 1.098 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.78e-05/2.664, allocations: 0 / 0.8309 GB, free: 1.098 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.84e-05/2.664, allocations: 11.58 kB / 0.8309 GB, free: 1.098 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4311/3.095, allocations: 26.46 MB / 0.8567 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001384/3.095, allocations: 55.78 kB / 0.8568 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003596/3.099, allocations: 0.5161 MB / 0.8573 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-05/3.099, allocations: 75.22 kB / 0.8574 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005211/3.099, allocations: 115 kB / 0.8575 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.193e-05/3.1, allocations: 103.8 kB / 0.8576 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.367e-05/3.1, allocations: 84.28 kB / 0.8577 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01183/3.111, allocations: 14.58 MB / 0.8719 GB, free: 94.56 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002381/3.114, allocations: 0.6904 MB / 0.8726 GB, free: 94.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002094/3.116, allocations: 118.9 kB / 0.8727 GB, free: 94.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005674/3.122, allocations: 202.3 kB / 0.8729 GB, free: 94.47 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000959/3.123, allocations: 348 kB / 0.8732 GB, free: 94.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003873/3.123, allocations: 151.8 kB / 0.8734 GB, free: 94.43 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01285/3.136, allocations: 4.201 MB / 0.8775 GB, free: 94.21 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.062e-06/3.136, allocations: 0 / 0.8775 GB, free: 94.21 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01189/3.148, allocations: 1.489 MB / 0.8789 GB, free: 94.21 MB / 0.5105 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 () * Number of clocked 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.01455/3.163, allocations: 25.14 MB / 0.9035 GB, free: 71.26 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01572/3.178, allocations: 5.974 MB / 0.9093 GB, free: 71.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.416e-05/3.179, allocations: 7.125 kB / 0.9093 GB, free: 71.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003738/3.182, allocations: 1.469 MB / 0.9107 GB, free: 71.04 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007484/3.19, allocations: 0.869 MB / 0.9116 GB, free: 71 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5531/3.743, allocations: 199.6 MB / 1.107 GB, free: 66.26 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01596/3.759, allocations: 5.728 MB / 1.112 GB, free: 65.38 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0117/3.771, allocations: 3.724 MB / 1.116 GB, free: 65.37 MB / 0.5417 GB Notification: Performance of SimCode: time 1.743e-06/3.771, allocations: 2.375 kB / 1.116 GB, free: 65.37 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.455/9.226, allocations: 138.5 MB / 1.251 GB, free: 139.6 MB / 0.5417 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