Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test23.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.CombiTable1D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test23") Notification: Performance of loadModel(ModelicaTest): time 2.419/2.419, allocations: 234.9 MB / 251.1 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006957/0.000696, allocations: 12 kB / 314.9 MB, free: 9.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3752, allocations: 54.86 MB / 369.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1557/0.5309, allocations: 81.21 MB / 451 MB, free: 9.418 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/0.5313, allocations: 75.91 kB / 451.1 MB, free: 9.344 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0147/0.546, allocations: 3.507 MB / 454.6 MB, free: 5.828 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.5461, allocations: 4 kB / 454.6 MB, free: 5.824 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.5461, allocations: 4 kB / 454.6 MB, free: 5.82 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005961/0.5467, allocations: 391 kB / 455 MB, free: 5.387 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.5467, allocations: 8.031 kB / 455 MB, free: 5.379 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.492e-05/0.5468, allocations: 15.8 kB / 455 MB, free: 5.363 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.5471, allocations: 183 kB / 455.2 MB, free: 5.145 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.5471, allocations: 0 / 455.2 MB, free: 5.145 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.5472, allocations: 4 kB / 455.2 MB, free: 5.141 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002523/0.5474, allocations: 71.39 kB / 455.3 MB, free: 5.059 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.5475, allocations: 4 kB / 455.3 MB, free: 5.055 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.5475, allocations: 0 / 455.3 MB, free: 5.055 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.5475, allocations: 0 / 455.3 MB, free: 5.055 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.5477, allocations: 31.88 kB / 455.3 MB, free: 5.023 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005198/0.5482, allocations: 288.8 kB / 455.6 MB, free: 4.691 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000281/0.5485, allocations: 54.53 kB / 455.6 MB, free: 4.629 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.5485, allocations: 4 kB / 455.6 MB, free: 4.625 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.5486, allocations: 30.56 kB / 455.7 MB, free: 4.586 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.5486, allocations: 4 kB / 455.7 MB, free: 4.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008689/0.5495, allocations: 165.4 kB / 455.8 MB, free: 4.414 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/0.5496, allocations: 81.11 kB / 455.9 MB, free: 4.316 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.5497, allocations: 117.8 kB / 456 MB, free: 4.191 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.5498, allocations: 29.64 kB / 456.1 MB, free: 4.156 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.532e-05/0.5499, allocations: 158.6 kB / 456.2 MB, free: 4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.5499, allocations: 19.73 kB / 456.2 MB, free: 3.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-06/0.5499, allocations: 3.938 kB / 456.2 MB, free: 3.977 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.5501, allocations: 314.8 kB / 456.5 MB, free: 3.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.5503, allocations: 31.98 kB / 456.6 MB, free: 3.629 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.5504, allocations: 41.69 kB / 456.6 MB, free: 3.582 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.5506, allocations: 53.69 kB / 456.7 MB, free: 3.523 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5506, allocations: 0 / 456.7 MB, free: 3.523 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004112/0.5511, allocations: 127.4 kB / 456.8 MB, free: 3.387 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.603e-05/0.5511, allocations: 29.7 kB / 456.8 MB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.5511, allocations: 7.891 kB / 456.8 MB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.5512, allocations: 0 / 456.8 MB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.5513, allocations: 23.92 kB / 456.8 MB, free: 3.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.5513, allocations: 0 / 456.8 MB, free: 3.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.545e-05/0.5514, allocations: 12 kB / 456.9 MB, free: 3.309 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.5515, allocations: 0 / 456.9 MB, free: 3.309 MB / 378.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 () * Number of clocked 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 0.0001286/0.5516, allocations: 113.8 kB / 457 MB, free: 3.188 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.442e-05/0.5517, allocations: 11.89 kB / 457 MB, free: 3.176 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004107/0.5521, allocations: 101.6 kB / 457.1 MB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.5521, allocations: 7.953 kB / 457.1 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.5521, allocations: 0 / 457.1 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.5521, allocations: 0 / 457.1 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007088/0.5528, allocations: 362.8 kB / 457.4 MB, free: 2.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.5529, allocations: 4 kB / 457.4 MB, free: 2.645 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.553, allocations: 15.98 kB / 457.5 MB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/0.553, allocations: 3.953 kB / 457.5 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.553, allocations: 0 / 457.5 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.553, allocations: 0 / 457.5 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.5531, allocations: 0 / 457.5 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003938/0.5535, allocations: 199.4 kB / 457.7 MB, free: 2.414 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.704e-05/0.5535, allocations: 81.02 kB / 457.7 MB, free: 2.316 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.5536, allocations: 3.953 kB / 457.7 MB, free: 2.312 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.5537, allocations: 11.98 kB / 457.8 MB, free: 2.301 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.5537, allocations: 0 / 457.8 MB, free: 2.301 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.5538, allocations: 4 kB / 457.8 MB, free: 2.297 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000105/0.5539, allocations: 103.6 kB / 457.9 MB, free: 2.195 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5539, allocations: 0 / 457.9 MB, free: 2.195 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003604/0.5543, allocations: 35.94 kB / 457.9 MB, free: 2.16 MB / 378.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 (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.00116/0.5554, allocations: 388.6 kB / 458.3 MB, free: 1.844 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004656/0.5559, allocations: 123.3 kB / 458.4 MB, free: 1.711 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5559, allocations: 0 / 458.4 MB, free: 1.711 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.5561, allocations: 31.98 kB / 458.4 MB, free: 1.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.5564, allocations: 11.98 kB / 458.4 MB, free: 1.668 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005193/0.5569, allocations: 190.8 kB / 458.6 MB, free: 1.445 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.5573, allocations: 0.6887 MB / 459.3 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.778e-05/0.5574, allocations: 23.42 kB / 459.3 MB, free: 0.707 MB / 378.7 MB Notification: Performance of SimCode: time 8.61e-07/0.5574, allocations: 3.938 kB / 459.3 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of Templates: time 0.004884/0.5623, allocations: 1.476 MB / 460.8 MB, free: 15.23 MB / 394.7 MB