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.CombiTable1Ds.Test19.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.CombiTable1Ds.Test19,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.CombiTable1Ds.Test19") Notification: Performance of loadModel(ModelicaTest): time 1.828/1.828, allocations: 209.3 MB / 224.9 MB, free: 0.5273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004448/0.0004449, allocations: 19.94 kB / 282.6 MB, free: 9.637 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2824, allocations: 48.7 MB / 331.3 MB, free: 6.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1792/0.4616, allocations: 74.75 MB / 406 MB, free: 3.691 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/0.4619, allocations: 67.97 kB / 406.1 MB, free: 3.625 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01245/0.4743, allocations: 3.403 MB / 409.5 MB, free: 224 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.332e-06/0.4744, allocations: 0 / 409.5 MB, free: 224 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.4744, allocations: 3.938 kB / 409.5 MB, free: 220 kB / 330.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.000502/0.4749, allocations: 408.8 kB / 409.9 MB, free: 15.76 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.475, allocations: 8.031 kB / 409.9 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/0.475, allocations: 7.906 kB / 409.9 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.4753, allocations: 179 kB / 410.1 MB, free: 15.53 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.4753, allocations: 0 / 410.1 MB, free: 15.53 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.4753, allocations: 4 kB / 410.1 MB, free: 15.53 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.4755, allocations: 67.39 kB / 410.2 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.4756, allocations: 4 kB / 410.2 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.4756, allocations: 0 / 410.2 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.4756, allocations: 4 kB / 410.2 MB, free: 15.44 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.4757, allocations: 27.92 kB / 410.2 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000427/0.4762, allocations: 276.8 kB / 410.5 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.4764, allocations: 46.56 kB / 410.5 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.4765, allocations: 0 / 410.5 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.4765, allocations: 38.5 kB / 410.5 MB, free: 14.99 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.84e-06/0.4765, allocations: 0 / 410.5 MB, free: 14.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006619/0.4772, allocations: 153.5 kB / 410.7 MB, free: 14.84 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.453e-05/0.4773, allocations: 81.09 kB / 410.8 MB, free: 14.74 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.4774, allocations: 116.9 kB / 410.9 MB, free: 14.62 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.4775, allocations: 29.7 kB / 410.9 MB, free: 14.58 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.092e-05/0.4776, allocations: 154.6 kB / 411.1 MB, free: 14.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.4776, allocations: 23.73 kB / 411.1 MB, free: 14.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.422e-06/0.4776, allocations: 0 / 411.1 MB, free: 14.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.4778, allocations: 318.8 kB / 411.4 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.4779, allocations: 27.92 kB / 411.4 MB, free: 14.06 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.478, allocations: 45.7 kB / 411.5 MB, free: 14.01 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.4782, allocations: 49.69 kB / 411.5 MB, free: 13.95 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.082e-06/0.4782, allocations: 0 / 411.5 MB, free: 13.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003092/0.4785, allocations: 127.3 kB / 411.6 MB, free: 13.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.05e-05/0.4786, allocations: 37.62 kB / 411.7 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4786, allocations: 0 / 411.7 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.4786, allocations: 0 / 411.7 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.38e-05/0.4787, allocations: 12 kB / 411.7 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.368e-06/0.4787, allocations: 0 / 411.7 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.639e-05/0.4788, allocations: 11.98 kB / 411.7 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.4788, allocations: 0 / 411.7 MB, free: 13.75 MB / 346.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 (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 0.0001148/0.4789, allocations: 121.8 kB / 411.8 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.14e-05/0.479, allocations: 7.938 kB / 411.8 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003036/0.4793, allocations: 97.56 kB / 411.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.919e-06/0.4793, allocations: 4 kB / 411.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.4793, allocations: 0 / 411.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.633e-06/0.4794, allocations: 4 kB / 411.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005832/0.4799, allocations: 350.7 kB / 412.3 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.48, allocations: 4.062 kB / 412.3 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.635e-05/0.4801, allocations: 12 kB / 412.3 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.4801, allocations: 4 kB / 412.3 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.4801, allocations: 4 kB / 412.3 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.241e-06/0.4801, allocations: 0 / 412.3 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.841e-06/0.4801, allocations: 0 / 412.3 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.4804, allocations: 191.4 kB / 412.5 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.588e-05/0.4805, allocations: 81.02 kB / 412.6 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.4806, allocations: 4.281 kB / 412.6 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.4807, allocations: 11.98 kB / 412.6 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.4807, allocations: 0 / 412.6 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.961e-06/0.4807, allocations: 4 kB / 412.6 MB, free: 12.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001001/0.4809, allocations: 95.27 kB / 412.7 MB, free: 12.67 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.865e-06/0.4809, allocations: 0 / 412.7 MB, free: 12.67 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003621/0.4812, allocations: 31.92 kB / 412.7 MB, free: 12.64 MB / 346.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 (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.000997/0.4823, allocations: 343 kB / 413 MB, free: 12.37 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003098/0.4826, allocations: 111.3 kB / 413.2 MB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.162e-06/0.4826, allocations: 0 / 413.2 MB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.4827, allocations: 31.98 kB / 413.2 MB, free: 12.22 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.483, allocations: 15.94 kB / 413.2 MB, free: 12.2 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004529/0.4834, allocations: 179 kB / 413.4 MB, free: 11.99 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004844/0.4839, allocations: 0.6965 MB / 414.1 MB, free: 11.27 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.333e-05/0.484, allocations: 15.42 kB / 414.1 MB, free: 11.25 MB / 346.7 MB Notification: Performance of SimCode: time 1.503e-06/0.484, allocations: 3.938 kB / 414.1 MB, free: 11.25 MB / 346.7 MB Notification: Performance of Templates: time 0.003805/0.4878, allocations: 1.434 MB / 415.5 MB, free: 9.812 MB / 346.7 MB