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.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y|combiTable2D1DT.y|clock1.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test19") Notification: Performance of loadModel(ModelicaTest): time 1.955/1.955, allocations: 209.3 MB / 224.8 MB, free: 1.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004454/0.0004455, allocations: 12 kB / 282.6 MB, free: 9.707 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0899/0.09037, allocations: 48.69 MB / 331.3 MB, free: 8.922 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3356/0.426, allocations: 75.5 MB / 406.8 MB, free: 9.672 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.4263, allocations: 71.95 kB / 406.8 MB, free: 9.602 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02075/0.447, allocations: 5.27 MB / 412.1 MB, free: 4.344 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.647e-06/0.4471, allocations: 0 / 412.1 MB, free: 4.344 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.998e-05/0.4471, allocations: 8 kB / 412.1 MB, free: 4.336 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008788/0.448, allocations: 0.6819 MB / 412.8 MB, free: 3.574 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.4481, allocations: 12.03 kB / 412.8 MB, free: 3.562 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.868e-05/0.4482, allocations: 35.56 kB / 412.9 MB, free: 3.527 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005054/0.4487, allocations: 294.9 kB / 413.1 MB, free: 3.199 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.4487, allocations: 4 kB / 413.1 MB, free: 3.195 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.4487, allocations: 15.94 kB / 413.2 MB, free: 3.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.449, allocations: 79.36 kB / 413.2 MB, free: 3.098 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.811e-06/0.449, allocations: 0 / 413.2 MB, free: 3.098 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.449, allocations: 0 / 413.2 MB, free: 3.098 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.372e-06/0.4491, allocations: 4 kB / 413.2 MB, free: 3.094 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.4493, allocations: 55.97 kB / 413.3 MB, free: 3.039 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007158/0.45, allocations: 420.5 kB / 413.7 MB, free: 2.578 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.4502, allocations: 58.56 kB / 413.8 MB, free: 2.512 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.4502, allocations: 4 kB / 413.8 MB, free: 2.508 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.4503, allocations: 30.56 kB / 413.8 MB, free: 2.469 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.11e-06/0.4503, allocations: 0 / 413.8 MB, free: 2.469 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004657/0.4508, allocations: 145.3 kB / 413.9 MB, free: 2.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.4508, allocations: 51.41 kB / 414 MB, free: 2.258 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000682/0.4515, allocations: 424.9 kB / 414.4 MB, free: 1.836 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.4516, allocations: 25.7 kB / 414.4 MB, free: 1.805 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.4517, allocations: 218.3 kB / 414.6 MB, free: 1.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/0.4518, allocations: 23.73 kB / 414.7 MB, free: 1.566 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.484e-06/0.4518, allocations: 0 / 414.7 MB, free: 1.566 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.452, allocations: 322.8 kB / 415 MB, free: 1.242 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.4521, allocations: 31.97 kB / 415 MB, free: 1.211 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.533e-05/0.4522, allocations: 28.53 kB / 415 MB, free: 1.184 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.4524, allocations: 168.7 kB / 415.2 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.738e-06/0.4524, allocations: 0 / 415.2 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003953/0.4529, allocations: 242 kB / 415.4 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001142/0.453, allocations: 144.5 kB / 415.6 MB, free: 0.543 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.183e-06/0.453, allocations: 3.938 kB / 415.6 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.453, allocations: 0 / 415.6 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.4531, allocations: 12 kB / 415.6 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.217e-06/0.4532, allocations: 3.953 kB / 415.6 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.4533, allocations: 15.92 kB / 415.6 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.4533, allocations: 4 kB / 415.6 MB, free: 0.5039 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 (11): * Single equations (assignments): 6 * 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.0002101/0.4535, allocations: 162.3 kB / 415.8 MB, free: 344 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.291e-05/0.4536, allocations: 27.62 kB / 415.8 MB, free: 316 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003704/0.454, allocations: 132.5 kB / 415.9 MB, free: 176 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.219e-06/0.454, allocations: 3.984 kB / 415.9 MB, free: 172 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.615e-06/0.454, allocations: 8.047 kB / 415.9 MB, free: 164 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.535e-06/0.4541, allocations: 7.953 kB / 416 MB, free: 156 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000416/0.4545, allocations: 261.6 kB / 416.2 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.4545, allocations: 4 kB / 416.2 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.106e-05/0.4546, allocations: 15.98 kB / 416.2 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.334e-06/0.4546, allocations: 0 / 416.2 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.4546, allocations: 8 kB / 416.2 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.15e-06/0.4546, allocations: 0 / 416.2 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.649e-06/0.4546, allocations: 0 / 416.2 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000375/0.455, allocations: 215 kB / 416.4 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.4552, allocations: 116.8 kB / 416.6 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.892e-05/0.4552, allocations: 0 / 416.6 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.4554, allocations: 7.984 kB / 416.6 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.4554, allocations: 8 kB / 416.6 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.061e-06/0.4554, allocations: 0 / 416.6 MB, free: 15.44 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005109/0.456, allocations: 339.1 kB / 416.9 MB, free: 15.11 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.67e-07/0.456, allocations: 0 / 416.9 MB, free: 15.11 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004237/0.4564, allocations: 63.78 kB / 417 MB, free: 15.05 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 (6): * Single equations (assignments): 6 * 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.001406/0.4578, allocations: 448.9 kB / 417.4 MB, free: 14.7 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000473/0.4583, allocations: 336.9 kB / 417.7 MB, free: 14.31 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.542e-06/0.4584, allocations: 4 kB / 417.7 MB, free: 14.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.4585, allocations: 23.98 kB / 417.8 MB, free: 14.28 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.4589, allocations: 49.38 kB / 417.8 MB, free: 14.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.4601, allocations: 0.5804 MB / 418.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005113/0.4606, allocations: 0.7706 MB / 419.2 MB, free: 12.82 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.676e-05/0.4607, allocations: 27.42 kB / 419.2 MB, free: 12.8 MB / 346.7 MB Notification: Performance of SimCode: time 1.686e-06/0.4607, allocations: 0 / 419.2 MB, free: 12.8 MB / 346.7 MB Notification: Performance of Templates: time 0.006738/0.4675, allocations: 3.116 MB / 422.3 MB, free: 9.68 MB / 346.7 MB