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.Test27.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.Test27,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.337/2.337, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004572/0.0004573, allocations: 16 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.4023, allocations: 54.86 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1454/0.5478, allocations: 80.97 MB / 450.3 MB, free: 9.527 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/0.5482, allocations: 75.91 kB / 450.4 MB, free: 9.453 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01234/0.5605, allocations: 2.957 MB / 453.4 MB, free: 6.484 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.5606, allocations: 0 / 453.4 MB, free: 6.484 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.86e-05/0.5606, allocations: 7.938 kB / 453.4 MB, free: 6.477 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.0005899/0.5612, allocations: 428.6 kB / 453.8 MB, free: 6.004 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.5613, allocations: 12.03 kB / 453.8 MB, free: 5.992 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.248e-05/0.5613, allocations: 34.52 kB / 453.8 MB, free: 5.949 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/0.5614, allocations: 7.906 kB / 453.8 MB, free: 5.941 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.5616, allocations: 191 kB / 454 MB, free: 5.715 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.5617, allocations: 0 / 454 MB, free: 5.715 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.947e-05/0.5617, allocations: 8 kB / 454 MB, free: 5.707 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.562, allocations: 57.67 kB / 454.1 MB, free: 5.645 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.562, allocations: 0 / 454.1 MB, free: 5.645 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.562, allocations: 11.89 kB / 454.1 MB, free: 5.633 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.562, allocations: 0 / 454.1 MB, free: 5.633 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002345/0.5623, allocations: 43.97 kB / 454.1 MB, free: 5.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000448/0.5627, allocations: 288.8 kB / 454.4 MB, free: 5.258 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.5629, allocations: 54.5 kB / 454.5 MB, free: 5.195 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.192e-05/0.563, allocations: 11.89 kB / 454.5 MB, free: 5.184 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.563, allocations: 30.56 kB / 454.5 MB, free: 5.145 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.563, allocations: 0 / 454.5 MB, free: 5.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001251/0.5643, allocations: 247 kB / 454.8 MB, free: 4.898 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.5643, allocations: 51.41 kB / 454.8 MB, free: 4.836 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.5646, allocations: 150 kB / 455 MB, free: 4.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.5646, allocations: 29.7 kB / 455 MB, free: 4.645 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.853e-05/0.5647, allocations: 154.6 kB / 455.1 MB, free: 4.492 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.5648, allocations: 23.66 kB / 455.2 MB, free: 4.469 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-06/0.5648, allocations: 0 / 455.2 MB, free: 4.469 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.5649, allocations: 322.8 kB / 455.5 MB, free: 4.145 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.5652, allocations: 40.05 kB / 455.5 MB, free: 4.105 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.5654, allocations: 55.89 kB / 455.6 MB, free: 4.051 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002397/0.5656, allocations: 69.64 kB / 455.6 MB, free: 3.977 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.5657, allocations: 0 / 455.6 MB, free: 3.977 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005418/0.5662, allocations: 159.2 kB / 455.8 MB, free: 3.809 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.012e-05/0.5663, allocations: 35.73 kB / 455.8 MB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.5663, allocations: 4 kB / 455.8 MB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.5663, allocations: 3.984 kB / 455.8 MB, free: 3.762 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.5665, allocations: 27.98 kB / 455.9 MB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.5666, allocations: 0 / 455.9 MB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.5667, allocations: 11.98 kB / 455.9 MB, free: 3.723 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.5667, allocations: 4 kB / 455.9 MB, free: 3.719 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 (8): * Single equations (assignments): 7 * 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.00013/0.5668, allocations: 129.1 kB / 456 MB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.361e-05/0.5669, allocations: 7.906 kB / 456 MB, free: 3.578 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000577/0.5675, allocations: 142.6 kB / 456.1 MB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.5675, allocations: 4 kB / 456.2 MB, free: 3.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.5675, allocations: 4 kB / 456.2 MB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.5675, allocations: 3.984 kB / 456.2 MB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009005/0.5685, allocations: 418.8 kB / 456.6 MB, free: 2.957 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.5685, allocations: 0 / 456.6 MB, free: 2.957 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.5687, allocations: 27.92 kB / 456.6 MB, free: 2.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.5687, allocations: 3.938 kB / 456.6 MB, free: 2.926 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.5687, allocations: 0 / 456.6 MB, free: 2.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.5687, allocations: 0 / 456.6 MB, free: 2.926 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.5687, allocations: 4 kB / 456.6 MB, free: 2.922 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005699/0.5693, allocations: 227.3 kB / 456.8 MB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.276e-05/0.5694, allocations: 85.02 kB / 456.9 MB, free: 2.582 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.5695, allocations: 11.98 kB / 456.9 MB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.5696, allocations: 12 kB / 456.9 MB, free: 2.559 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.777e-05/0.5697, allocations: 7.984 kB / 456.9 MB, free: 2.551 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.5697, allocations: 0 / 456.9 MB, free: 2.551 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001576/0.5699, allocations: 127.2 kB / 457.1 MB, free: 2.426 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5699, allocations: 0 / 457.1 MB, free: 2.426 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003409/0.5702, allocations: 23.94 kB / 457.1 MB, free: 2.402 MB / 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 (7): * Single equations (assignments): 7 * 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.001566/0.5718, allocations: 0.9592 MB / 458 MB, free: 1.477 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000556/0.5724, allocations: 147.3 kB / 458.2 MB, free: 1.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5724, allocations: 11.94 kB / 458.2 MB, free: 1.309 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002552/0.5727, allocations: 43.97 kB / 458.2 MB, free: 1.266 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.573, allocations: 11.98 kB / 458.3 MB, free: 1.254 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009737/0.5739, allocations: 492.2 kB / 458.7 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.5743, allocations: 0.7004 MB / 459.4 MB, free: 15.99 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.45e-05/0.5744, allocations: 27.42 kB / 459.5 MB, free: 15.96 MB / 394.7 MB Notification: Performance of SimCode: time 9.02e-07/0.5744, allocations: 4 kB / 459.5 MB, free: 15.96 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.542/3.117, allocations: 1.806 MB / 461.3 MB, free: 14.16 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test27_res.mat does not exist to compare? outputFormat=mat