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.CutForce2.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.CutForce2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.087/2.087, allocations: 209.2 MB / 224.8 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006155/0.0006155, allocations: 16 kB / 282.7 MB, free: 9.543 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3431, allocations: 48.7 MB / 331.4 MB, free: 6.402 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.164/0.5072, allocations: 89.33 MB / 420.7 MB, free: 4.949 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/0.5075, allocations: 79.95 kB / 420.8 MB, free: 4.871 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5688/1.076, allocations: 55.09 MB / 475.9 MB, free: 94.13 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.607e-06/1.076, allocations: 0.8906 kB / 475.9 MB, free: 94.13 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001586/1.077, allocations: 51.53 kB / 475.9 MB, free: 94.13 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.01103/1.088, allocations: 2.716 MB / 478.6 MB, free: 92.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/1.088, allocations: 10.09 kB / 478.6 MB, free: 92.91 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002722/1.09, allocations: 0.5471 MB / 479.2 MB, free: 92.85 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01802/1.108, allocations: 1.826 MB / 481 MB, free: 92.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008247/1.117, allocations: 1.713 MB / 482.7 MB, free: 92.26 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005733/1.117, allocations: 222.5 kB / 482.9 MB, free: 92.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002478/1.12, allocations: 280.5 kB / 483.2 MB, free: 92.25 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0288/1.149, allocations: 6.625 MB / 489.8 MB, free: 91.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000197/1.149, allocations: 14.19 kB / 489.8 MB, free: 91.23 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001678/1.151, allocations: 139.6 kB / 490 MB, free: 91.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002218/1.153, allocations: 0.6738 MB / 490.7 MB, free: 91.22 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02265/1.176, allocations: 5.794 MB / 496.5 MB, free: 91.14 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05237/1.228, allocations: 23.05 MB / 0.5073 GB, free: 76.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007183/1.235, allocations: 2.246 MB / 0.5095 GB, free: 75.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01011/1.246, allocations: 3.764 MB / 0.5132 GB, free: 73.17 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/1.246, allocations: 46.69 kB / 0.5132 GB, free: 73.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=93): time 5.591e-06/1.246, allocations: 0 / 0.5132 GB, free: 73.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=93): time 0.009824/1.255, allocations: 2.443 MB / 0.5156 GB, free: 72.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/1.256, allocations: 59.69 kB / 0.5157 GB, free: 72.21 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003789/1.259, allocations: 1.767 MB / 0.5174 GB, free: 71.54 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001699/1.26, allocations: 37.23 kB / 0.5174 GB, free: 71.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001419/1.261, allocations: 1.96 MB / 0.5194 GB, free: 69.96 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005677/1.262, allocations: 363.3 kB / 0.5197 GB, free: 69.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002989/1.262, allocations: 61.56 kB / 0.5198 GB, free: 69.66 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002299/1.262, allocations: 451.8 kB / 0.5202 GB, free: 69.29 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00219/1.264, allocations: 0.9198 MB / 0.5211 GB, free: 69.01 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003468/1.268, allocations: 2.832 MB / 0.5239 GB, free: 66.09 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003729/1.272, allocations: 1.609 MB / 0.5254 GB, free: 65.07 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.645e-05/1.272, allocations: 20 kB / 0.5254 GB, free: 65.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.009254/1.281, allocations: 3.62 MB / 0.529 GB, free: 61.83 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.408e-05/1.281, allocations: 32.22 kB / 0.529 GB, free: 61.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-05/1.281, allocations: 72 kB / 0.5291 GB, free: 61.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001158/1.281, allocations: 100 kB / 0.5292 GB, free: 61.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004006/1.285, allocations: 0.7005 MB / 0.5299 GB, free: 61.01 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000139/1.286, allocations: 133 kB / 0.53 GB, free: 60.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003347/1.289, allocations: 441.1 kB / 0.5304 GB, free: 60.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006122/1.29, allocations: 191.2 kB / 0.5306 GB, free: 60.28 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 310 * Number of states: 0 () * Number of discrete variables: 21 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (385): * Single equations (assignments): 382 * 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.003333/1.293, allocations: 1.413 MB / 0.532 GB, free: 59.04 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003923/1.293, allocations: 173 kB / 0.5321 GB, free: 58.88 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00286/1.296, allocations: 1.193 MB / 0.5333 GB, free: 57.85 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.929e-05/1.296, allocations: 11.91 kB / 0.5333 GB, free: 57.84 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/1.296, allocations: 4 kB / 0.5333 GB, free: 57.84 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-05/1.296, allocations: 3.797 kB / 0.5333 GB, free: 57.84 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01245/1.309, allocations: 4.977 MB / 0.5382 GB, free: 53.51 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-05/1.309, allocations: 9.625 kB / 0.5382 GB, free: 53.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/1.31, allocations: 131.8 kB / 0.5383 GB, free: 53.37 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.905e-05/1.31, allocations: 12.75 kB / 0.5383 GB, free: 53.36 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.841e-05/1.31, allocations: 31.94 kB / 0.5384 GB, free: 53.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.636e-05/1.31, allocations: 19.94 kB / 0.5384 GB, free: 53.31 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.079e-05/1.31, allocations: 15.94 kB / 0.5384 GB, free: 53.29 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002986/1.313, allocations: 2.177 MB / 0.5405 GB, free: 50.65 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006419/1.314, allocations: 274.6 kB / 0.5408 GB, free: 50.36 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004195/1.314, allocations: 23.91 kB / 0.5408 GB, free: 50.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/1.315, allocations: 39.88 kB / 0.5408 GB, free: 50.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002035/1.316, allocations: 75.66 kB / 0.5409 GB, free: 50.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.664e-05/1.316, allocations: 42.48 kB / 0.541 GB, free: 50.19 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002862/1.319, allocations: 1.296 MB / 0.5422 GB, free: 48.87 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.032e-06/1.319, allocations: 0 / 0.5422 GB, free: 48.87 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004563/1.323, allocations: 0.7427 MB / 0.5429 GB, free: 48.12 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * 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.004056/1.327, allocations: 5.263 MB / 0.5481 GB, free: 42.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005028/1.332, allocations: 2.16 MB / 0.5502 GB, free: 40.42 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.348e-05/1.333, allocations: 1.75 kB / 0.5502 GB, free: 40.42 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00119/1.334, allocations: 0.5361 MB / 0.5507 GB, free: 39.89 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/1.336, allocations: 231.5 kB / 0.5509 GB, free: 39.66 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05306/1.389, allocations: 63.3 MB / 0.6128 GB, free: 6.219 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005675/1.394, allocations: 2.456 MB / 0.6152 GB, free: 3.742 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00321/1.398, allocations: 1.144 MB / 0.6163 GB, free: 2.598 MB / 426.7 MB Notification: Performance of SimCode: time 1.453e-06/1.398, allocations: 0 / 0.6163 GB, free: 2.598 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.783/5.18, allocations: 47.43 MB / 0.6626 GB, free: 104.1 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat does not exist to compare? outputFormat=mat