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.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test6") Notification: Performance of loadModel(ModelicaTest): time 1.801/1.801, allocations: 209.3 MB / 224.9 MB, free: 1.219 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007951/0.0007953, allocations: 16 kB / 282.6 MB, free: 9.723 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1639, allocations: 48.7 MB / 331.3 MB, free: 8.93 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3357/0.4997, allocations: 74.48 MB / 405.8 MB, free: 10.74 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000368/0.5001, allocations: 71.95 kB / 405.8 MB, free: 10.67 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02925/0.5294, allocations: 5.242 MB / 411.1 MB, free: 5.422 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.399e-06/0.5295, allocations: 0 / 411.1 MB, free: 5.422 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.99e-05/0.5295, allocations: 4 kB / 411.1 MB, free: 5.418 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00134/0.5309, allocations: 0.647 MB / 411.7 MB, free: 4.715 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.982e-05/0.531, allocations: 12.03 kB / 411.7 MB, free: 4.703 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.5311, allocations: 39.53 kB / 411.8 MB, free: 4.664 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008958/0.5321, allocations: 323.3 kB / 412.1 MB, free: 4.305 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.5321, allocations: 0 / 412.1 MB, free: 4.305 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.827e-05/0.5322, allocations: 4 kB / 412.1 MB, free: 4.301 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003326/0.5325, allocations: 66.05 kB / 412.2 MB, free: 4.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.5326, allocations: 0 / 412.2 MB, free: 4.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.5326, allocations: 0 / 412.2 MB, free: 4.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.5326, allocations: 0 / 412.2 MB, free: 4.23 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003342/0.533, allocations: 51.91 kB / 412.2 MB, free: 4.18 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.5342, allocations: 432.5 kB / 412.6 MB, free: 3.707 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002937/0.5345, allocations: 54.55 kB / 412.7 MB, free: 3.645 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.175e-05/0.5346, allocations: 0 / 412.7 MB, free: 3.645 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/0.5346, allocations: 30.56 kB / 412.7 MB, free: 3.605 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 3.731e-06/0.5347, allocations: 0 / 412.7 MB, free: 3.605 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.001969/0.5366, allocations: 332 kB / 413 MB, free: 3.273 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.5367, allocations: 51.41 kB / 413.1 MB, free: 3.211 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003068/0.5398, allocations: 0.7628 MB / 413.8 MB, free: 2.441 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.329e-05/0.5399, allocations: 25.7 kB / 413.9 MB, free: 2.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003152/0.5403, allocations: 234.6 kB / 414.1 MB, free: 2.18 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.52e-05/0.5404, allocations: 23.66 kB / 414.1 MB, free: 2.156 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.209e-05/0.5404, allocations: 4 kB / 414.1 MB, free: 2.152 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002018/0.5406, allocations: 314.8 kB / 414.4 MB, free: 1.836 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003409/0.541, allocations: 47.91 kB / 414.5 MB, free: 1.789 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003033/0.5413, allocations: 43.97 kB / 414.5 MB, free: 1.746 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003369/0.5417, allocations: 65.69 kB / 414.6 MB, free: 1.676 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.853e-06/0.5417, allocations: 0 / 414.6 MB, free: 1.676 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0008415/0.5426, allocations: 163.2 kB / 414.7 MB, free: 1.504 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.055e-05/0.5427, allocations: 38.31 kB / 414.8 MB, free: 1.461 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.5427, allocations: 0 / 414.8 MB, free: 1.461 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.5427, allocations: 3.953 kB / 414.8 MB, free: 1.457 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.543, allocations: 27.98 kB / 414.8 MB, free: 1.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.019e-06/0.5431, allocations: 320 / 414.8 MB, free: 1.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000307/0.5434, allocations: 11.98 kB / 414.8 MB, free: 1.418 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.5434, allocations: 4 kB / 414.8 MB, free: 1.414 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 (8): * Single equations (assignments): 7 * 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.000503/0.544, allocations: 213.7 kB / 415 MB, free: 1.195 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/0.5442, allocations: 39.53 kB / 415.1 MB, free: 1.156 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009563/0.5452, allocations: 185.3 kB / 415.3 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.5452, allocations: 8.234 kB / 415.3 MB, free: 0.957 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.638e-06/0.5452, allocations: 0 / 415.3 MB, free: 0.957 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.5453, allocations: 4 kB / 415.3 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002159/0.5474, allocations: 0.6311 MB / 415.9 MB, free: 272 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.37e-06/0.5475, allocations: 3.938 kB / 415.9 MB, free: 268 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.5477, allocations: 23.97 kB / 415.9 MB, free: 244 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.295e-05/0.5478, allocations: 3.953 kB / 415.9 MB, free: 240 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.5478, allocations: 4 kB / 415.9 MB, free: 236 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.452e-06/0.5478, allocations: 0 / 415.9 MB, free: 236 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.579e-06/0.5479, allocations: 3.938 kB / 415.9 MB, free: 232 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009897/0.5489, allocations: 262.9 kB / 416.2 MB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003898/0.5493, allocations: 160.5 kB / 416.4 MB, free: 15.78 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.5494, allocations: 7.953 kB / 416.4 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003287/0.5498, allocations: 15.98 kB / 416.4 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.5499, allocations: 0 / 416.4 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.5499, allocations: 4 kB / 416.4 MB, free: 15.75 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001031/0.5509, allocations: 0.6237 MB / 417 MB, free: 15.13 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.06e-07/0.5509, allocations: 0 / 417 MB, free: 15.13 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004397/0.5514, allocations: 67.94 kB / 417.1 MB, free: 15.06 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0007685/0.5522, allocations: 247.6 kB / 417.3 MB, free: 14.87 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004624/0.5527, allocations: 159.3 kB / 417.5 MB, free: 14.7 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.5527, allocations: 0 / 417.5 MB, free: 14.7 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.5529, allocations: 47.97 kB / 417.5 MB, free: 14.65 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.5532, allocations: 21.91 kB / 417.5 MB, free: 14.63 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.555, allocations: 0.9444 MB / 418.5 MB, free: 13.65 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006138/0.5557, allocations: 0.8262 MB / 419.3 MB, free: 12.8 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.5558, allocations: 23.62 kB / 419.3 MB, free: 12.78 MB / 346.7 MB Notification: Performance of SimCode: time 3.885e-06/0.5558, allocations: 0 / 419.3 MB, free: 12.78 MB / 346.7 MB Notification: Performance of Templates: time 0.01028/0.5661, allocations: 4.037 MB / 423.4 MB, free: 8.734 MB / 346.7 MB