Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test7.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.Tables.CombiTable2D.Test7,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.358/2.358, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004295/0.0004296, allocations: 15.98 kB / 314.5 MB, free: 9.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3706, allocations: 54.86 MB / 369.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1514/0.5221, allocations: 80.87 MB / 450.2 MB, free: 9.637 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/0.5225, allocations: 71.97 kB / 450.3 MB, free: 9.566 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01899/0.5415, allocations: 5.205 MB / 455.5 MB, free: 4.344 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.98e-06/0.5416, allocations: 0 / 455.5 MB, free: 4.344 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.175e-05/0.5416, allocations: 11.94 kB / 455.5 MB, free: 4.332 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0009401/0.5425, allocations: 0.6315 MB / 456.1 MB, free: 3.645 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.5426, allocations: 8.031 kB / 456.2 MB, free: 3.637 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.574e-05/0.5427, allocations: 38.56 kB / 456.2 MB, free: 3.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.658e-05/0.5428, allocations: 43.44 kB / 456.2 MB, free: 3.547 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006096/0.5434, allocations: 315.4 kB / 456.5 MB, free: 3.199 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.5434, allocations: 4 kB / 456.5 MB, free: 3.195 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.5435, allocations: 4 kB / 456.6 MB, free: 3.191 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.5437, allocations: 45.69 kB / 456.6 MB, free: 3.141 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.5437, allocations: 0 / 456.6 MB, free: 3.141 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.5437, allocations: 3.953 kB / 456.6 MB, free: 3.137 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.5437, allocations: 3.938 kB / 456.6 MB, free: 3.133 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.5439, allocations: 27.98 kB / 456.6 MB, free: 3.105 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008073/0.5447, allocations: 420.8 kB / 457 MB, free: 2.645 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.5448, allocations: 34.52 kB / 457.1 MB, free: 2.602 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.163e-05/0.5449, allocations: 4.062 kB / 457.1 MB, free: 2.598 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.5449, allocations: 38.5 kB / 457.1 MB, free: 2.551 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.713e-06/0.5449, allocations: 0 / 457.1 MB, free: 2.551 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004094/0.5454, allocations: 101.1 kB / 457.2 MB, free: 2.445 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.5454, allocations: 51.41 kB / 457.3 MB, free: 2.383 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001861/0.5473, allocations: 0.7707 MB / 458 MB, free: 1.605 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.5473, allocations: 29.7 kB / 458.1 MB, free: 1.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/0.5476, allocations: 234.6 kB / 458.3 MB, free: 1.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.5476, allocations: 7.844 kB / 458.3 MB, free: 1.332 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.5476, allocations: 0 / 458.3 MB, free: 1.332 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.5478, allocations: 316.6 kB / 458.6 MB, free: 1.016 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.108e-05/0.5479, allocations: 11.98 kB / 458.6 MB, free: 1.004 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.417e-05/0.5479, allocations: 11.94 kB / 458.6 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.5481, allocations: 49.69 kB / 458.7 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.5481, allocations: 0 / 458.7 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002313/0.5483, allocations: 79.39 kB / 458.8 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.582e-05/0.5484, allocations: 33.66 kB / 458.8 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.5484, allocations: 4.125 kB / 458.8 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.5484, allocations: 4 kB / 458.8 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.5485, allocations: 15.92 kB / 458.8 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.5486, allocations: 4 kB / 458.8 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.839e-05/0.5487, allocations: 4 kB / 458.8 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.5487, allocations: 0 / 458.8 MB, free: 0.7773 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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.0002927/0.549, allocations: 209.8 kB / 459 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.5491, allocations: 39.44 kB / 459.1 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003248/0.5495, allocations: 116.4 kB / 459.2 MB, free: 408 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.5495, allocations: 0 / 459.2 MB, free: 408 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.5495, allocations: 0 / 459.2 MB, free: 408 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.5495, allocations: 0 / 459.2 MB, free: 408 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004491/0.55, allocations: 313.5 kB / 459.5 MB, free: 44 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.55, allocations: 3.984 kB / 459.5 MB, free: 40 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.699e-05/0.5501, allocations: 4 kB / 459.5 MB, free: 36 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/0.5501, allocations: 4 kB / 459.5 MB, free: 32 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.5501, allocations: 4 kB / 459.5 MB, free: 28 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.5501, allocations: 7.891 kB / 459.5 MB, free: 20 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5501, allocations: 0 / 459.5 MB, free: 20 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003461/0.5505, allocations: 187 kB / 459.7 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002579/0.5507, allocations: 160.5 kB / 459.9 MB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.667e-05/0.5508, allocations: 0 / 459.9 MB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.551, allocations: 8 kB / 459.9 MB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.551, allocations: 11.97 kB / 459.9 MB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.551, allocations: 0 / 459.9 MB, free: 15.62 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00112/0.5522, allocations: 0.6237 MB / 460.5 MB, free: 15 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.5522, allocations: 0 / 460.5 MB, free: 15 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004403/0.5526, allocations: 55.98 kB / 460.6 MB, free: 14.95 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * 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.001241/0.5539, allocations: 0.8624 MB / 461.4 MB, free: 14.12 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002513/0.5541, allocations: 87.33 kB / 461.5 MB, free: 14.03 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5542, allocations: 4 kB / 461.5 MB, free: 14.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.283e-05/0.5542, allocations: 8 kB / 461.5 MB, free: 14.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.5546, allocations: 21.91 kB / 461.5 MB, free: 13.99 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002528/0.5571, allocations: 1.324 MB / 462.9 MB, free: 12.59 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005603/0.5577, allocations: 0.8301 MB / 463.7 MB, free: 11.73 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/0.558, allocations: 111.6 kB / 463.8 MB, free: 11.62 MB / 394.7 MB Notification: Performance of SimCode: time 8.61e-07/0.558, allocations: 3.938 kB / 463.8 MB, free: 11.62 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.749/3.307, allocations: 6.544 MB / 470.3 MB, free: 5.066 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test7_res.mat does not exist to compare? outputFormat=mat