Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test12.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test12") Notification: Performance of loadModel(ModelicaTest): time 2.022/2.022, allocations: 209.2 MB / 225.4 MB, free: 0.543 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004383/0.0004386, allocations: 16 kB / 283.1 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3477, allocations: 48.7 MB / 331.8 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1345/0.4822, allocations: 74.73 MB / 406.5 MB, free: 3.73 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/0.4826, allocations: 79.97 kB / 406.6 MB, free: 3.652 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01318/0.4958, allocations: 3.366 MB / 410 MB, free: 292 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4958, allocations: 0 / 410 MB, free: 292 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.4959, allocations: 4 kB / 410 MB, free: 288 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005679/0.4964, allocations: 416 kB / 410.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.4965, allocations: 12.03 kB / 410.4 MB, free: 15.81 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.4965, allocations: 7.844 kB / 410.4 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.4968, allocations: 186.9 kB / 410.6 MB, free: 15.58 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.4968, allocations: 3.984 kB / 410.6 MB, free: 15.58 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.4968, allocations: 4 kB / 410.6 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.4971, allocations: 75.39 kB / 410.7 MB, free: 15.49 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.4971, allocations: 4 kB / 410.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.4972, allocations: 4 kB / 410.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.4972, allocations: 0 / 410.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002333/0.4974, allocations: 47.91 kB / 410.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004258/0.4979, allocations: 288.7 kB / 411 MB, free: 15.1 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.4981, allocations: 46.56 kB / 411.1 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.4981, allocations: 0 / 411.1 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.4981, allocations: 38.56 kB / 411.1 MB, free: 15 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.4982, allocations: 3.938 kB / 411.1 MB, free: 15 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.001233/0.4994, allocations: 229.4 kB / 411.3 MB, free: 14.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.4995, allocations: 93 kB / 411.4 MB, free: 14.66 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.4996, allocations: 117.8 kB / 411.5 MB, free: 14.53 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.4997, allocations: 29.7 kB / 411.6 MB, free: 14.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.273e-05/0.4997, allocations: 158.5 kB / 411.7 MB, free: 14.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.4998, allocations: 23.66 kB / 411.7 MB, free: 14.32 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.605e-06/0.4998, allocations: 0 / 411.7 MB, free: 14.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.4999, allocations: 318.8 kB / 412 MB, free: 14 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.5002, allocations: 43.97 kB / 412.1 MB, free: 13.95 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.5004, allocations: 53.69 kB / 412.1 MB, free: 13.89 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.5007, allocations: 77.89 kB / 412.2 MB, free: 13.81 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.269e-06/0.5007, allocations: 3.984 kB / 412.2 MB, free: 13.81 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000542/0.5012, allocations: 163.4 kB / 412.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.056e-05/0.5013, allocations: 33.7 kB / 412.4 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.5013, allocations: 0 / 412.4 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.5013, allocations: 3.938 kB / 412.4 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.5015, allocations: 23.98 kB / 412.4 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.5016, allocations: 7.891 kB / 412.4 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.5017, allocations: 15.98 kB / 412.5 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.5017, allocations: 4 kB / 412.5 MB, free: 13.54 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 (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.0001078/0.5018, allocations: 113.8 kB / 412.6 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.05e-05/0.5019, allocations: 7.906 kB / 412.6 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005568/0.5025, allocations: 141.9 kB / 412.7 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.5025, allocations: 0 / 412.7 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5025, allocations: 0 / 412.7 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.5025, allocations: 3.953 kB / 412.7 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008227/0.5033, allocations: 398.5 kB / 413.1 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.5034, allocations: 0 / 413.1 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.5035, allocations: 27.98 kB / 413.1 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/0.5036, allocations: 0 / 413.1 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.5036, allocations: 3.938 kB / 413.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.5036, allocations: 7.953 kB / 413.2 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5036, allocations: 0 / 413.2 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005377/0.5042, allocations: 223.4 kB / 413.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.038e-05/0.5042, allocations: 81.02 kB / 413.5 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.5043, allocations: 8 kB / 413.5 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.5044, allocations: 15.98 kB / 413.5 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/0.5045, allocations: 11.94 kB / 413.5 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.5045, allocations: 0 / 413.5 MB, free: 12.42 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.848e-05/0.5046, allocations: 99.27 kB / 413.6 MB, free: 12.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5046, allocations: 0 / 413.6 MB, free: 12.32 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003587/0.505, allocations: 35.92 kB / 413.6 MB, free: 12.29 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 (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.000922/0.5059, allocations: 342.6 kB / 414 MB, free: 12.02 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005808/0.5065, allocations: 151.3 kB / 414.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5065, allocations: 0 / 414.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002321/0.5068, allocations: 55.91 kB / 414.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.5071, allocations: 11.94 kB / 414.2 MB, free: 11.79 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005062/0.5076, allocations: 198.9 kB / 414.4 MB, free: 11.56 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.5079, allocations: 0.6926 MB / 415.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.443e-05/0.508, allocations: 15.42 kB / 415.1 MB, free: 10.83 MB / 346.7 MB Notification: Performance of SimCode: time 9.32e-07/0.508, allocations: 0 / 415.1 MB, free: 10.83 MB / 346.7 MB Notification: Performance of Templates: time 0.004793/0.5128, allocations: 1.544 MB / 416.6 MB, free: 9.285 MB / 346.7 MB