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.Test16.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.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 1.924/1.924, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.048e-05/3.06e-05, allocations: 4 kB / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08838/0.08844, allocations: 48.71 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3454/0.4339, allocations: 74.72 MB / 401.3 MB, free: 10.26 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/0.4341, allocations: 73.81 kB / 401.3 MB, free: 10.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007704/0.4419, allocations: 2.608 MB / 403.9 MB, free: 9.215 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.236e-06/0.4419, allocations: 0 / 403.9 MB, free: 9.215 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.562e-05/0.4419, allocations: 0 / 403.9 MB, free: 9.215 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002408/0.4422, allocations: 353.9 kB / 404.3 MB, free: 8.848 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.4422, allocations: 7.656 kB / 404.3 MB, free: 8.848 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.4423, allocations: 7.656 kB / 404.3 MB, free: 8.844 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.4424, allocations: 182.6 kB / 404.5 MB, free: 8.633 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.4424, allocations: 7.453 kB / 404.5 MB, free: 8.633 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.4425, allocations: 7.719 kB / 404.5 MB, free: 8.633 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.4427, allocations: 183.5 kB / 404.7 MB, free: 8.453 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.4427, allocations: 3.938 kB / 404.7 MB, free: 8.449 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.4427, allocations: 11.72 kB / 404.7 MB, free: 8.445 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.651e-05/0.4427, allocations: 7.797 kB / 404.7 MB, free: 8.441 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.895e-05/0.4428, allocations: 53.3 kB / 404.7 MB, free: 8.426 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006809/0.4435, allocations: 1.706 MB / 406.5 MB, free: 6.719 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.645e-05/0.4436, allocations: 165.1 kB / 406.6 MB, free: 6.547 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.777e-05/0.4436, allocations: 80.14 kB / 406.7 MB, free: 6.465 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.4437, allocations: 85.5 kB / 406.8 MB, free: 6.387 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.4437, allocations: 109.8 kB / 406.9 MB, free: 6.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 2.196e-06/0.4437, allocations: 0 / 406.9 MB, free: 6.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 7.782e-05/0.4438, allocations: 33.3 kB / 406.9 MB, free: 6.234 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.4438, allocations: 126.7 kB / 407 MB, free: 6.098 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.444, allocations: 174.4 kB / 407.2 MB, free: 5.984 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.372e-06/0.444, allocations: 29.7 kB / 407.2 MB, free: 5.949 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.257e-05/0.4441, allocations: 214.4 kB / 407.4 MB, free: 5.754 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.095e-06/0.4441, allocations: 3.984 kB / 407.5 MB, free: 5.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.827e-06/0.4441, allocations: 2.688 kB / 407.5 MB, free: 5.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.402e-05/0.4442, allocations: 321.8 kB / 407.8 MB, free: 5.434 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.36e-05/0.4443, allocations: 29.52 kB / 407.8 MB, free: 5.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.4444, allocations: 162.4 kB / 408 MB, free: 5.258 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.4445, allocations: 67.31 kB / 408 MB, free: 5.238 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.953e-06/0.4445, allocations: 0 / 408 MB, free: 5.238 MB / 314.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003392/0.4449, allocations: 194.2 kB / 408.2 MB, free: 5.152 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.4449, allocations: 11.78 kB / 408.2 MB, free: 5.148 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.156e-06/0.4449, allocations: 3.875 kB / 408.2 MB, free: 5.148 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.4449, allocations: 7.812 kB / 408.2 MB, free: 5.148 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.4451, allocations: 37.95 kB / 408.3 MB, free: 5.141 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.4451, allocations: 11.95 kB / 408.3 MB, free: 5.137 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.4453, allocations: 27.52 kB / 408.3 MB, free: 5.121 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.4453, allocations: 11.53 kB / 408.3 MB, free: 5.121 MB / 314.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 () * 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 6.487e-05/0.4454, allocations: 187.7 kB / 408.5 MB, free: 4.934 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.728e-05/0.4454, allocations: 116.5 kB / 408.6 MB, free: 4.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.479e-05/0.4455, allocations: 112 kB / 408.7 MB, free: 4.715 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.878e-05/0.4455, allocations: 180.2 kB / 408.9 MB, free: 4.531 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.184e-05/0.4456, allocations: 184.2 kB / 409.1 MB, free: 4.344 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.968e-05/0.4456, allocations: 190.4 kB / 409.3 MB, free: 4.156 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.4458, allocations: 431.8 kB / 409.7 MB, free: 3.699 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.729e-05/0.4458, allocations: 101 kB / 409.8 MB, free: 3.594 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.771e-05/0.4459, allocations: 101 kB / 409.9 MB, free: 3.488 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.983e-05/0.4459, allocations: 184.2 kB / 410.1 MB, free: 3.301 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/0.446, allocations: 180.1 kB / 410.2 MB, free: 3.121 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.809e-05/0.446, allocations: 184.2 kB / 410.4 MB, free: 2.934 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-05/0.446, allocations: 176.3 kB / 410.6 MB, free: 2.754 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.418e-05/0.4461, allocations: 318.7 kB / 410.9 MB, free: 2.43 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.225e-05/0.4462, allocations: 201.4 kB / 411.1 MB, free: 2.215 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.438e-05/0.4463, allocations: 180.2 kB / 411.3 MB, free: 2.031 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.335e-05/0.4463, allocations: 101 kB / 411.4 MB, free: 1.926 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/0.4464, allocations: 184.1 kB / 411.6 MB, free: 1.742 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/0.4465, allocations: 101 kB / 411.7 MB, free: 17.64 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001341/0.4467, allocations: 137.8 kB / 411.8 MB, free: 17.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.4467, allocations: 4 kB / 411.8 MB, free: 17.54 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003907/0.4471, allocations: 15.25 kB / 411.8 MB, free: 17.54 MB / 330.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 (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.0005377/0.4476, allocations: 249.7 kB / 412.1 MB, free: 17.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001793/0.4478, allocations: 69.17 kB / 412.1 MB, free: 17.33 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.027e-06/0.4478, allocations: 0 / 412.1 MB, free: 17.33 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.554e-06/0.4479, allocations: 8.094 kB / 412.1 MB, free: 17.32 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004237/0.4483, allocations: 0.526 MB / 412.7 MB, free: 16.8 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003545/0.4487, allocations: 224.6 kB / 412.9 MB, free: 16.6 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.4491, allocations: 0.7027 MB / 413.6 MB, free: 15.89 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.248e-05/0.4492, allocations: 15.12 kB / 413.6 MB, free: 15.88 MB / 330.7 MB Notification: Performance of SimCode: time 2.528e-06/0.4492, allocations: 4 kB / 413.6 MB, free: 15.88 MB / 330.7 MB Notification: Performance of Templates: time 0.00298/0.4522, allocations: 1.287 MB / 414.9 MB, free: 15.24 MB / 330.7 MB