Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test18.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test18") Notification: Performance of loadModel(ModelicaTest): time 2.159/2.159, allocations: 235.1 MB / 243 MB, free: 9.5 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.407e-05/1.424e-05, allocations: 0 / 303.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4033, allocations: 54.86 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1482/0.5516, allocations: 80.58 MB / 438.6 MB, free: 14.24 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/0.5519, allocations: 71.95 kB / 438.7 MB, free: 14.17 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01391/0.5658, allocations: 3.497 MB / 442.2 MB, free: 10.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.207e-06/0.5659, allocations: 0 / 442.2 MB, free: 10.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.137e-05/0.5659, allocations: 4 kB / 442.2 MB, free: 10.66 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005207/0.5664, allocations: 390.2 kB / 442.6 MB, free: 10.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.5665, allocations: 12.03 kB / 442.6 MB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.283e-05/0.5665, allocations: 7.859 kB / 442.6 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.5668, allocations: 198.8 kB / 442.8 MB, free: 9.977 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.5669, allocations: 0 / 442.8 MB, free: 9.977 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.4e-05/0.5669, allocations: 4 kB / 442.8 MB, free: 9.973 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001057/0.567, allocations: 27.94 kB / 442.8 MB, free: 9.945 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.5672, allocations: 76.25 kB / 442.9 MB, free: 9.855 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.5672, allocations: 4 kB / 442.9 MB, free: 9.852 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.5673, allocations: 0 / 442.9 MB, free: 9.852 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.038e-06/0.5673, allocations: 3.953 kB / 442.9 MB, free: 9.848 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005677/0.5679, allocations: 365.5 kB / 443.3 MB, free: 9.449 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002929/0.5682, allocations: 81.08 kB / 443.3 MB, free: 9.352 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.464e-05/0.5682, allocations: 25.89 kB / 443.4 MB, free: 9.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.5683, allocations: 3.938 kB / 443.4 MB, free: 9.316 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.5683, allocations: 38.56 kB / 443.4 MB, free: 9.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.561e-06/0.5683, allocations: 0 / 443.4 MB, free: 9.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006954/0.569, allocations: 169.2 kB / 443.6 MB, free: 9.098 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.505e-05/0.5691, allocations: 102.8 kB / 443.7 MB, free: 8.973 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.5693, allocations: 117 kB / 443.8 MB, free: 8.852 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.5694, allocations: 25.7 kB / 443.8 MB, free: 8.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.532e-05/0.5695, allocations: 162.4 kB / 444 MB, free: 8.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.323e-05/0.5695, allocations: 35.55 kB / 444 MB, free: 8.625 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-06/0.5695, allocations: 0 / 444 MB, free: 8.625 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.5697, allocations: 318.8 kB / 444.3 MB, free: 8.305 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.145e-05/0.5698, allocations: 27.92 kB / 444.3 MB, free: 8.277 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.211e-05/0.5699, allocations: 37.7 kB / 444.4 MB, free: 8.234 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.728e-05/0.57, allocations: 31.98 kB / 444.4 MB, free: 8.203 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.998e-06/0.57, allocations: 0 / 444.4 MB, free: 8.203 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002488/0.5702, allocations: 97.58 kB / 444.5 MB, free: 8.102 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.839e-05/0.5703, allocations: 40.55 kB / 444.5 MB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.5703, allocations: 3.953 kB / 444.5 MB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.5704, allocations: 0 / 444.5 MB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.5705, allocations: 31.86 kB / 444.6 MB, free: 8.023 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.762e-06/0.5705, allocations: 0 / 444.6 MB, free: 8.023 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.11e-05/0.5706, allocations: 4 kB / 444.6 MB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.5707, allocations: 4 kB / 444.6 MB, free: 8.016 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001049/0.5708, allocations: 113 kB / 444.7 MB, free: 7.898 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.383e-05/0.5709, allocations: 7.906 kB / 444.7 MB, free: 7.891 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000308/0.5712, allocations: 121.9 kB / 444.8 MB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.5712, allocations: 3.953 kB / 444.8 MB, free: 7.762 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.853e-06/0.5712, allocations: 0 / 444.8 MB, free: 7.762 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.63e-06/0.5712, allocations: 0 / 444.8 MB, free: 7.762 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007507/0.572, allocations: 455.4 kB / 445.3 MB, free: 7.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.572, allocations: 4 kB / 445.3 MB, free: 7.266 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.5721, allocations: 20.3 kB / 445.3 MB, free: 7.246 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.147e-05/0.5722, allocations: 7.953 kB / 445.3 MB, free: 7.238 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.5722, allocations: 3.984 kB / 445.3 MB, free: 7.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.467e-06/0.5722, allocations: 4 kB / 445.3 MB, free: 7.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.384e-06/0.5722, allocations: 7.984 kB / 445.3 MB, free: 7.223 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003329/0.5726, allocations: 306.9 kB / 445.6 MB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.771e-05/0.5727, allocations: 85.02 kB / 445.7 MB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.5727, allocations: 0 / 445.7 MB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.5729, allocations: 11.98 kB / 445.7 MB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.817e-05/0.5729, allocations: 8 kB / 445.7 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.573, allocations: 8 kB / 445.7 MB, free: 6.762 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.1e-05/0.5731, allocations: 95.97 kB / 445.8 MB, free: 6.668 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.39e-07/0.5731, allocations: 4 kB / 445.8 MB, free: 6.664 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004477/0.5735, allocations: 32 kB / 445.9 MB, free: 6.633 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001083/0.5746, allocations: 330 kB / 446.2 MB, free: 6.348 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002626/0.5749, allocations: 119.4 kB / 446.3 MB, free: 6.219 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.049e-06/0.5749, allocations: 4 kB / 446.3 MB, free: 6.215 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.845e-05/0.575, allocations: 31.94 kB / 446.3 MB, free: 6.184 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.5753, allocations: 16 kB / 446.3 MB, free: 6.168 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004653/0.5758, allocations: 171.6 kB / 446.5 MB, free: 5.965 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000405/0.5762, allocations: 0.6963 MB / 447.2 MB, free: 5.242 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.891e-05/0.5763, allocations: 15.44 kB / 447.2 MB, free: 5.227 MB / 378.7 MB Notification: Performance of SimCode: time 1.781e-06/0.5764, allocations: 3.938 kB / 447.2 MB, free: 5.223 MB / 378.7 MB Notification: Performance of Templates: time 0.004527/0.5809, allocations: 1.731 MB / 449 MB, free: 3.492 MB / 378.7 MB