Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test7.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test7") Notification: Performance of loadModel(ModelicaTest): time 1.968/1.968, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.13e-05/4.138e-05, allocations: 4 kB / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1289, allocations: 48.7 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3625/0.4914, allocations: 74.39 MB / 400.9 MB, free: 10.38 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001902/0.4917, allocations: 70.31 kB / 401 MB, free: 10.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009558/0.5012, allocations: 2.623 MB / 403.6 MB, free: 9.344 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.988e-06/0.5013, allocations: 0 / 403.6 MB, free: 9.344 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.749e-05/0.5013, allocations: 0 / 403.6 MB, free: 9.344 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003069/0.5016, allocations: 394.6 kB / 404 MB, free: 8.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.5017, allocations: 11.22 kB / 404 MB, free: 8.93 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.5017, allocations: 3.844 kB / 404 MB, free: 8.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.5019, allocations: 189.6 kB / 404.2 MB, free: 8.719 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.5019, allocations: 7.984 kB / 404.2 MB, free: 8.711 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.502, allocations: 3 kB / 404.2 MB, free: 8.711 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.785e-05/0.5021, allocations: 48.59 kB / 404.3 MB, free: 8.672 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.5021, allocations: 0 / 404.3 MB, free: 8.672 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.972e-06/0.5021, allocations: 0 / 404.3 MB, free: 8.672 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.5021, allocations: 0 / 404.3 MB, free: 8.672 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.609e-05/0.5022, allocations: 22.48 kB / 404.3 MB, free: 8.668 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003378/0.5026, allocations: 285.6 kB / 404.6 MB, free: 8.379 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.5027, allocations: 48.16 kB / 404.6 MB, free: 8.348 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.063e-05/0.5028, allocations: 12.08 kB / 404.6 MB, free: 8.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.5028, allocations: 0 / 404.6 MB, free: 8.34 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.5029, allocations: 34.38 kB / 404.7 MB, free: 8.301 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.82e-06/0.5029, allocations: 0 / 404.7 MB, free: 8.301 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004239/0.5033, allocations: 113.6 kB / 404.8 MB, free: 8.238 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.936e-05/0.5033, allocations: 55.25 kB / 404.8 MB, free: 8.176 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.5035, allocations: 132.9 kB / 405 MB, free: 8.078 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.5035, allocations: 33.2 kB / 405 MB, free: 8.043 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.54e-05/0.5035, allocations: 157.9 kB / 405.1 MB, free: 7.891 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.5036, allocations: 23.06 kB / 405.2 MB, free: 7.875 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-06/0.5036, allocations: 0 / 405.2 MB, free: 7.875 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.667e-05/0.5036, allocations: 314.8 kB / 405.5 MB, free: 7.559 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.17e-05/0.5037, allocations: 22.16 kB / 405.5 MB, free: 7.555 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.638e-05/0.5038, allocations: 14.92 kB / 405.5 MB, free: 7.551 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.192e-05/0.5038, allocations: 40.02 kB / 405.5 MB, free: 7.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.603e-06/0.5038, allocations: 0 / 405.5 MB, free: 7.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001449/0.504, allocations: 100.6 kB / 405.6 MB, free: 7.445 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.504, allocations: 37.38 kB / 405.7 MB, free: 7.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.388e-06/0.504, allocations: 0 / 405.7 MB, free: 7.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.5041, allocations: 0 / 405.7 MB, free: 7.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.824e-05/0.5042, allocations: 11.59 kB / 405.7 MB, free: 7.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.627e-06/0.5042, allocations: 4 kB / 405.7 MB, free: 7.406 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.19e-05/0.5043, allocations: 19.48 kB / 405.7 MB, free: 7.398 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.5043, allocations: 0 / 405.7 MB, free: 7.398 MB / 314.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 () * 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 4.63e-05/0.5043, allocations: 104.9 kB / 405.8 MB, free: 7.289 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.5044, allocations: 7.719 kB / 405.8 MB, free: 7.285 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001764/0.5046, allocations: 82.48 kB / 405.9 MB, free: 7.242 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.5046, allocations: 0 / 405.9 MB, free: 7.242 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.5046, allocations: 4 kB / 405.9 MB, free: 7.238 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.562e-06/0.5046, allocations: 3.844 kB / 405.9 MB, free: 7.238 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003441/0.505, allocations: 330.8 kB / 406.2 MB, free: 6.922 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.505, allocations: 7.828 kB / 406.2 MB, free: 6.918 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.111e-05/0.5051, allocations: 11.22 kB / 406.3 MB, free: 6.918 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.195e-06/0.5051, allocations: 0 / 406.3 MB, free: 6.918 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.5051, allocations: 6.5 kB / 406.3 MB, free: 6.914 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.166e-06/0.5051, allocations: 0 / 406.3 MB, free: 6.914 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.657e-06/0.5051, allocations: 0 / 406.3 MB, free: 6.914 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/0.5053, allocations: 173.9 kB / 406.4 MB, free: 6.766 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.33e-05/0.5053, allocations: 87.98 kB / 406.5 MB, free: 6.668 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.5054, allocations: 0 / 406.5 MB, free: 6.668 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.5055, allocations: 7.859 kB / 406.5 MB, free: 6.664 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/0.5055, allocations: 3.969 kB / 406.5 MB, free: 6.664 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.6e-06/0.5056, allocations: 0 / 406.5 MB, free: 6.664 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.659e-05/0.5056, allocations: 115.3 kB / 406.6 MB, free: 6.582 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.3e-07/0.5056, allocations: 0 / 406.6 MB, free: 6.582 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003304/0.506, allocations: 14.31 kB / 406.7 MB, free: 6.582 MB / 314.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 () * 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.0006382/0.5066, allocations: 251.6 kB / 406.9 MB, free: 6.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001631/0.5068, allocations: 99.95 kB / 407 MB, free: 6.336 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.883e-06/0.5068, allocations: 0 / 407 MB, free: 6.336 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.898e-05/0.5069, allocations: 21.09 kB / 407 MB, free: 6.336 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.5071, allocations: 6.344 kB / 407 MB, free: 6.336 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/0.5075, allocations: 145.8 kB / 407.2 MB, free: 6.215 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.5076, allocations: 0.6957 MB / 407.9 MB, free: 5.508 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.128e-05/0.5077, allocations: 15.12 kB / 407.9 MB, free: 5.5 MB / 314.7 MB Notification: Performance of SimCode: time 1.565e-06/0.5077, allocations: 0 / 407.9 MB, free: 5.5 MB / 314.7 MB Notification: Performance of Templates: time 0.002887/0.5106, allocations: 1.226 MB / 409.1 MB, free: 4.895 MB / 314.7 MB