Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test7.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.Tables.CombiTable2D.Test7,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.061/2.061, allocations: 209.2 MB / 224.8 MB, free: 296 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006999/0.0007004, allocations: 8 kB / 282.7 MB, free: 9.508 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.4084, allocations: 48.7 MB / 331.4 MB, free: 6.391 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1336/0.5421, allocations: 74.42 MB / 405.8 MB, free: 3.879 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/0.5424, allocations: 67.97 kB / 405.9 MB, free: 3.812 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01805/0.5605, allocations: 5.051 MB / 410.9 MB, free: 14.76 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5605, allocations: 0 / 410.9 MB, free: 14.76 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.831e-05/0.5606, allocations: 4 kB / 410.9 MB, free: 14.75 MB / 346.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.0009196/0.5615, allocations: 0.6376 MB / 411.5 MB, free: 14.06 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.158e-05/0.5616, allocations: 8.031 kB / 411.6 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.531e-05/0.5616, allocations: 38.56 kB / 411.6 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.764e-05/0.5617, allocations: 43.44 kB / 411.6 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005853/0.5623, allocations: 323.2 kB / 411.9 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.5624, allocations: 8 kB / 412 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/0.5624, allocations: 0 / 412 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.5626, allocations: 45.69 kB / 412 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.5626, allocations: 0 / 412 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.5626, allocations: 0 / 412 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.5627, allocations: 8 kB / 412 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.5628, allocations: 27.92 kB / 412 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007424/0.5636, allocations: 420.7 kB / 412.4 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.5637, allocations: 34.58 kB / 412.5 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.5637, allocations: 0 / 412.5 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.5638, allocations: 34.55 kB / 412.5 MB, free: 12.96 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.5638, allocations: 0 / 412.5 MB, free: 12.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003989/0.5642, allocations: 105.2 kB / 412.6 MB, free: 12.86 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.5643, allocations: 51.53 kB / 412.7 MB, free: 12.79 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001872/0.5661, allocations: 0.7744 MB / 413.4 MB, free: 12.01 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.5662, allocations: 25.7 kB / 413.5 MB, free: 11.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.5664, allocations: 238.5 kB / 413.7 MB, free: 11.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.5664, allocations: 7.844 kB / 413.7 MB, free: 11.74 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.5665, allocations: 0 / 413.7 MB, free: 11.74 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.5666, allocations: 310.8 kB / 414 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.831e-05/0.5667, allocations: 12 kB / 414 MB, free: 11.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.609e-05/0.5668, allocations: 15.98 kB / 414 MB, free: 11.4 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.5669, allocations: 41.69 kB / 414.1 MB, free: 11.35 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.5669, allocations: 0 / 414.1 MB, free: 11.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002402/0.5672, allocations: 83.33 kB / 414.2 MB, free: 11.26 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.815e-05/0.5672, allocations: 38.33 kB / 414.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.5673, allocations: 0 / 414.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.5673, allocations: 0 / 414.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.641e-05/0.5674, allocations: 11.98 kB / 414.2 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.5674, allocations: 4 kB / 414.2 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.821e-05/0.5675, allocations: 7.906 kB / 414.2 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.5675, allocations: 3.953 kB / 414.2 MB, free: 11.19 MB / 346.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.0002884/0.5678, allocations: 205.8 kB / 414.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.568, allocations: 39.53 kB / 414.5 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003232/0.5683, allocations: 112.5 kB / 414.6 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.5683, allocations: 0 / 414.6 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5683, allocations: 7.938 kB / 414.6 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.5683, allocations: 0 / 414.6 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004603/0.5688, allocations: 313.4 kB / 414.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5688, allocations: 4 kB / 414.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.012e-05/0.5689, allocations: 11.98 kB / 414.9 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.5689, allocations: 0 / 414.9 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.5689, allocations: 3.938 kB / 414.9 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.5689, allocations: 4.031 kB / 414.9 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.569, allocations: 0 / 414.9 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003225/0.5693, allocations: 190.9 kB / 415.1 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002583/0.5696, allocations: 152.6 kB / 415.2 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.108e-05/0.5696, allocations: 4 kB / 415.3 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.5698, allocations: 4.031 kB / 415.3 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.5698, allocations: 8.125 kB / 415.3 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.5698, allocations: 3.984 kB / 415.3 MB, free: 10.04 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001171/0.571, allocations: 0.6237 MB / 415.9 MB, free: 9.422 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.436e-06/0.571, allocations: 0 / 415.9 MB, free: 9.422 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004552/0.5715, allocations: 51.94 kB / 415.9 MB, free: 9.371 MB / 346.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.001151/0.5727, allocations: 0.8367 MB / 416.8 MB, free: 8.547 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002516/0.5729, allocations: 87.38 kB / 416.9 MB, free: 8.449 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.573, allocations: 0 / 416.9 MB, free: 8.449 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.815e-05/0.573, allocations: 15.94 kB / 416.9 MB, free: 8.434 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.5734, allocations: 21.89 kB / 416.9 MB, free: 8.414 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00248/0.5759, allocations: 1.32 MB / 418.2 MB, free: 7.027 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005679/0.5765, allocations: 0.83 MB / 419.1 MB, free: 6.172 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002664/0.5767, allocations: 115.6 kB / 419.2 MB, free: 6.059 MB / 346.7 MB Notification: Performance of SimCode: time 8.32e-07/0.5768, allocations: 0 / 419.2 MB, free: 6.059 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.581/3.158, allocations: 6.533 MB / 425.7 MB, free: 15.51 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test7_res.mat does not exist to compare? outputFormat=mat