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.Test6.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.Test6,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.Test6") Notification: Performance of loadModel(ModelicaTest): time 1.803/1.803, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.604e-05/3.619e-05, allocations: 4 kB / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08771/0.08778, allocations: 48.69 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3722/0.4601, allocations: 74.39 MB / 400.9 MB, free: 10.25 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002063/0.4603, allocations: 77.06 kB / 401 MB, free: 10.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01464/0.475, allocations: 5.226 MB / 406.2 MB, free: 8.035 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.002e-06/0.475, allocations: 0 / 406.2 MB, free: 8.035 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.633e-05/0.4751, allocations: 7.656 kB / 406.2 MB, free: 8.035 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.0005029/0.4756, allocations: 0.582 MB / 406.8 MB, free: 7.504 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.4756, allocations: 7.875 kB / 406.8 MB, free: 7.504 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.495e-05/0.4757, allocations: 42.81 kB / 406.9 MB, free: 7.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004039/0.4761, allocations: 314 kB / 407.2 MB, free: 7.223 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.4762, allocations: 3.781 kB / 407.2 MB, free: 7.223 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.4762, allocations: 7.062 kB / 407.2 MB, free: 7.223 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.4763, allocations: 47.69 kB / 407.2 MB, free: 7.188 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.4763, allocations: 3.875 kB / 407.2 MB, free: 7.188 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.4764, allocations: 0 / 407.2 MB, free: 7.188 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.4764, allocations: 11.88 kB / 407.2 MB, free: 7.176 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.518e-05/0.4765, allocations: 18.97 kB / 407.3 MB, free: 7.176 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005264/0.477, allocations: 421.8 kB / 407.7 MB, free: 6.863 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.672e-05/0.4771, allocations: 45.39 kB / 407.7 MB, free: 6.832 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.631e-05/0.4772, allocations: 16.42 kB / 407.7 MB, free: 6.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.4772, allocations: 4 kB / 407.7 MB, free: 6.816 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.278e-05/0.4772, allocations: 34.5 kB / 407.8 MB, free: 6.777 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.04e-06/0.4772, allocations: 0 / 407.8 MB, free: 6.777 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005804/0.4778, allocations: 218.7 kB / 408 MB, free: 6.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.902e-05/0.4779, allocations: 51.41 kB / 408 MB, free: 6.598 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001541/0.4794, allocations: 0.7674 MB / 408.8 MB, free: 6.398 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.4794, allocations: 25.7 kB / 408.8 MB, free: 6.367 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.4796, allocations: 236.4 kB / 409.1 MB, free: 6.215 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.4796, allocations: 27.08 kB / 409.1 MB, free: 6.199 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.931e-06/0.4796, allocations: 0 / 409.1 MB, free: 6.199 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.89e-05/0.4797, allocations: 318.3 kB / 409.4 MB, free: 5.883 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.784e-05/0.4798, allocations: 18.31 kB / 409.4 MB, free: 5.883 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.878e-05/0.4798, allocations: 15.12 kB / 409.4 MB, free: 5.883 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.393e-05/0.4799, allocations: 40.06 kB / 409.5 MB, free: 5.852 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.977e-06/0.4799, allocations: 4 kB / 409.5 MB, free: 5.848 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001848/0.4801, allocations: 110.3 kB / 409.6 MB, free: 5.777 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.4802, allocations: 29.36 kB / 409.6 MB, free: 5.746 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.4802, allocations: 3.938 kB / 409.6 MB, free: 5.742 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.4802, allocations: 3.953 kB / 409.6 MB, free: 5.738 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.4804, allocations: 27.41 kB / 409.6 MB, free: 5.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.4804, allocations: 3.938 kB / 409.6 MB, free: 5.727 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.4805, allocations: 15.56 kB / 409.7 MB, free: 5.723 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.4805, allocations: 7.891 kB / 409.7 MB, free: 5.719 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 (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 5.12e-05/0.4806, allocations: 104.5 kB / 409.8 MB, free: 5.613 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.339e-05/0.4807, allocations: 42.16 kB / 409.8 MB, free: 5.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002511/0.481, allocations: 135 kB / 409.9 MB, free: 5.535 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.374e-06/0.481, allocations: 0 / 409.9 MB, free: 5.535 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.006e-06/0.481, allocations: 3.953 kB / 409.9 MB, free: 5.531 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.816e-06/0.481, allocations: 0 / 409.9 MB, free: 5.531 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007719/0.4818, allocations: 0.5775 MB / 410.5 MB, free: 5.152 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.107e-06/0.4818, allocations: 0 / 410.5 MB, free: 5.152 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/0.4819, allocations: 27.02 kB / 410.5 MB, free: 5.145 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.479e-05/0.482, allocations: 3.938 kB / 410.5 MB, free: 5.141 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.482, allocations: 3.953 kB / 410.6 MB, free: 5.137 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.58e-06/0.482, allocations: 0 / 410.6 MB, free: 5.137 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.891e-06/0.482, allocations: 0 / 410.6 MB, free: 5.137 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.4823, allocations: 214.4 kB / 410.8 MB, free: 4.977 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001691/0.4824, allocations: 160.8 kB / 410.9 MB, free: 4.852 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.438e-05/0.4825, allocations: 0 / 410.9 MB, free: 4.852 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.4827, allocations: 19.34 kB / 410.9 MB, free: 4.844 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.4828, allocations: 7.953 kB / 410.9 MB, free: 4.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.4828, allocations: 3.375 kB / 410.9 MB, free: 4.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007483/0.4835, allocations: 0.6173 MB / 411.6 MB, free: 4.695 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.12e-07/0.4836, allocations: 0 / 411.6 MB, free: 4.695 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004129/0.484, allocations: 65.98 kB / 411.6 MB, free: 4.688 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 (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.0006755/0.4847, allocations: 229.4 kB / 411.9 MB, free: 4.543 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001845/0.4849, allocations: 104.4 kB / 412 MB, free: 4.473 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.4849, allocations: 3.844 kB / 412 MB, free: 4.473 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.126e-05/0.485, allocations: 26.84 kB / 412 MB, free: 4.469 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.4853, allocations: 17.06 kB / 412 MB, free: 4.465 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.4865, allocations: 0.748 MB / 412.8 MB, free: 4.176 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.4868, allocations: 0.8246 MB / 413.6 MB, free: 3.422 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.742e-05/0.4869, allocations: 27.03 kB / 413.6 MB, free: 3.41 MB / 314.7 MB Notification: Performance of SimCode: time 1.592e-06/0.487, allocations: 0 / 413.6 MB, free: 3.41 MB / 314.7 MB Notification: Performance of Templates: time 0.008635/0.4956, allocations: 4.039 MB / 417.6 MB, free: 15.89 MB / 330.7 MB