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.Test30.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.Test30,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.Test30") Notification: Performance of loadModel(ModelicaTest): time 2.298/2.298, allocations: 234.9 MB / 251.1 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004533/0.0004535, allocations: 16 kB / 314.9 MB, free: 9.613 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4664/0.4669, allocations: 54.86 MB / 369.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2655/0.7324, allocations: 80.97 MB / 450.8 MB, free: 9.672 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.003573/0.736, allocations: 79.91 kB / 450.8 MB, free: 9.594 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01893/0.755, allocations: 3.142 MB / 454 MB, free: 6.438 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.7551, allocations: 0 / 454 MB, free: 6.438 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.674e-05/0.7551, allocations: 0 / 454 MB, free: 6.438 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.000755/0.7559, allocations: 416.8 kB / 454.4 MB, free: 5.977 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.113e-05/0.756, allocations: 12.02 kB / 454.4 MB, free: 5.965 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.707e-05/0.7561, allocations: 19.77 kB / 454.4 MB, free: 5.945 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003839/0.7565, allocations: 196.3 kB / 454.6 MB, free: 5.711 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.7565, allocations: 0 / 454.6 MB, free: 5.711 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.667e-05/0.7566, allocations: 4 kB / 454.6 MB, free: 5.707 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002642/0.7568, allocations: 53.67 kB / 454.7 MB, free: 5.648 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.7569, allocations: 3.938 kB / 454.7 MB, free: 5.645 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.7569, allocations: 0 / 454.7 MB, free: 5.645 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.7569, allocations: 4 kB / 454.7 MB, free: 5.641 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002199/0.7572, allocations: 31.94 kB / 454.7 MB, free: 5.609 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006812/0.7579, allocations: 281 kB / 455 MB, free: 5.285 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003665/0.7583, allocations: 58.5 kB / 455 MB, free: 5.219 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.959e-05/0.7583, allocations: 0 / 455 MB, free: 5.219 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.7584, allocations: 32.38 kB / 455.1 MB, free: 5.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.084e-06/0.7584, allocations: 0 / 455.1 MB, free: 5.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.001174/0.7596, allocations: 177.3 kB / 455.2 MB, free: 5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.7596, allocations: 55.41 kB / 455.3 MB, free: 4.934 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003927/0.7601, allocations: 194.5 kB / 455.5 MB, free: 4.734 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.7601, allocations: 25.7 kB / 455.5 MB, free: 4.703 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.7602, allocations: 162.5 kB / 455.7 MB, free: 4.543 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.7603, allocations: 23.8 kB / 455.7 MB, free: 4.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.216e-06/0.7603, allocations: 0 / 455.7 MB, free: 4.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.7605, allocations: 314.8 kB / 456 MB, free: 4.203 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003381/0.7609, allocations: 23.98 kB / 456 MB, free: 4.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.7611, allocations: 31.97 kB / 456.1 MB, free: 4.148 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002229/0.7614, allocations: 61.62 kB / 456.1 MB, free: 4.082 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.7614, allocations: 0 / 456.1 MB, free: 4.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005039/0.7619, allocations: 115.4 kB / 456.2 MB, free: 3.957 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.852e-05/0.762, allocations: 41.62 kB / 456.3 MB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.762, allocations: 3.953 kB / 456.3 MB, free: 3.906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.762, allocations: 4 kB / 456.3 MB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.7622, allocations: 12 kB / 456.3 MB, free: 3.891 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.7622, allocations: 0 / 456.3 MB, free: 3.891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.7623, allocations: 7.984 kB / 456.3 MB, free: 3.883 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.7624, allocations: 4 kB / 456.3 MB, free: 3.879 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.0001877/0.7626, allocations: 125.8 kB / 456.4 MB, free: 3.746 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.416e-05/0.7627, allocations: 11.84 kB / 456.4 MB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005037/0.7632, allocations: 118.1 kB / 456.6 MB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.7632, allocations: 3.953 kB / 456.6 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.7632, allocations: 4.062 kB / 456.6 MB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.7632, allocations: 288 / 456.6 MB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000912/0.7642, allocations: 378.5 kB / 456.9 MB, free: 3.184 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.7642, allocations: 0 / 456.9 MB, free: 3.184 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.7643, allocations: 15.98 kB / 456.9 MB, free: 3.168 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/0.7644, allocations: 7.938 kB / 457 MB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.7644, allocations: 0 / 457 MB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.7644, allocations: 0 / 457 MB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.7644, allocations: 4 kB / 457 MB, free: 3.156 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004978/0.7649, allocations: 195.4 kB / 457.2 MB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.897e-05/0.7651, allocations: 89.02 kB / 457.2 MB, free: 2.844 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.485e-05/0.7651, allocations: 3.953 kB / 457.2 MB, free: 2.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.7653, allocations: 15.98 kB / 457.3 MB, free: 2.824 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.304e-05/0.7654, allocations: 0 / 457.3 MB, free: 2.824 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.7654, allocations: 4 kB / 457.3 MB, free: 2.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000242/0.7656, allocations: 147.1 kB / 457.4 MB, free: 2.676 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7657, allocations: 0 / 457.4 MB, free: 2.676 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005373/0.7662, allocations: 27.94 kB / 457.4 MB, free: 2.648 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.001187/0.7674, allocations: 302.5 kB / 457.7 MB, free: 2.406 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005187/0.768, allocations: 127.3 kB / 457.9 MB, free: 2.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.768, allocations: 0 / 457.9 MB, free: 2.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001811/0.7682, allocations: 27.98 kB / 457.9 MB, free: 2.242 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003525/0.7686, allocations: 11.98 kB / 457.9 MB, free: 2.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008002/0.7694, allocations: 266.7 kB / 458.2 MB, free: 1.938 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004309/0.7698, allocations: 0.7004 MB / 458.9 MB, free: 1.211 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.747e-05/0.7699, allocations: 15.42 kB / 458.9 MB, free: 1.195 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/0.7699, allocations: 3.938 kB / 458.9 MB, free: 1.191 MB / 378.7 MB Notification: Performance of Templates: time 0.005523/0.7755, allocations: 1.365 MB / 460.2 MB, free: 15.82 MB / 394.7 MB