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.Test29.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.Test29,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.4/2.4, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000595/0.0005952, allocations: 12 kB / 314.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3353, allocations: 54.86 MB / 369.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1457/0.481, allocations: 80.96 MB / 450.3 MB, free: 9.645 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.4813, allocations: 79.91 kB / 450.4 MB, free: 9.566 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0126/0.494, allocations: 3.027 MB / 453.4 MB, free: 6.527 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.494, allocations: 0 / 453.4 MB, free: 6.527 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.494, allocations: 0 / 453.4 MB, free: 6.527 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.0005822/0.4946, allocations: 432.6 kB / 453.9 MB, free: 6.051 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.4947, allocations: 12.03 kB / 453.9 MB, free: 6.039 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.839e-05/0.4948, allocations: 42.5 kB / 453.9 MB, free: 5.988 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.745e-05/0.4948, allocations: 15.8 kB / 453.9 MB, free: 5.973 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.4951, allocations: 195.5 kB / 454.1 MB, free: 5.738 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.4951, allocations: 0 / 454.1 MB, free: 5.738 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.4952, allocations: 11.89 kB / 454.1 MB, free: 5.727 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.4954, allocations: 53.69 kB / 454.2 MB, free: 5.668 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.4954, allocations: 4 kB / 454.2 MB, free: 5.664 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.4954, allocations: 7.953 kB / 454.2 MB, free: 5.656 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.4955, allocations: 0 / 454.2 MB, free: 5.656 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002386/0.4957, allocations: 47.95 kB / 454.2 MB, free: 5.609 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004411/0.4962, allocations: 288.8 kB / 454.5 MB, free: 5.277 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.4964, allocations: 46.55 kB / 454.6 MB, free: 5.223 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.4964, allocations: 7.953 kB / 454.6 MB, free: 5.215 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.4964, allocations: 34.56 kB / 454.6 MB, free: 5.172 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.753e-06/0.4964, allocations: 0 / 454.6 MB, free: 5.172 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001246/0.4977, allocations: 255.1 kB / 454.9 MB, free: 4.918 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.4978, allocations: 51.41 kB / 454.9 MB, free: 4.855 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.498, allocations: 177.5 kB / 455.1 MB, free: 4.676 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.4981, allocations: 25.7 kB / 455.1 MB, free: 4.645 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.632e-05/0.4982, allocations: 166.5 kB / 455.3 MB, free: 4.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/0.4982, allocations: 23.7 kB / 455.3 MB, free: 4.457 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/0.4982, allocations: 0 / 455.3 MB, free: 4.457 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.4984, allocations: 310.8 kB / 455.6 MB, free: 4.145 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.4986, allocations: 43.97 kB / 455.6 MB, free: 4.102 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.4988, allocations: 51.84 kB / 455.7 MB, free: 4.051 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000245/0.4991, allocations: 73.67 kB / 455.8 MB, free: 3.973 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4991, allocations: 4 kB / 455.8 MB, free: 3.969 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005375/0.4996, allocations: 155.2 kB / 455.9 MB, free: 3.805 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.353e-05/0.4997, allocations: 33.7 kB / 455.9 MB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4997, allocations: 4 kB / 455.9 MB, free: 3.762 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.4997, allocations: 0 / 455.9 MB, free: 3.762 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.5, allocations: 27.92 kB / 456 MB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.5, allocations: 0 / 456 MB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.5001, allocations: 11.98 kB / 456 MB, free: 3.723 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.5001, allocations: 4 kB / 456 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.0001354/0.5003, allocations: 137.7 kB / 456.1 MB, free: 3.574 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.698e-05/0.5003, allocations: 11.86 kB / 456.1 MB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005719/0.5009, allocations: 146.6 kB / 456.3 MB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.501, allocations: 0 / 456.3 MB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.501, allocations: 0 / 456.3 MB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.501, allocations: 4 kB / 456.3 MB, free: 3.414 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008608/0.5019, allocations: 426.5 kB / 456.7 MB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5019, allocations: 0 / 456.7 MB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.502, allocations: 23.98 kB / 456.7 MB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.5021, allocations: 0 / 456.7 MB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.5021, allocations: 0 / 456.7 MB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.5021, allocations: 4 kB / 456.7 MB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.5021, allocations: 0 / 456.7 MB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005528/0.5027, allocations: 239.2 kB / 457 MB, free: 2.664 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.317e-05/0.5028, allocations: 89 kB / 457 MB, free: 2.559 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.5028, allocations: 4 kB / 457.1 MB, free: 2.555 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.503, allocations: 11.98 kB / 457.1 MB, free: 2.543 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.859e-05/0.503, allocations: 8.281 kB / 457.1 MB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.503, allocations: 0 / 457.1 MB, free: 2.535 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001874/0.5032, allocations: 147.2 kB / 457.2 MB, free: 2.391 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5032, allocations: 0 / 457.2 MB, free: 2.391 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003435/0.5036, allocations: 24 kB / 457.2 MB, free: 2.367 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.001628/0.5052, allocations: 0.9615 MB / 458.2 MB, free: 1.445 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005603/0.5058, allocations: 155.3 kB / 458.4 MB, free: 1.281 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5058, allocations: 0 / 458.4 MB, free: 1.281 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002321/0.5061, allocations: 47.97 kB / 458.4 MB, free: 1.234 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.5064, allocations: 15.92 kB / 458.4 MB, free: 1.219 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009886/0.5074, allocations: 0.4902 MB / 458.9 MB, free: 0.668 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.5077, allocations: 0.7082 MB / 459.6 MB, free: 15.93 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.921e-05/0.5078, allocations: 23.44 kB / 459.6 MB, free: 15.91 MB / 394.7 MB Notification: Performance of SimCode: time 1.202e-06/0.5079, allocations: 0 / 459.6 MB, free: 15.91 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.607/3.115, allocations: 1.939 MB / 461.6 MB, free: 13.98 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test29_res.mat does not exist to compare? outputFormat=mat