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.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test8") Notification: Performance of loadModel(ModelicaTest): time 2.462/2.462, allocations: 234.9 MB / 251.1 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000591/0.0005912, allocations: 8 kB / 314.9 MB, free: 9.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.377, allocations: 54.86 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1537/0.5308, allocations: 80.87 MB / 450.7 MB, free: 9.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/0.5311, allocations: 83.94 kB / 450.8 MB, free: 9.668 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01925/0.5504, allocations: 5.186 MB / 455.9 MB, free: 4.469 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5505, allocations: 0 / 455.9 MB, free: 4.469 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.142e-05/0.5505, allocations: 8 kB / 455.9 MB, free: 4.461 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.0009321/0.5515, allocations: 0.6314 MB / 456.6 MB, free: 3.773 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.5515, allocations: 8.031 kB / 456.6 MB, free: 3.766 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.5516, allocations: 47.44 kB / 456.6 MB, free: 3.719 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006386/0.5523, allocations: 311.4 kB / 456.9 MB, free: 3.371 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.5523, allocations: 4 kB / 456.9 MB, free: 3.367 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.5524, allocations: 3.938 kB / 456.9 MB, free: 3.363 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.5526, allocations: 45.69 kB / 457 MB, free: 3.312 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.5526, allocations: 0 / 457 MB, free: 3.312 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.5526, allocations: 3.953 kB / 457 MB, free: 3.309 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.5526, allocations: 4 kB / 457 MB, free: 3.305 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.5528, allocations: 31.97 kB / 457 MB, free: 3.273 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008051/0.5536, allocations: 404.9 kB / 457.4 MB, free: 2.828 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.5538, allocations: 42.48 kB / 457.5 MB, free: 2.777 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.382e-05/0.5538, allocations: 7.953 kB / 457.5 MB, free: 2.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.5538, allocations: 34.5 kB / 457.5 MB, free: 2.727 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 2.094e-06/0.5539, allocations: 0 / 457.5 MB, free: 2.727 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004019/0.5543, allocations: 105.2 kB / 457.6 MB, free: 2.617 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.5543, allocations: 55.34 kB / 457.7 MB, free: 2.551 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001994/0.5563, allocations: 0.834 MB / 458.5 MB, free: 1.703 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/0.5564, allocations: 25.7 kB / 458.5 MB, free: 1.672 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/0.5567, allocations: 234.6 kB / 458.7 MB, free: 1.441 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.5567, allocations: 11.78 kB / 458.8 MB, free: 1.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/0.5567, allocations: 0 / 458.8 MB, free: 1.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.5569, allocations: 316.6 kB / 459.1 MB, free: 1.113 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.557, allocations: 11.98 kB / 459.1 MB, free: 1.102 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.613e-05/0.5571, allocations: 16 kB / 459.1 MB, free: 1.086 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.5572, allocations: 37.69 kB / 459.1 MB, free: 1.043 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5572, allocations: 0 / 459.1 MB, free: 1.043 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002494/0.5574, allocations: 87.39 kB / 459.2 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.503e-05/0.5575, allocations: 37.64 kB / 459.3 MB, free: 0.9023 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.5575, allocations: 0 / 459.3 MB, free: 0.9023 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.5575, allocations: 0 / 459.3 MB, free: 0.9023 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.5577, allocations: 15.94 kB / 459.3 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.5577, allocations: 0 / 459.3 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.5578, allocations: 4 kB / 459.3 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.5578, allocations: 0 / 459.3 MB, free: 0.8828 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 (3): * Single equations (assignments): 2 * 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.0003062/0.5581, allocations: 205.8 kB / 459.5 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.5583, allocations: 43.44 kB / 459.5 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003113/0.5586, allocations: 112.5 kB / 459.6 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.5586, allocations: 4 kB / 459.6 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5586, allocations: 0 / 459.6 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.5586, allocations: 0 / 459.6 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004424/0.5591, allocations: 321.4 kB / 459.9 MB, free: 148 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.5591, allocations: 0 / 459.9 MB, free: 148 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.776e-05/0.5592, allocations: 4 kB / 460 MB, free: 144 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.5592, allocations: 0 / 460 MB, free: 144 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.5592, allocations: 4 kB / 460 MB, free: 140 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.5592, allocations: 7.891 kB / 460 MB, free: 132 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.5592, allocations: 4.031 kB / 460 MB, free: 128 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003455/0.5596, allocations: 187.1 kB / 460.1 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002765/0.5599, allocations: 156.5 kB / 460.3 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.644e-05/0.56, allocations: 4 kB / 460.3 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.5601, allocations: 7.984 kB / 460.3 MB, free: 15.74 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.5601, allocations: 7.984 kB / 460.3 MB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.5602, allocations: 4 kB / 460.3 MB, free: 15.73 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00116/0.5613, allocations: 0.6276 MB / 461 MB, free: 15.11 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5613, allocations: 0 / 461 MB, free: 15.11 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004216/0.5618, allocations: 48 kB / 461 MB, free: 15.06 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 (2): * Single equations (assignments): 2 * 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.0007194/0.5625, allocations: 247.3 kB / 461.2 MB, free: 14.86 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002813/0.5628, allocations: 87.31 kB / 461.3 MB, free: 14.77 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.5628, allocations: 0 / 461.3 MB, free: 14.77 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.875e-05/0.5629, allocations: 16 kB / 461.3 MB, free: 14.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.5633, allocations: 15.53 kB / 461.4 MB, free: 14.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.5652, allocations: 0.9047 MB / 462.3 MB, free: 13.79 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005989/0.5659, allocations: 0.8184 MB / 463.1 MB, free: 12.95 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.566, allocations: 15.69 kB / 463.1 MB, free: 12.93 MB / 394.7 MB Notification: Performance of SimCode: time 3.256e-06/0.566, allocations: 0 / 463.1 MB, free: 12.93 MB / 394.7 MB Notification: Performance of Templates: time 0.01085/0.5769, allocations: 3.679 MB / 466.8 MB, free: 9.242 MB / 394.7 MB