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.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.413/2.413, allocations: 234.9 MB / 250.5 MB, free: 9.676 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006086/0.0006085, allocations: 16 kB / 314.5 MB, free: 9.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3707, allocations: 54.86 MB / 369.4 MB, free: 12.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1501/0.5208, allocations: 81.04 MB / 450.4 MB, free: 11.61 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.5212, allocations: 75.89 kB / 450.5 MB, free: 11.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01998/0.5412, allocations: 5.439 MB / 455.9 MB, free: 6.078 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5412, allocations: 0 / 455.9 MB, free: 6.078 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.046e-05/0.5413, allocations: 4 kB / 455.9 MB, free: 6.074 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009892/0.5423, allocations: 0.6394 MB / 456.6 MB, free: 5.379 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.5423, allocations: 12.03 kB / 456.6 MB, free: 5.367 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.696e-05/0.5424, allocations: 34.56 kB / 456.6 MB, free: 5.324 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.5425, allocations: 39.44 kB / 456.6 MB, free: 5.285 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006129/0.5431, allocations: 319.3 kB / 456.9 MB, free: 4.934 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.5432, allocations: 4 kB / 457 MB, free: 4.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.5432, allocations: 0 / 457 MB, free: 4.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.5434, allocations: 65.61 kB / 457 MB, free: 4.859 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.5435, allocations: 0 / 457 MB, free: 4.859 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.5435, allocations: 4 kB / 457 MB, free: 4.855 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.5435, allocations: 3.938 kB / 457 MB, free: 4.852 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.5437, allocations: 27.98 kB / 457.1 MB, free: 4.824 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008324/0.5445, allocations: 436.6 kB / 457.5 MB, free: 4.348 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.5448, allocations: 46.56 kB / 457.5 MB, free: 4.293 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.5449, allocations: 0 / 457.5 MB, free: 4.293 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.5449, allocations: 36.47 kB / 457.6 MB, free: 4.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.5449, allocations: 3.938 kB / 457.6 MB, free: 4.246 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009692/0.5459, allocations: 240 kB / 457.8 MB, free: 4.004 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.546, allocations: 51.41 kB / 457.8 MB, free: 3.941 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001945/0.5479, allocations: 0.7744 MB / 458.6 MB, free: 3.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.548, allocations: 25.7 kB / 458.6 MB, free: 3.129 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002262/0.5482, allocations: 242.5 kB / 458.9 MB, free: 2.891 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.5483, allocations: 15.75 kB / 458.9 MB, free: 2.875 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-06/0.5483, allocations: 0 / 458.9 MB, free: 2.875 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.5484, allocations: 318.8 kB / 459.2 MB, free: 2.555 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.5486, allocations: 23.98 kB / 459.2 MB, free: 2.531 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.5487, allocations: 23.98 kB / 459.3 MB, free: 2.508 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.5489, allocations: 53.69 kB / 459.3 MB, free: 2.449 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.5489, allocations: 3.953 kB / 459.3 MB, free: 2.445 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003715/0.5493, allocations: 115.4 kB / 459.4 MB, free: 2.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.559e-05/0.5494, allocations: 33.7 kB / 459.5 MB, free: 2.281 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.5494, allocations: 4 kB / 459.5 MB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.5494, allocations: 3.938 kB / 459.5 MB, free: 2.273 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.5495, allocations: 19.92 kB / 459.5 MB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.5496, allocations: 0 / 459.5 MB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.5497, allocations: 8 kB / 459.5 MB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.5497, allocations: 0 / 459.5 MB, free: 2.246 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 (6): * Single equations (assignments): 5 * 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.000335/0.5501, allocations: 215.5 kB / 459.7 MB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.5502, allocations: 47.64 kB / 459.8 MB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000471/0.5507, allocations: 140.9 kB / 459.9 MB, free: 1.832 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.5507, allocations: 0 / 459.9 MB, free: 1.832 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.5507, allocations: 3.984 kB / 459.9 MB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5507, allocations: 0 / 459.9 MB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.552, allocations: 0.5881 MB / 460.5 MB, free: 1.184 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.552, allocations: 3.938 kB / 460.5 MB, free: 1.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.5521, allocations: 15.98 kB / 460.5 MB, free: 1.164 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.5522, allocations: 0 / 460.5 MB, free: 1.164 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.5522, allocations: 0 / 460.5 MB, free: 1.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.5522, allocations: 4 kB / 460.5 MB, free: 1.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.5522, allocations: 0 / 460.5 MB, free: 1.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004566/0.5527, allocations: 222.9 kB / 460.7 MB, free: 0.9258 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002495/0.5529, allocations: 156.6 kB / 460.9 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.987e-05/0.553, allocations: 0 / 460.9 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.5532, allocations: 15.98 kB / 460.9 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.5532, allocations: 4 kB / 460.9 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.5532, allocations: 4 kB / 460.9 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001178/0.5544, allocations: 0.6276 MB / 461.5 MB, free: 108 kB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5544, allocations: 0 / 461.5 MB, free: 108 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004344/0.5549, allocations: 52 kB / 461.6 MB, free: 56 kB / 378.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 (5): * Single equations (assignments): 5 * 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.001627/0.5565, allocations: 0.9608 MB / 462.5 MB, free: 15.14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004012/0.557, allocations: 115.4 kB / 462.7 MB, free: 15.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.557, allocations: 4 kB / 462.7 MB, free: 15.01 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.5571, allocations: 23.98 kB / 462.7 MB, free: 14.99 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.5575, allocations: 13.97 kB / 462.7 MB, free: 14.97 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00273/0.5603, allocations: 1.367 MB / 464.1 MB, free: 13.53 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006045/0.5609, allocations: 0.8262 MB / 464.9 MB, free: 12.67 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002904/0.5612, allocations: 107.6 kB / 465 MB, free: 12.57 MB / 394.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5612, allocations: 0 / 465 MB, free: 12.57 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.814/3.376, allocations: 6.832 MB / 471.8 MB, free: 5.723 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test1_res.mat does not exist to compare? outputFormat=mat