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.CombiTable2D.Test1.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.CombiTable2D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test1") Notification: Performance of loadModel(ModelicaTest): time 1.819/1.819, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.905e-05/2.919e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0842/0.08426, allocations: 48.69 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3844/0.4687, allocations: 74.49 MB / 401 MB, free: 10.34 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/0.4689, allocations: 70.27 kB / 401.1 MB, free: 10.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01505/0.484, allocations: 5.272 MB / 406.4 MB, free: 8.078 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.046e-06/0.484, allocations: 0 / 406.4 MB, free: 8.078 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.312e-05/0.4841, allocations: 7.531 kB / 406.4 MB, free: 8.078 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004928/0.4846, allocations: 0.5691 MB / 406.9 MB, free: 7.551 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.4846, allocations: 7.875 kB / 407 MB, free: 7.551 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.046e-05/0.4847, allocations: 42.81 kB / 407 MB, free: 7.527 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004087/0.4852, allocations: 319.1 kB / 407.3 MB, free: 7.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.4852, allocations: 3.844 kB / 407.3 MB, free: 7.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.4852, allocations: 4 kB / 407.3 MB, free: 7.266 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.4853, allocations: 47.69 kB / 407.4 MB, free: 7.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.4854, allocations: 3.062 kB / 407.4 MB, free: 7.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.945e-06/0.4854, allocations: 0 / 407.4 MB, free: 7.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.875e-06/0.4854, allocations: 3.781 kB / 407.4 MB, free: 7.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.102e-05/0.4855, allocations: 15.25 kB / 407.4 MB, free: 7.227 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005361/0.486, allocations: 430.3 kB / 407.8 MB, free: 6.914 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.4862, allocations: 48.31 kB / 407.8 MB, free: 6.879 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.98e-05/0.4863, allocations: 8.672 kB / 407.9 MB, free: 6.871 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.4863, allocations: 0 / 407.9 MB, free: 6.871 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.477e-05/0.4863, allocations: 37.78 kB / 407.9 MB, free: 6.832 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.866e-06/0.4863, allocations: 0 / 407.9 MB, free: 6.832 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004956/0.4869, allocations: 190.2 kB / 408.1 MB, free: 6.719 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.4869, allocations: 51.41 kB / 408.1 MB, free: 6.656 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/0.4884, allocations: 0.7641 MB / 408.9 MB, free: 6.465 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.4884, allocations: 25.7 kB / 408.9 MB, free: 6.434 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.4886, allocations: 244.9 kB / 409.2 MB, free: 6.273 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.4886, allocations: 11.44 kB / 409.2 MB, free: 6.266 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.419e-06/0.4886, allocations: 0 / 409.2 MB, free: 6.266 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.912e-05/0.4887, allocations: 314.7 kB / 409.5 MB, free: 5.953 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.156e-05/0.4887, allocations: 11.59 kB / 409.5 MB, free: 5.949 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.569e-05/0.4888, allocations: 18.12 kB / 409.5 MB, free: 5.949 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.126e-05/0.4888, allocations: 40.41 kB / 409.5 MB, free: 5.914 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.811e-06/0.4889, allocations: 0 / 409.5 MB, free: 5.914 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001533/0.489, allocations: 96.73 kB / 409.6 MB, free: 5.844 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/0.4891, allocations: 33.45 kB / 409.7 MB, free: 5.809 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.694e-06/0.4891, allocations: 0 / 409.7 MB, free: 5.809 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.4891, allocations: 3.969 kB / 409.7 MB, free: 5.809 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.4892, allocations: 19.66 kB / 409.7 MB, free: 5.801 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.858e-06/0.4892, allocations: 7.938 kB / 409.7 MB, free: 5.793 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.4894, allocations: 4.219 kB / 409.7 MB, free: 5.793 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.4894, allocations: 3.875 kB / 409.7 MB, free: 5.793 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.89e-05/0.4895, allocations: 104.4 kB / 409.8 MB, free: 5.688 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.297e-05/0.4896, allocations: 46.95 kB / 409.9 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002292/0.4898, allocations: 121.2 kB / 410 MB, free: 5.602 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.916e-06/0.4898, allocations: 0 / 410 MB, free: 5.602 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.836e-06/0.4898, allocations: 7.953 kB / 410 MB, free: 5.594 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.899e-06/0.4898, allocations: 0 / 410 MB, free: 5.594 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000723/0.4906, allocations: 0.5537 MB / 410.5 MB, free: 5.223 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.058e-06/0.4906, allocations: 0 / 410.5 MB, free: 5.223 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.54e-05/0.4907, allocations: 15.64 kB / 410.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.712e-06/0.4907, allocations: 0 / 410.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.4907, allocations: 3.953 kB / 410.6 MB, free: 5.215 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.4907, allocations: 0 / 410.6 MB, free: 5.215 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4908, allocations: 3.938 kB / 410.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.491, allocations: 195.2 kB / 410.8 MB, free: 5.055 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/0.4911, allocations: 162 kB / 410.9 MB, free: 4.93 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.352e-05/0.4912, allocations: 0 / 410.9 MB, free: 4.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.4914, allocations: 11.7 kB / 410.9 MB, free: 4.926 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/0.4914, allocations: 7.859 kB / 410.9 MB, free: 4.922 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.4914, allocations: 0 / 410.9 MB, free: 4.922 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007586/0.4922, allocations: 0.6262 MB / 411.6 MB, free: 4.773 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.4922, allocations: 0 / 411.6 MB, free: 4.773 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004053/0.4926, allocations: 57.72 kB / 411.6 MB, free: 4.77 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.0006738/0.4933, allocations: 246.3 kB / 411.9 MB, free: 4.613 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001639/0.4935, allocations: 89.27 kB / 411.9 MB, free: 4.547 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4935, allocations: 4 kB / 411.9 MB, free: 4.543 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.395e-05/0.4936, allocations: 15.34 kB / 412 MB, free: 4.543 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.4939, allocations: 20.25 kB / 412 MB, free: 4.539 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.4951, allocations: 0.737 MB / 412.7 MB, free: 4.25 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.4954, allocations: 0.8281 MB / 413.5 MB, free: 3.496 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.125e-05/0.4955, allocations: 19.38 kB / 413.6 MB, free: 3.484 MB / 314.7 MB Notification: Performance of SimCode: time 1.834e-06/0.4955, allocations: 0 / 413.6 MB, free: 3.484 MB / 314.7 MB Notification: Performance of Templates: time 0.008516/0.5041, allocations: 3.928 MB / 417.5 MB, free: 180 kB / 314.7 MB