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.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.317/2.317, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004463/0.0004462, allocations: 16 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3584, allocations: 54.85 MB / 369.4 MB, free: 10.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1519/0.5104, allocations: 81.01 MB / 450.4 MB, free: 9.504 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/0.5107, allocations: 71.97 kB / 450.4 MB, free: 9.434 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01968/0.5304, allocations: 5.341 MB / 455.8 MB, free: 4.074 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5305, allocations: 4 kB / 455.8 MB, free: 4.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.053e-05/0.5305, allocations: 4 kB / 455.8 MB, free: 4.066 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.001016/0.5316, allocations: 0.6355 MB / 456.4 MB, free: 3.375 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.5316, allocations: 8.031 kB / 456.4 MB, free: 3.367 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.691e-05/0.5317, allocations: 34.56 kB / 456.5 MB, free: 3.324 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.5318, allocations: 39.44 kB / 456.5 MB, free: 3.285 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006208/0.5325, allocations: 319.3 kB / 456.8 MB, free: 2.934 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.5325, allocations: 4 kB / 456.8 MB, free: 2.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.5325, allocations: 8 kB / 456.8 MB, free: 2.922 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.5328, allocations: 61.62 kB / 456.9 MB, free: 2.855 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.5328, allocations: 0 / 456.9 MB, free: 2.855 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.5328, allocations: 3.938 kB / 456.9 MB, free: 2.852 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.5328, allocations: 0 / 456.9 MB, free: 2.852 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.533, allocations: 31.98 kB / 456.9 MB, free: 2.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008025/0.5338, allocations: 432.6 kB / 457.3 MB, free: 2.348 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003092/0.5341, allocations: 42.56 kB / 457.4 MB, free: 2.297 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.5342, allocations: 8.078 kB / 457.4 MB, free: 2.289 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.5342, allocations: 36.38 kB / 457.4 MB, free: 2.246 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 3.387e-06/0.5343, allocations: 7.938 kB / 457.4 MB, free: 2.238 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.001014/0.5353, allocations: 228.1 kB / 457.7 MB, free: 2.008 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.5354, allocations: 55.41 kB / 457.7 MB, free: 1.941 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001956/0.5373, allocations: 0.7744 MB / 458.5 MB, free: 1.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/0.5374, allocations: 25.7 kB / 458.5 MB, free: 1.129 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/0.5376, allocations: 238.5 kB / 458.7 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.5377, allocations: 15.75 kB / 458.8 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.987e-06/0.5377, allocations: 4 kB / 458.8 MB, free: 0.875 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.5379, allocations: 314.8 kB / 459.1 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.5381, allocations: 27.98 kB / 459.1 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.5382, allocations: 27.92 kB / 459.1 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.5384, allocations: 53.69 kB / 459.2 MB, free: 456 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.5384, allocations: 3.953 kB / 459.2 MB, free: 452 kB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003781/0.5388, allocations: 115.4 kB / 459.3 MB, free: 324 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.513e-05/0.5388, allocations: 33.7 kB / 459.3 MB, free: 284 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.5389, allocations: 0 / 459.3 MB, free: 284 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.5389, allocations: 0 / 459.3 MB, free: 284 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.539, allocations: 19.92 kB / 459.3 MB, free: 264 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.539, allocations: 0 / 459.3 MB, free: 264 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.5392, allocations: 15.98 kB / 459.4 MB, free: 248 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.5392, allocations: 0 / 459.4 MB, free: 248 kB / 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.0003389/0.5396, allocations: 209.8 kB / 459.6 MB, free: 28 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.5398, allocations: 43.44 kB / 459.6 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004921/0.5403, allocations: 148.9 kB / 459.8 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.5403, allocations: 0 / 459.8 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5403, allocations: 0 / 459.8 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.5403, allocations: 0 / 459.8 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.5415, allocations: 0.5845 MB / 460.3 MB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.5416, allocations: 4.062 kB / 460.3 MB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.5417, allocations: 19.98 kB / 460.4 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.5417, allocations: 0 / 460.4 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.5417, allocations: 0 / 460.4 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.5417, allocations: 0 / 460.4 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.5418, allocations: 0 / 460.4 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005177/0.5423, allocations: 231.1 kB / 460.6 MB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002522/0.5426, allocations: 152.6 kB / 460.7 MB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.251e-05/0.5426, allocations: 4 kB / 460.7 MB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.5428, allocations: 15.97 kB / 460.8 MB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.5429, allocations: 0 / 460.8 MB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.5429, allocations: 4 kB / 460.8 MB, free: 14.73 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001192/0.5441, allocations: 0.6276 MB / 461.4 MB, free: 14.11 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.91e-07/0.5441, allocations: 4 kB / 461.4 MB, free: 14.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004495/0.5446, allocations: 56 kB / 461.4 MB, free: 14.05 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 (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.001577/0.5462, allocations: 0.9538 MB / 462.4 MB, free: 13.13 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003899/0.5466, allocations: 115.4 kB / 462.5 MB, free: 13.01 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5466, allocations: 0 / 462.5 MB, free: 13.01 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.5468, allocations: 27.98 kB / 462.5 MB, free: 12.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.5471, allocations: 13.97 kB / 462.6 MB, free: 12.96 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/0.5499, allocations: 1.375 MB / 463.9 MB, free: 11.51 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005462/0.5505, allocations: 0.8184 MB / 464.7 MB, free: 10.66 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002817/0.5508, allocations: 107.6 kB / 464.9 MB, free: 10.56 MB / 394.7 MB Notification: Performance of SimCode: time 1.212e-06/0.5508, allocations: 0 / 464.9 MB, free: 10.56 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.696/3.247, allocations: 6.835 MB / 471.7 MB, free: 3.715 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test4_res.mat does not exist to compare? outputFormat=mat