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.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|.surface.y.1, 1..|.surface.y.5, 4..|.surface.y.9, 7..|.surface.y.13, 10..|.surface.y.17, 13..|.surface.y.21, 16..|.surface.y.25, 19..|.surface.y.29, 22..|.surface.y.33, 25..|.surface.y.37, 28..|.surface.y.41, 31..|.surface.y.45, 34..|.surface.y.49, 37..|.surface.y.53, 40..|.surface.y.57, 43..|.surface.y.61, 46..|.surface.y.65, 49..|.surface.y.69, 52..|.surface.y.73, 55..|.surface.y.77, 58..|.surface.y.81, 61..|.surface.y.85, 64..|.surface.y.89, 67..|.surface.y.93, 70..|.surface.y.101, 81..",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test16") Notification: Performance of loadModel(ModelicaTest): time 2.089/2.089, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006115/0.0006117, allocations: 12 kB / 283.1 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4092/0.4099, allocations: 48.7 MB / 331.8 MB, free: 6.488 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.136/0.546, allocations: 74.82 MB / 406.6 MB, free: 3.605 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/0.5463, allocations: 75.97 kB / 406.7 MB, free: 3.531 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01023/0.5566, allocations: 2.773 MB / 409.5 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5566, allocations: 3.938 kB / 409.5 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.5567, allocations: 4 kB / 409.5 MB, free: 0.7305 MB / 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.0004181/0.5571, allocations: 358.4 kB / 409.8 MB, free: 344 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.5571, allocations: 8.031 kB / 409.8 MB, free: 336 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.357e-05/0.5572, allocations: 11.91 kB / 409.8 MB, free: 324 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.5574, allocations: 175.3 kB / 410 MB, free: 108 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.5574, allocations: 8 kB / 410 MB, free: 100 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.5575, allocations: 4 kB / 410 MB, free: 96 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003543/0.5578, allocations: 187.3 kB / 410.2 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.5578, allocations: 3.938 kB / 410.2 MB, free: 15.85 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.5579, allocations: 8 kB / 410.2 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.35e-05/0.5579, allocations: 4 kB / 410.2 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.5581, allocations: 59.78 kB / 410.3 MB, free: 15.78 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.5594, allocations: 1.705 MB / 412 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.5596, allocations: 173.1 kB / 412.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-05/0.5596, allocations: 75.28 kB / 412.2 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.593e-05/0.5597, allocations: 105.8 kB / 412.3 MB, free: 13.6 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 3.126e-06/0.5597, allocations: 4 kB / 412.3 MB, free: 13.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001066/0.5598, allocations: 41.55 kB / 412.4 MB, free: 13.55 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.599e-05/0.5599, allocations: 126.7 kB / 412.5 MB, free: 13.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/0.5602, allocations: 190 kB / 412.7 MB, free: 13.22 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.5602, allocations: 25.7 kB / 412.7 MB, free: 13.19 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.5604, allocations: 213.7 kB / 412.9 MB, free: 12.98 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.379e-06/0.5604, allocations: 0 / 412.9 MB, free: 12.98 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.545e-05/0.5604, allocations: 8 kB / 412.9 MB, free: 12.97 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.5606, allocations: 330.7 kB / 413.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.971e-05/0.5607, allocations: 31.98 kB / 413.3 MB, free: 12.61 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.5609, allocations: 154.4 kB / 413.4 MB, free: 12.39 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.561, allocations: 63.91 kB / 413.5 MB, free: 12.33 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.561, allocations: 4 kB / 413.5 MB, free: 12.33 MB / 346.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004485/0.5615, allocations: 189.2 kB / 413.7 MB, free: 12.14 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.5616, allocations: 11.98 kB / 413.7 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.5616, allocations: 8 kB / 413.7 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/0.5616, allocations: 8.625 kB / 413.7 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.5619, allocations: 39.92 kB / 413.8 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.76e-05/0.5619, allocations: 11.89 kB / 413.8 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.562, allocations: 27.75 kB / 413.8 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.5621, allocations: 8 kB / 413.8 MB, free: 12.02 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.0001795/0.5623, allocations: 213 kB / 414 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.164e-05/0.5624, allocations: 108.9 kB / 414.1 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.031e-05/0.5625, allocations: 124.8 kB / 414.2 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.259e-05/0.5626, allocations: 184.3 kB / 414.4 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.994e-05/0.5626, allocations: 184.1 kB / 414.6 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.72e-05/0.5627, allocations: 184.2 kB / 414.8 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.5631, allocations: 421.2 kB / 415.2 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.998e-05/0.5631, allocations: 104.9 kB / 415.3 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.848e-05/0.5632, allocations: 109 kB / 415.4 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.735e-05/0.5633, allocations: 180.2 kB / 415.6 MB, free: 10.13 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.147e-05/0.5634, allocations: 182 kB / 415.8 MB, free: 9.945 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.119e-05/0.5635, allocations: 176.3 kB / 415.9 MB, free: 9.766 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.783e-05/0.5636, allocations: 184.2 kB / 416.1 MB, free: 9.578 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.5638, allocations: 319.6 kB / 416.4 MB, free: 9.242 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.5639, allocations: 186 kB / 416.6 MB, free: 9.035 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.657e-05/0.564, allocations: 176.3 kB / 416.8 MB, free: 8.855 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.5642, allocations: 112.9 kB / 416.9 MB, free: 8.738 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.511e-05/0.5643, allocations: 176.3 kB / 417.1 MB, free: 8.559 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-05/0.5643, allocations: 116.9 kB / 417.2 MB, free: 8.438 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001878/0.5645, allocations: 132 kB / 417.3 MB, free: 8.309 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5645, allocations: 0 / 417.3 MB, free: 8.309 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000373/0.5649, allocations: 16 kB / 417.3 MB, free: 8.293 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.0005757/0.5655, allocations: 255.9 kB / 417.6 MB, free: 8.059 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002504/0.5658, allocations: 72.91 kB / 417.6 MB, free: 7.988 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5658, allocations: 4.125 kB / 417.6 MB, free: 7.984 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.206e-06/0.5658, allocations: 0 / 417.6 MB, free: 7.984 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.5662, allocations: 0.5224 MB / 418.2 MB, free: 7.457 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005801/0.5668, allocations: 309 kB / 418.5 MB, free: 7.121 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.5672, allocations: 0.7125 MB / 419.2 MB, free: 6.383 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.18e-05/0.5673, allocations: 11.44 kB / 419.2 MB, free: 6.371 MB / 346.7 MB Notification: Performance of SimCode: time 1.513e-06/0.5673, allocations: 0 / 419.2 MB, free: 6.371 MB / 346.7 MB Notification: Performance of Templates: time 0.004305/0.5716, allocations: 1.287 MB / 420.5 MB, free: 5.086 MB / 346.7 MB