Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test30.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test30") Notification: Performance of loadModel(ModelicaTest): time 2.163/2.163, allocations: 235 MB / 248.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.219e-05/5.259e-05, allocations: 4 kB / 309.7 MB, free: 1.336 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3642, allocations: 54.86 MB / 364.5 MB, free: 5.539 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1238/0.488, allocations: 80.89 MB / 445.4 MB, free: 15.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/0.4883, allocations: 71.97 kB / 445.5 MB, free: 15.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01267/0.501, allocations: 3.128 MB / 448.6 MB, free: 12.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.017e-06/0.5011, allocations: 0 / 448.6 MB, free: 12.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.652e-05/0.5011, allocations: 4 kB / 448.6 MB, free: 12.4 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005031/0.5016, allocations: 407.9 kB / 449 MB, free: 11.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.5017, allocations: 8.031 kB / 449 MB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.957e-05/0.5017, allocations: 15.86 kB / 449.1 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.502, allocations: 191.5 kB / 449.2 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.5021, allocations: 9.031 kB / 449.3 MB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.5021, allocations: 0 / 449.3 MB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.5022, allocations: 41.69 kB / 449.3 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.5023, allocations: 4 kB / 449.3 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.5023, allocations: 0 / 449.3 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.841e-06/0.5023, allocations: 7.953 kB / 449.3 MB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.164e-05/0.5024, allocations: 12 kB / 449.3 MB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005145/0.5029, allocations: 300.7 kB / 449.6 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.5031, allocations: 38.56 kB / 449.6 MB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.464e-05/0.5032, allocations: 16.86 kB / 449.7 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.5032, allocations: 4 kB / 449.7 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.5033, allocations: 35.55 kB / 449.7 MB, free: 11.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.357e-06/0.5033, allocations: 0 / 449.7 MB, free: 11.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005022/0.5038, allocations: 117.4 kB / 449.8 MB, free: 11.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.5039, allocations: 51.41 kB / 449.9 MB, free: 10.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.5041, allocations: 173.5 kB / 450 MB, free: 10.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.5042, allocations: 37.69 kB / 450.1 MB, free: 10.76 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.393e-05/0.5043, allocations: 158.6 kB / 450.2 MB, free: 10.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/0.5043, allocations: 19.73 kB / 450.2 MB, free: 10.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.604e-06/0.5044, allocations: 4 kB / 450.2 MB, free: 10.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.5045, allocations: 310.8 kB / 450.6 MB, free: 10.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.06e-05/0.5046, allocations: 15.98 kB / 450.6 MB, free: 10.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.636e-05/0.5046, allocations: 17.41 kB / 450.6 MB, free: 10.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.368e-05/0.5047, allocations: 46.52 kB / 450.6 MB, free: 10.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.149e-06/0.5047, allocations: 0 / 450.6 MB, free: 10.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001999/0.505, allocations: 111.2 kB / 450.7 MB, free: 10.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.64e-05/0.505, allocations: 33.66 kB / 450.8 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.317e-06/0.505, allocations: 0 / 450.8 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.505, allocations: 0 / 450.8 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.5052, allocations: 18.3 kB / 450.8 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.009e-06/0.5052, allocations: 0 / 450.8 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.707e-05/0.5053, allocations: 8 kB / 450.8 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.5053, allocations: 0 / 450.8 MB, free: 10 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 () * 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 9.229e-05/0.5054, allocations: 109 kB / 450.9 MB, free: 9.887 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.467e-05/0.5055, allocations: 7.906 kB / 450.9 MB, free: 9.879 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000219/0.5057, allocations: 89.66 kB / 451 MB, free: 9.789 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.387e-06/0.5057, allocations: 144 / 451 MB, free: 9.789 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.788e-06/0.5057, allocations: 3.938 kB / 451 MB, free: 9.785 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.118e-06/0.5058, allocations: 7.969 kB / 451 MB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005554/0.5063, allocations: 354.5 kB / 451.4 MB, free: 9.375 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.243e-06/0.5063, allocations: 0 / 451.4 MB, free: 9.375 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.899e-05/0.5065, allocations: 19.95 kB / 451.4 MB, free: 9.355 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.397e-06/0.5065, allocations: 3.984 kB / 451.4 MB, free: 9.352 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.5065, allocations: 3.125 kB / 451.4 MB, free: 9.352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.262e-06/0.5065, allocations: 0 / 451.4 MB, free: 9.352 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.136e-06/0.5065, allocations: 0 / 451.4 MB, free: 9.352 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.5067, allocations: 163.5 kB / 451.5 MB, free: 9.176 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.987e-05/0.5068, allocations: 89.02 kB / 451.6 MB, free: 9.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.5069, allocations: 7.953 kB / 451.6 MB, free: 9.062 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.507, allocations: 11.98 kB / 451.7 MB, free: 9.051 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.5071, allocations: 7.938 kB / 451.7 MB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.781e-06/0.5071, allocations: 0 / 451.7 MB, free: 9.043 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000178/0.5073, allocations: 150.4 kB / 451.8 MB, free: 8.898 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.78e-07/0.5073, allocations: 0 / 451.8 MB, free: 8.898 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000359/0.5076, allocations: 31.89 kB / 451.8 MB, free: 8.867 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 () * 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.0009534/0.5086, allocations: 272.9 kB / 452.1 MB, free: 8.676 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000243/0.5089, allocations: 99.39 kB / 452.2 MB, free: 8.566 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.198e-06/0.5089, allocations: 4 kB / 452.2 MB, free: 8.562 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.212e-05/0.509, allocations: 19.94 kB / 452.2 MB, free: 8.543 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.5093, allocations: 11.98 kB / 452.2 MB, free: 8.531 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005102/0.5098, allocations: 178.8 kB / 452.4 MB, free: 8.328 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.5102, allocations: 0.7043 MB / 453.1 MB, free: 7.598 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.477e-05/0.5103, allocations: 15.42 kB / 453.1 MB, free: 7.582 MB / 378.7 MB Notification: Performance of SimCode: time 2.078e-06/0.5103, allocations: 0 / 453.1 MB, free: 7.582 MB / 378.7 MB Notification: Performance of Templates: time 0.003806/0.5141, allocations: 1.37 MB / 454.5 MB, free: 6.211 MB / 378.7 MB