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.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.049/2.049, allocations: 209.2 MB / 224.8 MB, free: 0.6289 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004406/0.0004406, allocations: 16 kB / 282.7 MB, free: 9.543 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1252, allocations: 48.7 MB / 331.4 MB, free: 8.746 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4334/0.5587, allocations: 75.71 MB / 407.1 MB, free: 9.238 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/0.559, allocations: 71.97 kB / 407.1 MB, free: 9.168 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02714/0.5862, allocations: 6.115 MB / 413.3 MB, free: 3.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5862, allocations: 3.938 kB / 413.3 MB, free: 3.066 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.67e-05/0.5863, allocations: 7.984 kB / 413.3 MB, free: 3.059 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001087/0.5874, allocations: 0.7316 MB / 414 MB, free: 2.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/0.5875, allocations: 16.02 kB / 414 MB, free: 2.234 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.103e-05/0.5875, allocations: 42.56 kB / 414.1 MB, free: 2.184 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.5876, allocations: 39.48 kB / 414.1 MB, free: 2.145 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005773/0.5882, allocations: 295 kB / 414.4 MB, free: 1.812 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.5883, allocations: 8 kB / 414.4 MB, free: 1.805 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.169e-05/0.5883, allocations: 15.91 kB / 414.4 MB, free: 1.789 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003503/0.5887, allocations: 109.6 kB / 414.5 MB, free: 1.676 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.5887, allocations: 4 kB / 414.5 MB, free: 1.672 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.5887, allocations: 0 / 414.5 MB, free: 1.672 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.5888, allocations: 4 kB / 414.5 MB, free: 1.668 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002847/0.5891, allocations: 79.91 kB / 414.6 MB, free: 1.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000984/0.5901, allocations: 484.9 kB / 415.1 MB, free: 1.066 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.5904, allocations: 102.4 kB / 415.2 MB, free: 0.957 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.391e-05/0.5904, allocations: 8 kB / 415.2 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.5905, allocations: 30.56 kB / 415.2 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 2.615e-06/0.5905, allocations: 0 / 415.2 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.001519/0.592, allocations: 388.4 kB / 415.6 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.5921, allocations: 55.41 kB / 415.6 MB, free: 468 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008167/0.5929, allocations: 428.6 kB / 416.1 MB, free: 32 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.894e-05/0.593, allocations: 29.78 kB / 416.1 MB, free: 15.99 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.5932, allocations: 226.7 kB / 416.3 MB, free: 15.77 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.825e-05/0.5933, allocations: 51.27 kB / 416.4 MB, free: 15.72 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.972e-05/0.5933, allocations: 4 kB / 416.4 MB, free: 15.72 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.5935, allocations: 326.7 kB / 416.7 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002687/0.5937, allocations: 68.33 kB / 416.8 MB, free: 15.32 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.594, allocations: 64.72 kB / 416.8 MB, free: 15.26 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003397/0.5944, allocations: 204.4 kB / 417 MB, free: 15.03 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5944, allocations: 4 kB / 417 MB, free: 15.03 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007434/0.5951, allocations: 339.9 kB / 417.4 MB, free: 14.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.5953, allocations: 136.5 kB / 417.5 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.5953, allocations: 0 / 417.5 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/0.5953, allocations: 4 kB / 417.5 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002806/0.5956, allocations: 43.91 kB / 417.5 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.5956, allocations: 0 / 417.5 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.5958, allocations: 15.94 kB / 417.6 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.5959, allocations: 8 kB / 417.6 MB, free: 14.43 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 (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 5 * 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.0002759/0.5961, allocations: 165.8 kB / 417.7 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.5963, allocations: 31.62 kB / 417.8 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008201/0.5971, allocations: 253.4 kB / 418 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.5971, allocations: 4 kB / 418 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.5971, allocations: 0 / 418 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.5971, allocations: 0 / 418 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001498/0.5986, allocations: 0.6573 MB / 418.7 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.5987, allocations: 0 / 418.7 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/0.5989, allocations: 35.98 kB / 418.7 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.268e-06/0.599, allocations: 7.922 kB / 418.7 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.599, allocations: 8 kB / 418.7 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.599, allocations: 3.953 kB / 418.7 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.599, allocations: 3.984 kB / 418.7 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007041/0.5997, allocations: 299 kB / 419 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001687/0.5999, allocations: 128.7 kB / 419.1 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.628e-05/0.6, allocations: 8 kB / 419.1 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.6001, allocations: 11.98 kB / 419.2 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.012e-05/0.6002, allocations: 15.94 kB / 419.2 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.889e-05/0.6003, allocations: 7.938 kB / 419.2 MB, free: 12.7 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006335/0.6009, allocations: 335.1 kB / 419.5 MB, free: 12.37 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6009, allocations: 0 / 419.5 MB, free: 12.37 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006008/0.6015, allocations: 95.8 kB / 419.6 MB, free: 12.28 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 (17): * Single equations (assignments): 17 * 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.002772/0.6043, allocations: 1.365 MB / 421 MB, free: 10.99 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000824/0.6052, allocations: 439.7 kB / 421.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6052, allocations: 0 / 421.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002655/0.6055, allocations: 83.91 kB / 421.5 MB, free: 10.42 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005175/0.606, allocations: 33.36 kB / 421.5 MB, free: 10.39 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/0.6082, allocations: 1.033 MB / 422.5 MB, free: 9.301 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004954/0.6088, allocations: 0.7867 MB / 423.3 MB, free: 8.488 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002763/0.6091, allocations: 103.4 kB / 423.4 MB, free: 8.387 MB / 346.7 MB Notification: Performance of SimCode: time 1.343e-06/0.6091, allocations: 0 / 423.4 MB, free: 8.387 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.717/3.326, allocations: 5.403 MB / 428.8 MB, free: 2.98 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat does not exist to compare? outputFormat=mat