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.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test4") Notification: Performance of loadModel(ModelicaTest): time 2.066/2.066, allocations: 209.3 MB / 222.4 MB, free: 7.719 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.947e-05/2.96e-05, allocations: 8 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08954/0.08959, allocations: 48.7 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3333/0.423, allocations: 74.45 MB / 401 MB, free: 9.848 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/0.4232, allocations: 72.81 kB / 401.1 MB, free: 9.844 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01521/0.4385, allocations: 5.172 MB / 406.2 MB, free: 7.656 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.969e-06/0.4385, allocations: 0 / 406.2 MB, free: 7.656 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.227e-05/0.4385, allocations: 7.594 kB / 406.2 MB, free: 7.656 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.0004891/0.439, allocations: 0.5706 MB / 406.8 MB, free: 7.129 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.992e-05/0.4391, allocations: 11.5 kB / 406.8 MB, free: 7.129 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.569e-05/0.4392, allocations: 38.97 kB / 406.9 MB, free: 7.105 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004072/0.4396, allocations: 313.9 kB / 407.2 MB, free: 6.852 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.4396, allocations: 4 kB / 407.2 MB, free: 6.848 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.4397, allocations: 11.59 kB / 407.2 MB, free: 6.844 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.4398, allocations: 47.59 kB / 407.2 MB, free: 6.809 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.4398, allocations: 3.984 kB / 407.2 MB, free: 6.805 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.671e-06/0.4398, allocations: 0 / 407.2 MB, free: 6.805 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.4398, allocations: 0 / 407.2 MB, free: 6.805 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.096e-05/0.4399, allocations: 22.56 kB / 407.3 MB, free: 6.801 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005245/0.4405, allocations: 430.8 kB / 407.7 MB, free: 6.484 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.4407, allocations: 44.64 kB / 407.7 MB, free: 6.453 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.974e-05/0.4407, allocations: 8.828 kB / 407.7 MB, free: 6.445 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.4407, allocations: 0 / 407.7 MB, free: 6.445 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/0.4408, allocations: 38.28 kB / 407.8 MB, free: 6.406 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.876e-06/0.4408, allocations: 0 / 407.8 MB, free: 6.406 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004818/0.4413, allocations: 195 kB / 408 MB, free: 6.289 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.135e-05/0.4413, allocations: 51.41 kB / 408 MB, free: 6.227 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001423/0.4427, allocations: 0.7631 MB / 408.8 MB, free: 6.035 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.4428, allocations: 25.7 kB / 408.8 MB, free: 6.004 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.4429, allocations: 240 kB / 409 MB, free: 5.848 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.4429, allocations: 10.81 kB / 409 MB, free: 5.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-05/0.443, allocations: 0 / 409 MB, free: 5.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.103e-05/0.443, allocations: 326 kB / 409.4 MB, free: 5.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.233e-05/0.4431, allocations: 11.53 kB / 409.4 MB, free: 5.516 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.307e-05/0.4431, allocations: 10.66 kB / 409.4 MB, free: 5.516 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.252e-05/0.4432, allocations: 43.61 kB / 409.4 MB, free: 5.484 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.4432, allocations: 0 / 409.4 MB, free: 5.484 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001534/0.4434, allocations: 90.11 kB / 409.5 MB, free: 5.418 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.4434, allocations: 29.55 kB / 409.5 MB, free: 5.387 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.499e-06/0.4434, allocations: 7.75 kB / 409.5 MB, free: 5.383 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.4435, allocations: 0 / 409.5 MB, free: 5.383 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.4436, allocations: 19.25 kB / 409.6 MB, free: 5.375 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.884e-06/0.4436, allocations: 7.938 kB / 409.6 MB, free: 5.367 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.4437, allocations: 7.891 kB / 409.6 MB, free: 5.363 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.4437, allocations: 3.844 kB / 409.6 MB, free: 5.363 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 (6): * Single equations (assignments): 5 * 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 4.811e-05/0.4438, allocations: 104.5 kB / 409.7 MB, free: 5.258 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.308e-05/0.4439, allocations: 42.5 kB / 409.7 MB, free: 5.234 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002297/0.4442, allocations: 117.7 kB / 409.8 MB, free: 5.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.729e-06/0.4442, allocations: 3.938 kB / 409.8 MB, free: 5.176 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.4442, allocations: 7.953 kB / 409.9 MB, free: 5.168 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.71e-06/0.4442, allocations: 3.875 kB / 409.9 MB, free: 5.168 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007349/0.4449, allocations: 0.5594 MB / 410.4 MB, free: 4.793 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.853e-06/0.445, allocations: 0 / 410.4 MB, free: 4.793 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.463e-05/0.4451, allocations: 15.48 kB / 410.4 MB, free: 4.789 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.4451, allocations: 0 / 410.4 MB, free: 4.789 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.4451, allocations: 3.953 kB / 410.4 MB, free: 4.785 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.321e-06/0.4451, allocations: 0 / 410.4 MB, free: 4.785 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.561e-06/0.4451, allocations: 3.875 kB / 410.4 MB, free: 4.785 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.4453, allocations: 197 kB / 410.6 MB, free: 4.625 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001842/0.4455, allocations: 154.4 kB / 410.8 MB, free: 4.504 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.1e-05/0.4456, allocations: 0 / 410.8 MB, free: 4.504 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.4458, allocations: 17.91 kB / 410.8 MB, free: 4.496 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.4458, allocations: 0 / 410.8 MB, free: 4.496 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.646e-06/0.4458, allocations: 3.844 kB / 410.8 MB, free: 4.496 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007559/0.4466, allocations: 0.6286 MB / 411.4 MB, free: 4.348 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.67e-07/0.4466, allocations: 0 / 411.4 MB, free: 4.348 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004109/0.447, allocations: 50.03 kB / 411.5 MB, free: 4.344 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 (5): * Single equations (assignments): 5 * 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.0006902/0.4477, allocations: 233.4 kB / 411.7 MB, free: 4.199 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001666/0.4479, allocations: 92.16 kB / 411.8 MB, free: 4.133 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.681e-06/0.448, allocations: 4 kB / 411.8 MB, free: 4.129 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.579e-05/0.448, allocations: 14.06 kB / 411.8 MB, free: 4.129 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.4483, allocations: 25.48 kB / 411.8 MB, free: 4.121 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.4496, allocations: 0.7318 MB / 412.6 MB, free: 3.84 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.4499, allocations: 0.8279 MB / 413.4 MB, free: 3.086 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.304e-05/0.45, allocations: 23.34 kB / 413.4 MB, free: 3.07 MB / 314.7 MB Notification: Performance of SimCode: time 1.958e-06/0.45, allocations: 0 / 413.4 MB, free: 3.07 MB / 314.7 MB Notification: Performance of Templates: time 0.008536/0.4586, allocations: 3.932 MB / 417.4 MB, free: 15.79 MB / 330.7 MB