Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test17.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Tables.CombiTable2D.Test17") Notification: Performance of loadModel(ModelicaTest): time 2.458/2.458, allocations: 234.9 MB / 251.1 MB, free: 9.703 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004654/0.0004656, allocations: 16 kB / 314.9 MB, free: 9.746 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3847, allocations: 54.86 MB / 369.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1672/0.552, allocations: 81.51 MB / 451.3 MB, free: 11.17 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000363/0.5524, allocations: 79.95 kB / 451.4 MB, free: 11.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01278/0.5652, allocations: 2.823 MB / 454.2 MB, free: 8.246 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.5653, allocations: 0 / 454.2 MB, free: 8.246 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.5653, allocations: 0 / 454.2 MB, free: 8.246 MB / 378.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.0004757/0.5658, allocations: 367.4 kB / 454.6 MB, free: 7.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.5659, allocations: 12.03 kB / 454.6 MB, free: 7.828 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.721e-05/0.5659, allocations: 11.86 kB / 454.6 MB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.5661, allocations: 175.1 kB / 454.8 MB, free: 7.605 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.5662, allocations: 4 kB / 454.8 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.5662, allocations: 8 kB / 454.8 MB, free: 7.594 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003795/0.5666, allocations: 179.3 kB / 455 MB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.5666, allocations: 7.938 kB / 455 MB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.5667, allocations: 3.953 kB / 455 MB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-05/0.5667, allocations: 12 kB / 455 MB, free: 7.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/0.5669, allocations: 59.78 kB / 455 MB, free: 7.281 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/0.5686, allocations: 1.697 MB / 456.7 MB, free: 5.477 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.5688, allocations: 173.1 kB / 456.9 MB, free: 5.297 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.789e-05/0.5688, allocations: 75.28 kB / 457 MB, free: 5.223 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.797e-05/0.5689, allocations: 117.8 kB / 457.1 MB, free: 5.098 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 3.166e-06/0.569, allocations: 0 / 457.1 MB, free: 5.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001126/0.5691, allocations: 39.06 kB / 457.1 MB, free: 5.055 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.055e-05/0.5692, allocations: 130.7 kB / 457.3 MB, free: 4.914 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003243/0.5695, allocations: 190 kB / 457.4 MB, free: 4.719 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.5696, allocations: 25.7 kB / 457.5 MB, free: 4.688 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.5697, allocations: 213.6 kB / 457.7 MB, free: 4.477 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.23e-06/0.5698, allocations: 0 / 457.7 MB, free: 4.477 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.319e-05/0.5698, allocations: 8 kB / 457.7 MB, free: 4.469 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.57, allocations: 318.8 kB / 458 MB, free: 4.148 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.5701, allocations: 27.98 kB / 458 MB, free: 4.121 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/0.5703, allocations: 160.4 kB / 458.2 MB, free: 3.906 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/0.5705, allocations: 67.91 kB / 458.2 MB, free: 3.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.5706, allocations: 3.938 kB / 458.2 MB, free: 3.836 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005759/0.5712, allocations: 201 kB / 458.4 MB, free: 3.633 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.5712, allocations: 4.625 kB / 458.4 MB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.5712, allocations: 12 kB / 458.5 MB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.636e-05/0.5713, allocations: 4 kB / 458.5 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/0.5716, allocations: 43.92 kB / 458.5 MB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/0.5716, allocations: 4 kB / 458.5 MB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.5718, allocations: 19.75 kB / 458.5 MB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/0.5718, allocations: 12 kB / 458.5 MB, free: 3.535 MB / 378.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.0001995/0.5721, allocations: 217 kB / 458.8 MB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.5722, allocations: 120.8 kB / 458.9 MB, free: 3.188 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.376e-05/0.5723, allocations: 124.6 kB / 459 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.712e-05/0.5724, allocations: 180.3 kB / 459.2 MB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.058e-05/0.5725, allocations: 184.2 kB / 459.3 MB, free: 2.688 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.397e-05/0.5726, allocations: 176.3 kB / 459.5 MB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004058/0.573, allocations: 425.1 kB / 459.9 MB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.482e-05/0.5731, allocations: 105 kB / 460 MB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.045e-05/0.5732, allocations: 101 kB / 460.1 MB, free: 1.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001026/0.5733, allocations: 192.1 kB / 460.3 MB, free: 1.625 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-05/0.5734, allocations: 180.3 kB / 460.5 MB, free: 1.441 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.731e-05/0.5735, allocations: 184.2 kB / 460.7 MB, free: 1.254 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.493e-05/0.5736, allocations: 176.3 kB / 460.9 MB, free: 1.074 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.5738, allocations: 321 kB / 461.2 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.574, allocations: 186 kB / 461.3 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.5741, allocations: 184.2 kB / 461.5 MB, free: 352 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.5743, allocations: 101 kB / 461.6 MB, free: 244 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.564e-05/0.5744, allocations: 184.2 kB / 461.8 MB, free: 52 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.8e-05/0.5745, allocations: 116.9 kB / 461.9 MB, free: 15.93 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00021/0.5747, allocations: 127.2 kB / 462 MB, free: 15.8 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.5747, allocations: 0 / 462 MB, free: 15.8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006501/0.5754, allocations: 16 kB / 462.1 MB, free: 15.79 MB / 394.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.0008213/0.5762, allocations: 279.3 kB / 462.3 MB, free: 15.55 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002852/0.5765, allocations: 75.78 kB / 462.4 MB, free: 15.48 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5766, allocations: 0 / 462.4 MB, free: 15.48 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.684e-06/0.5766, allocations: 4 kB / 462.4 MB, free: 15.48 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005007/0.5771, allocations: 0.5237 MB / 462.9 MB, free: 14.95 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006777/0.5778, allocations: 312.4 kB / 463.2 MB, free: 14.6 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004329/0.5783, allocations: 0.7048 MB / 463.9 MB, free: 13.87 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.874e-05/0.5784, allocations: 19.44 kB / 464 MB, free: 13.85 MB / 394.7 MB Notification: Performance of SimCode: time 1.122e-06/0.5784, allocations: 0 / 464 MB, free: 13.85 MB / 394.7 MB Notification: Performance of Templates: time 0.004259/0.5827, allocations: 1.281 MB / 465.2 MB, free: 12.57 MB / 394.7 MB