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.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|.surface.y.1, 1..|.surface.y.3, 2..|.surface.y.5, 3..|.surface.y.7, 4..|.surface.y.9, 5..|.surface.y.11, 6..|.surface.y.13, 7..|.surface.y.15, 8..|.surface.y.17, 9..|.surface.y.19, 10..|.surface.y.21, 11..|.surface.y.23, 12..|.surface.y.25, 13..|.surface.y.27, 14..|.surface.y.29, 15..|.surface.y.31, 16..|.surface.y.33, 17..|.surface.y.35, 18..|.surface.y.37, 19..|.surface.y.39, 20..|.surface.y.41, 21..|.surface.y.43, 22..|.surface.y.45, 23..|.surface.y.47, 24..|.surface.y.51, 41..",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test17") Notification: Performance of loadModel(ModelicaTest): time 1.795/1.795, allocations: 209.3 MB / 224.8 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004471/0.0004469, allocations: 16 kB / 282.6 MB, free: 9.574 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3492, allocations: 48.7 MB / 331.3 MB, free: 6.32 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1889/0.5382, allocations: 75.07 MB / 406.4 MB, free: 3.227 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003476/0.5386, allocations: 71.97 kB / 406.4 MB, free: 3.156 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01381/0.5524, allocations: 2.784 MB / 409.2 MB, free: 364 kB / 330.7 MB Notification: Performance of FrontEnd: time 3.032e-06/0.5525, allocations: 0 / 409.2 MB, free: 364 kB / 330.7 MB Notification: Performance of Transformations before backend: time 9.905e-06/0.5525, allocations: 0 / 409.2 MB, free: 364 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005688/0.5531, allocations: 363.4 kB / 409.6 MB, free: 15.95 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/0.5532, allocations: 12.03 kB / 409.6 MB, free: 15.94 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.972e-05/0.5533, allocations: 11.91 kB / 409.6 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.5535, allocations: 173.5 kB / 409.8 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.5536, allocations: 7.938 kB / 409.8 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.5536, allocations: 8 kB / 409.8 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004238/0.5541, allocations: 184.7 kB / 410 MB, free: 15.47 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.5541, allocations: 7.938 kB / 410 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.5542, allocations: 0 / 410 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.008e-05/0.5542, allocations: 12 kB / 410 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001904/0.5545, allocations: 59.78 kB / 410 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001997/0.5565, allocations: 1.705 MB / 411.7 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.5567, allocations: 169.1 kB / 411.9 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.591e-05/0.5567, allocations: 75.28 kB / 412 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001018/0.5569, allocations: 113.8 kB / 412.1 MB, free: 13.21 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 3.685e-06/0.5569, allocations: 3.938 kB / 412.1 MB, free: 13.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001365/0.557, allocations: 33.61 kB / 412.1 MB, free: 13.17 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.5572, allocations: 130.7 kB / 412.2 MB, free: 13.03 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003474/0.5576, allocations: 165.2 kB / 412.4 MB, free: 12.86 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.5576, allocations: 25.7 kB / 412.4 MB, free: 12.83 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002094/0.5578, allocations: 213.7 kB / 412.6 MB, free: 12.62 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.274e-05/0.5579, allocations: 7.938 kB / 412.7 MB, free: 12.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.716e-05/0.5579, allocations: 8 kB / 412.7 MB, free: 12.6 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002124/0.5581, allocations: 318.8 kB / 413 MB, free: 12.28 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.5583, allocations: 31.97 kB / 413 MB, free: 12.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002764/0.5586, allocations: 158.4 kB / 413.2 MB, free: 12.04 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002393/0.5588, allocations: 59.92 kB / 413.2 MB, free: 11.98 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/0.5589, allocations: 4 kB / 413.2 MB, free: 11.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007236/0.5596, allocations: 193.8 kB / 413.4 MB, free: 11.78 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/0.5597, allocations: 11.94 kB / 413.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.5597, allocations: 8 kB / 413.4 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.433e-05/0.5598, allocations: 8 kB / 413.4 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002642/0.5601, allocations: 35.92 kB / 413.5 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.161e-05/0.5601, allocations: 7.953 kB / 413.5 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/0.5604, allocations: 23.75 kB / 413.5 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.624e-05/0.5604, allocations: 15.98 kB / 413.5 MB, free: 11.67 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0002504/0.5607, allocations: 209 kB / 413.7 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.5609, allocations: 112.9 kB / 413.8 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.561, allocations: 124.8 kB / 414 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001252/0.5612, allocations: 184.2 kB / 414.1 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001219/0.5613, allocations: 180.2 kB / 414.3 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001254/0.5615, allocations: 184.2 kB / 414.5 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005251/0.562, allocations: 421.2 kB / 414.9 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.614e-05/0.5621, allocations: 116.9 kB / 415 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.278e-05/0.5622, allocations: 101 kB / 415.1 MB, free: 9.953 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001258/0.5624, allocations: 184.2 kB / 415.3 MB, free: 9.766 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/0.5625, allocations: 178 kB / 415.5 MB, free: 9.586 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001216/0.5627, allocations: 184.2 kB / 415.6 MB, free: 9.398 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001182/0.5628, allocations: 176.3 kB / 415.8 MB, free: 9.219 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.5631, allocations: 319.6 kB / 416.1 MB, free: 8.883 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.5633, allocations: 186 kB / 416.3 MB, free: 8.676 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/0.5635, allocations: 184.2 kB / 416.5 MB, free: 8.488 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.5637, allocations: 109 kB / 416.6 MB, free: 8.375 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.5639, allocations: 180.3 kB / 416.8 MB, free: 8.191 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.078e-05/0.564, allocations: 112.9 kB / 416.9 MB, free: 8.074 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002442/0.5642, allocations: 132 kB / 417 MB, free: 7.945 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.327e-06/0.5642, allocations: 0 / 417 MB, free: 7.945 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007452/0.565, allocations: 19.94 kB / 417 MB, free: 7.926 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 (0): * Single equations (assignments): 0 * 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.000774/0.5658, allocations: 238.3 kB / 417.3 MB, free: 7.711 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003223/0.5662, allocations: 76.41 kB / 417.3 MB, free: 7.637 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.111e-06/0.5662, allocations: 0 / 417.3 MB, free: 7.637 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.954e-06/0.5662, allocations: 4 kB / 417.3 MB, free: 7.633 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006002/0.5668, allocations: 0.5262 MB / 417.9 MB, free: 7.102 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007363/0.5676, allocations: 317.5 kB / 418.2 MB, free: 6.754 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005202/0.5682, allocations: 0.7009 MB / 418.9 MB, free: 6.027 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.868e-05/0.5683, allocations: 15.44 kB / 418.9 MB, free: 6.012 MB / 346.7 MB Notification: Performance of SimCode: time 2.075e-06/0.5683, allocations: 0 / 418.9 MB, free: 6.012 MB / 346.7 MB Notification: Performance of Templates: time 0.005617/0.5739, allocations: 1.292 MB / 420.2 MB, free: 4.723 MB / 346.7 MB