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.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test9") Notification: Performance of loadModel(ModelicaTest): time 1.856/1.856, allocations: 209.3 MB / 224.8 MB, free: 1.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000446/0.0004462, allocations: 8 kB / 282.6 MB, free: 9.723 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08842/0.08889, allocations: 48.71 MB / 331.3 MB, free: 8.926 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3238/0.4128, allocations: 74.35 MB / 405.6 MB, free: 10.83 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/0.413, allocations: 71.91 kB / 405.7 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0383/0.4513, allocations: 5.105 MB / 410.8 MB, free: 5.648 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.273e-06/0.4514, allocations: 0 / 410.8 MB, free: 5.648 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.363e-05/0.4515, allocations: 8 kB / 410.8 MB, free: 5.641 MB / 330.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.001448/0.4529, allocations: 0.638 MB / 411.5 MB, free: 4.949 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/0.453, allocations: 8.031 kB / 411.5 MB, free: 4.941 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/0.4532, allocations: 47.44 kB / 411.5 MB, free: 4.895 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009951/0.4542, allocations: 319.4 kB / 411.8 MB, free: 4.539 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.4543, allocations: 0 / 411.8 MB, free: 4.539 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.4543, allocations: 5.438 kB / 411.8 MB, free: 4.535 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/0.4547, allocations: 57.67 kB / 411.9 MB, free: 4.473 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.4547, allocations: 0 / 411.9 MB, free: 4.473 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.4547, allocations: 0 / 411.9 MB, free: 4.473 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.018e-06/0.4547, allocations: 0 / 411.9 MB, free: 4.473 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00032/0.4551, allocations: 39.97 kB / 411.9 MB, free: 4.434 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.4563, allocations: 420.7 kB / 412.3 MB, free: 3.973 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/0.4566, allocations: 46.56 kB / 412.4 MB, free: 3.918 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.571e-05/0.4567, allocations: 4 kB / 412.4 MB, free: 3.914 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.175e-05/0.4567, allocations: 34.64 kB / 412.4 MB, free: 3.871 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 3.286e-06/0.4568, allocations: 3.938 kB / 412.4 MB, free: 3.867 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0007953/0.4576, allocations: 129.1 kB / 412.5 MB, free: 3.734 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.299e-05/0.4577, allocations: 55.41 kB / 412.6 MB, free: 3.668 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02061/0.4783, allocations: 0.7705 MB / 413.4 MB, free: 2.891 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.145e-05/0.4784, allocations: 25.7 kB / 413.4 MB, free: 2.859 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004101/0.4788, allocations: 234.6 kB / 413.6 MB, free: 2.629 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.497e-05/0.4789, allocations: 7.812 kB / 413.6 MB, free: 2.621 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.71e-06/0.479, allocations: 0 / 413.6 MB, free: 2.621 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002456/0.4792, allocations: 318.8 kB / 413.9 MB, free: 2.301 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.4794, allocations: 19.98 kB / 414 MB, free: 2.281 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.4796, allocations: 19.98 kB / 414 MB, free: 2.262 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.4798, allocations: 49.69 kB / 414 MB, free: 2.207 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.4798, allocations: 4 kB / 414 MB, free: 2.203 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004528/0.4803, allocations: 107.6 kB / 414.1 MB, free: 2.086 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.955e-05/0.4804, allocations: 34.33 kB / 414.2 MB, free: 2.047 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.208e-06/0.4804, allocations: 0 / 414.2 MB, free: 2.047 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.4804, allocations: 4.031 kB / 414.2 MB, free: 2.043 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.4806, allocations: 16.8 kB / 414.2 MB, free: 2.027 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.743e-06/0.4806, allocations: 4 kB / 414.2 MB, free: 2.023 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.4808, allocations: 8 kB / 414.2 MB, free: 2.016 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.4809, allocations: 3.953 kB / 414.2 MB, free: 2.012 MB / 330.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 (4): * Single equations (assignments): 3 * 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.0004404/0.4813, allocations: 205.8 kB / 414.4 MB, free: 1.801 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001984/0.4816, allocations: 39.52 kB / 414.4 MB, free: 1.762 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005514/0.4821, allocations: 136.7 kB / 414.6 MB, free: 1.617 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.89e-06/0.4822, allocations: 0 / 414.6 MB, free: 1.617 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.489e-06/0.4822, allocations: 4 kB / 414.6 MB, free: 1.613 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.459e-06/0.4822, allocations: 4 kB / 414.6 MB, free: 1.609 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007721/0.483, allocations: 321.4 kB / 414.9 MB, free: 1.246 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.186e-06/0.483, allocations: 0 / 414.9 MB, free: 1.246 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.4832, allocations: 8 kB / 414.9 MB, free: 1.238 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.16e-06/0.4832, allocations: 0 / 414.9 MB, free: 1.238 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.4833, allocations: 4 kB / 414.9 MB, free: 1.234 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.666e-06/0.4833, allocations: 4 kB / 414.9 MB, free: 1.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.335e-06/0.4833, allocations: 3.984 kB / 414.9 MB, free: 1.227 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007363/0.4841, allocations: 203 kB / 415.1 MB, free: 1.012 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005092/0.4846, allocations: 160.5 kB / 415.3 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.4848, allocations: 7.938 kB / 415.3 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003347/0.4851, allocations: 4 kB / 415.3 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.275e-05/0.4852, allocations: 11.92 kB / 415.3 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.4852, allocations: 0 / 415.3 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.01589/0.5011, allocations: 0.6198 MB / 415.9 MB, free: 200 kB / 330.7 MB Notification: Performance of sort global known variables: time 2.13e-06/0.5012, allocations: 0 / 415.9 MB, free: 200 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.001068/0.5023, allocations: 51.91 kB / 416 MB, free: 148 kB / 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.001252/0.5036, allocations: 221.6 kB / 416.2 MB, free: 15.96 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005947/0.5042, allocations: 99.31 kB / 416.3 MB, free: 15.85 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.663e-06/0.5043, allocations: 0 / 416.3 MB, free: 15.85 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00021/0.5045, allocations: 31.92 kB / 416.3 MB, free: 15.82 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006586/0.5052, allocations: 17.92 kB / 416.3 MB, free: 15.8 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003696/0.5089, allocations: 0.9163 MB / 417.2 MB, free: 14.85 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001175/0.5101, allocations: 0.8184 MB / 418.1 MB, free: 14.01 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002267/0.5104, allocations: 19.67 kB / 418.1 MB, free: 13.99 MB / 346.7 MB Notification: Performance of SimCode: time 3.229e-06/0.5104, allocations: 0 / 418.1 MB, free: 13.99 MB / 346.7 MB Notification: Performance of Templates: time 0.009985/0.5204, allocations: 3.723 MB / 421.8 MB, free: 10.26 MB / 346.7 MB