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.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.397/2.397, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006017/0.0006017, allocations: 16 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.341, allocations: 54.86 MB / 369.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1488/0.4899, allocations: 80.98 MB / 450.3 MB, free: 9.516 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/0.4902, allocations: 71.97 kB / 450.4 MB, free: 9.445 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01254/0.5027, allocations: 3.039 MB / 453.4 MB, free: 6.395 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5028, allocations: 3.938 kB / 453.4 MB, free: 6.391 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.5028, allocations: 4 kB / 453.5 MB, free: 6.387 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.0006008/0.5034, allocations: 432.6 kB / 453.9 MB, free: 5.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.5035, allocations: 8.031 kB / 453.9 MB, free: 5.902 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.728e-05/0.5036, allocations: 38.52 kB / 453.9 MB, free: 5.855 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.451e-05/0.5036, allocations: 11.81 kB / 453.9 MB, free: 5.844 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.5039, allocations: 193.4 kB / 454.1 MB, free: 5.613 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.5039, allocations: 4 kB / 454.1 MB, free: 5.609 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.504, allocations: 7.906 kB / 454.1 MB, free: 5.602 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002288/0.5042, allocations: 65.67 kB / 454.2 MB, free: 5.531 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.5042, allocations: 3.938 kB / 454.2 MB, free: 5.527 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.5043, allocations: 3.953 kB / 454.2 MB, free: 5.523 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.5043, allocations: 4 kB / 454.2 MB, free: 5.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002438/0.5045, allocations: 47.91 kB / 454.3 MB, free: 5.473 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004825/0.505, allocations: 284.9 kB / 454.5 MB, free: 5.145 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.5052, allocations: 50.5 kB / 454.6 MB, free: 5.086 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/0.5053, allocations: 12.03 kB / 454.6 MB, free: 5.074 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.5053, allocations: 34.56 kB / 454.6 MB, free: 5.031 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.794e-06/0.5053, allocations: 0 / 454.6 MB, free: 5.031 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001242/0.5066, allocations: 247 kB / 454.9 MB, free: 4.785 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.5066, allocations: 51.41 kB / 454.9 MB, free: 4.723 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.5069, allocations: 181.5 kB / 455.1 MB, free: 4.539 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.5069, allocations: 25.7 kB / 455.1 MB, free: 4.508 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.451e-05/0.507, allocations: 166.5 kB / 455.3 MB, free: 4.344 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.5071, allocations: 19.7 kB / 455.3 MB, free: 4.324 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.215e-05/0.5071, allocations: 4 kB / 455.3 MB, free: 4.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.5073, allocations: 314.8 kB / 455.6 MB, free: 4.004 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/0.5075, allocations: 43.97 kB / 455.7 MB, free: 3.961 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.5077, allocations: 43.91 kB / 455.7 MB, free: 3.918 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002433/0.508, allocations: 69.69 kB / 455.8 MB, free: 3.844 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.508, allocations: 3.984 kB / 455.8 MB, free: 3.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005465/0.5085, allocations: 171.1 kB / 455.9 MB, free: 3.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.055e-05/0.5086, allocations: 29.7 kB / 456 MB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.5086, allocations: 0 / 456 MB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.5086, allocations: 0 / 456 MB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.5089, allocations: 23.98 kB / 456 MB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.5089, allocations: 0 / 456 MB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.509, allocations: 23.98 kB / 456 MB, free: 3.578 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.5091, allocations: 0 / 456 MB, free: 3.578 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.0001371/0.5092, allocations: 125.8 kB / 456.1 MB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.835e-05/0.5093, allocations: 11.86 kB / 456.2 MB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005799/0.5098, allocations: 154.6 kB / 456.3 MB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.5099, allocations: 0 / 456.3 MB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5099, allocations: 288 / 456.3 MB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.5099, allocations: 0 / 456.3 MB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008866/0.5108, allocations: 422.5 kB / 456.7 MB, free: 2.812 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.5108, allocations: 7.938 kB / 456.7 MB, free: 2.805 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.511, allocations: 31.91 kB / 456.8 MB, free: 2.773 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.511, allocations: 0 / 456.8 MB, free: 2.773 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.511, allocations: 4 kB / 456.8 MB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.511, allocations: 0 / 456.8 MB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5111, allocations: 0 / 456.8 MB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005547/0.5116, allocations: 227.3 kB / 457 MB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.427e-05/0.5117, allocations: 89.02 kB / 457.1 MB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.5118, allocations: 7.984 kB / 457.1 MB, free: 2.418 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.5119, allocations: 16 kB / 457.1 MB, free: 2.402 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.512, allocations: 3.984 kB / 457.1 MB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.512, allocations: 4 kB / 457.1 MB, free: 2.395 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001862/0.5122, allocations: 143.2 kB / 457.2 MB, free: 2.254 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5122, allocations: 0 / 457.2 MB, free: 2.254 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003321/0.5125, allocations: 20 kB / 457.3 MB, free: 2.234 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.00165/0.5142, allocations: 0.9702 MB / 458.2 MB, free: 1.305 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005592/0.5148, allocations: 155.3 kB / 458.4 MB, free: 1.141 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5148, allocations: 0 / 458.4 MB, free: 1.141 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.515, allocations: 51.97 kB / 458.4 MB, free: 1.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.5153, allocations: 7.984 kB / 458.4 MB, free: 1.082 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009955/0.5163, allocations: 0.494 MB / 458.9 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.5167, allocations: 0.7043 MB / 459.6 MB, free: 15.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.5168, allocations: 31.42 kB / 459.7 MB, free: 15.77 MB / 394.7 MB Notification: Performance of SimCode: time 1.493e-06/0.5169, allocations: 0 / 459.7 MB, free: 15.77 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.723/3.24, allocations: 1.935 MB / 461.6 MB, free: 13.84 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test30_res.mat does not exist to compare? outputFormat=mat