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.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y|combiTable2D1DT.y|clock1.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test21") Notification: Performance of loadModel(ModelicaTest): time 1.912/1.912, allocations: 209.3 MB / 222.4 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.328e-05/3.348e-05, allocations: 4 kB / 277.8 MB, free: 12.37 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08712/0.08718, allocations: 48.7 MB / 326.5 MB, free: 11.57 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3645/0.4517, allocations: 75.74 MB / 402.3 MB, free: 11.48 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/0.452, allocations: 67.97 kB / 402.3 MB, free: 11.42 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02628/0.4783, allocations: 6.246 MB / 408.6 MB, free: 5.176 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.4783, allocations: 0 / 408.6 MB, free: 5.176 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.043e-05/0.4784, allocations: 4 kB / 408.6 MB, free: 5.172 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008637/0.4793, allocations: 0.6817 MB / 409.3 MB, free: 4.414 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.4793, allocations: 12.03 kB / 409.3 MB, free: 4.402 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.4795, allocations: 39.48 kB / 409.3 MB, free: 4.363 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005619/0.48, allocations: 291.9 kB / 409.6 MB, free: 4.035 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.4801, allocations: 8 kB / 409.6 MB, free: 4.027 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.02e-05/0.4801, allocations: 12 kB / 409.6 MB, free: 4.016 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/0.4804, allocations: 101.6 kB / 409.7 MB, free: 3.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.4804, allocations: 11.84 kB / 409.7 MB, free: 3.898 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.4805, allocations: 4 kB / 409.7 MB, free: 3.895 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.932e-06/0.4805, allocations: 8 kB / 409.8 MB, free: 3.887 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.4807, allocations: 59.94 kB / 409.8 MB, free: 3.828 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008661/0.4816, allocations: 472.3 kB / 410.3 MB, free: 3.316 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.4818, allocations: 94.5 kB / 410.4 MB, free: 3.215 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.323e-05/0.4819, allocations: 32.86 kB / 410.4 MB, free: 3.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.93e-05/0.4819, allocations: 7.984 kB / 410.4 MB, free: 3.172 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.482, allocations: 30.56 kB / 410.4 MB, free: 3.133 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 3.496e-06/0.482, allocations: 0 / 410.4 MB, free: 3.133 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.00102/0.483, allocations: 316.4 kB / 410.7 MB, free: 2.816 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.4831, allocations: 55.36 kB / 410.8 MB, free: 2.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006916/0.4838, allocations: 423.5 kB / 411.2 MB, free: 2.332 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.4838, allocations: 29.7 kB / 411.2 MB, free: 2.297 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.484, allocations: 218.9 kB / 411.5 MB, free: 2.082 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.044e-05/0.4841, allocations: 63.09 kB / 411.5 MB, free: 2.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.514e-05/0.4841, allocations: 4 kB / 411.5 MB, free: 2.016 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.4843, allocations: 322.8 kB / 411.8 MB, free: 1.691 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.4845, allocations: 48.38 kB / 411.9 MB, free: 1.641 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.4846, allocations: 52.75 kB / 411.9 MB, free: 1.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.4848, allocations: 192.6 kB / 412.1 MB, free: 1.375 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.379e-06/0.4849, allocations: 7.938 kB / 412.1 MB, free: 1.367 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005058/0.4854, allocations: 315.8 kB / 412.4 MB, free: 1.023 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.4855, allocations: 140.5 kB / 412.6 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.764e-06/0.4855, allocations: 4 kB / 412.6 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.4855, allocations: 0 / 412.6 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.4858, allocations: 35.98 kB / 412.6 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.58e-06/0.4858, allocations: 0 / 412.6 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.486, allocations: 19.94 kB / 412.6 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.486, allocations: 8 kB / 412.6 MB, free: 0.7891 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 5 * 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.000106/0.4861, allocations: 112.9 kB / 412.8 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.884e-05/0.4862, allocations: 31.62 kB / 412.8 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005641/0.4868, allocations: 224.7 kB / 413 MB, free: 416 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.262e-06/0.4868, allocations: 0 / 413 MB, free: 416 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4868, allocations: 3.938 kB / 413 MB, free: 412 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.721e-06/0.4869, allocations: 0 / 413 MB, free: 412 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.488, allocations: 0.6232 MB / 413.6 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.436e-06/0.4881, allocations: 4 kB / 413.6 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.4883, allocations: 31.98 kB / 413.7 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.4883, allocations: 0 / 413.7 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.4883, allocations: 11.94 kB / 413.7 MB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.807e-06/0.4883, allocations: 0 / 413.7 MB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.218e-06/0.4883, allocations: 4 kB / 413.7 MB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004695/0.4888, allocations: 279.2 kB / 414 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/0.489, allocations: 120.7 kB / 414.1 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.117e-05/0.4891, allocations: 8 kB / 414.1 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.4892, allocations: 15.94 kB / 414.1 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.94e-05/0.4893, allocations: 11.98 kB / 414.1 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.4893, allocations: 7.938 kB / 414.1 MB, free: 15.2 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00053/0.4899, allocations: 334.1 kB / 414.4 MB, free: 14.88 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.68e-07/0.4899, allocations: 0 / 414.4 MB, free: 14.88 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005455/0.4904, allocations: 99.7 kB / 414.5 MB, free: 14.78 MB / 346.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.001981/0.4924, allocations: 0.5728 MB / 415.1 MB, free: 14.32 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005863/0.4931, allocations: 404.9 kB / 415.5 MB, free: 13.86 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.4931, allocations: 0 / 415.5 MB, free: 13.86 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.4932, allocations: 67.92 kB / 415.6 MB, free: 13.8 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.4937, allocations: 33.19 kB / 415.6 MB, free: 13.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.4948, allocations: 0.5082 MB / 416.1 MB, free: 13.23 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004955/0.4954, allocations: 0.779 MB / 416.9 MB, free: 12.42 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.4955, allocations: 31.44 kB / 416.9 MB, free: 12.39 MB / 346.7 MB Notification: Performance of SimCode: time 1.849e-06/0.4955, allocations: 0 / 416.9 MB, free: 12.39 MB / 346.7 MB Notification: Performance of Templates: time 0.008893/0.5044, allocations: 4.104 MB / 421 MB, free: 8.289 MB / 346.7 MB