Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadModel(ModelicaTest): time 2.134/2.134, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.592e-05/3.608e-05, allocations: 7.984 kB / 309.7 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3175, allocations: 54.85 MB / 364.5 MB, free: 5.516 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1254/0.443, allocations: 82.17 MB / 446.7 MB, free: 14.3 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/0.4433, allocations: 67.97 kB / 446.8 MB, free: 14.24 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new_2.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new_2.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new_2.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new_2.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02976/0.4731, allocations: 7.081 MB / 453.9 MB, free: 7.184 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4731, allocations: 0 / 453.9 MB, free: 7.184 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.344e-05/0.4731, allocations: 8 kB / 453.9 MB, free: 7.176 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008974/0.474, allocations: 0.6252 MB / 454.5 MB, free: 6.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.4741, allocations: 11.97 kB / 454.5 MB, free: 6.469 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.859e-05/0.4742, allocations: 27.72 kB / 454.5 MB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005794/0.4748, allocations: 295.8 kB / 454.8 MB, free: 6.109 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.4748, allocations: 4 kB / 454.8 MB, free: 6.105 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.798e-05/0.4749, allocations: 19.94 kB / 454.9 MB, free: 6.086 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.4751, allocations: 96.03 kB / 454.9 MB, free: 5.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.4752, allocations: 0 / 454.9 MB, free: 5.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.4752, allocations: 5.031 kB / 455 MB, free: 5.977 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.4752, allocations: 3.938 kB / 455 MB, free: 5.973 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.4754, allocations: 47.91 kB / 455 MB, free: 5.926 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008567/0.4762, allocations: 0.5086 MB / 455.5 MB, free: 5.363 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.4765, allocations: 109.4 kB / 455.6 MB, free: 5.238 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.4766, allocations: 41.84 kB / 455.7 MB, free: 5.191 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.4767, allocations: 0 / 455.7 MB, free: 5.191 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002519/0.4769, allocations: 117.7 kB / 455.8 MB, free: 5.059 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.32e-06/0.477, allocations: 0 / 455.8 MB, free: 5.059 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001038/0.478, allocations: 348.2 kB / 456.1 MB, free: 4.711 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.737e-05/0.4781, allocations: 85.05 kB / 456.2 MB, free: 4.609 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007102/0.4788, allocations: 428.1 kB / 456.6 MB, free: 4.188 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.368e-05/0.4789, allocations: 37.7 kB / 456.7 MB, free: 4.145 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.479, allocations: 199 kB / 456.8 MB, free: 3.945 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.97e-05/0.4791, allocations: 51.34 kB / 456.9 MB, free: 3.895 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.917e-05/0.4792, allocations: 4 kB / 456.9 MB, free: 3.891 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.4793, allocations: 326.8 kB / 457.2 MB, free: 3.562 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.4795, allocations: 68.67 kB / 457.3 MB, free: 3.492 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/0.4798, allocations: 104.3 kB / 457.4 MB, free: 3.379 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002573/0.48, allocations: 147.4 kB / 457.5 MB, free: 3.223 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.542e-06/0.48, allocations: 0 / 457.5 MB, free: 3.223 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006748/0.4807, allocations: 306 kB / 457.8 MB, free: 2.906 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.829e-05/0.4808, allocations: 69.27 kB / 457.9 MB, free: 2.828 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.761e-06/0.4808, allocations: 4.062 kB / 457.9 MB, free: 2.824 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.4809, allocations: 8.172 kB / 457.9 MB, free: 2.816 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.4811, allocations: 35.92 kB / 457.9 MB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.4811, allocations: 3.938 kB / 457.9 MB, free: 2.777 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.4813, allocations: 27.89 kB / 458 MB, free: 2.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.726e-05/0.4814, allocations: 12 kB / 458 MB, free: 2.738 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * 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.0001367/0.4815, allocations: 120.9 kB / 458.1 MB, free: 2.613 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.125e-05/0.4816, allocations: 39.5 kB / 458.1 MB, free: 2.574 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005592/0.4822, allocations: 208.5 kB / 458.3 MB, free: 2.359 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.224e-06/0.4822, allocations: 0 / 458.3 MB, free: 2.359 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.957e-06/0.4822, allocations: 4 kB / 458.4 MB, free: 2.355 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.49e-06/0.4822, allocations: 7.984 kB / 458.4 MB, free: 2.348 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.4835, allocations: 0.6945 MB / 459.1 MB, free: 1.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.343e-06/0.4835, allocations: 4 kB / 459.1 MB, free: 1.586 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.4836, allocations: 23.92 kB / 459.1 MB, free: 1.562 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.4837, allocations: 4 kB / 459.1 MB, free: 1.559 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.4837, allocations: 4 kB / 459.1 MB, free: 1.555 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.485e-06/0.4837, allocations: 8.062 kB / 459.1 MB, free: 1.547 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.962e-06/0.4837, allocations: 7.938 kB / 459.1 MB, free: 1.539 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005927/0.4843, allocations: 412.3 kB / 459.5 MB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002049/0.4845, allocations: 140.7 kB / 459.6 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.43e-05/0.4846, allocations: 8 kB / 459.7 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.4849, allocations: 7.984 kB / 459.7 MB, free: 0.9258 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.396e-05/0.4849, allocations: 15.98 kB / 459.7 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/0.485, allocations: 4 kB / 459.7 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005259/0.4855, allocations: 342.1 kB / 460 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.81e-07/0.4855, allocations: 0 / 460 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000606/0.4861, allocations: 95.86 kB / 460.1 MB, free: 492 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002332/0.4885, allocations: 0.6241 MB / 460.7 MB, free: 15.93 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006729/0.4892, allocations: 330.6 kB / 461.1 MB, free: 15.58 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.475e-06/0.4892, allocations: 0 / 461.1 MB, free: 15.58 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.4894, allocations: 71.84 kB / 461.1 MB, free: 15.51 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005424/0.49, allocations: 45.14 kB / 461.2 MB, free: 15.47 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.4911, allocations: 487.3 kB / 461.6 MB, free: 14.96 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005173/0.4916, allocations: 0.7751 MB / 462.4 MB, free: 14.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.4917, allocations: 35.36 kB / 462.5 MB, free: 14.12 MB / 394.7 MB Notification: Performance of SimCode: time 2.013e-06/0.4918, allocations: 4 kB / 462.5 MB, free: 14.12 MB / 394.7 MB Notification: Performance of Templates: time 0.008605/0.5004, allocations: 3.962 MB / 466.4 MB, free: 10.16 MB / 394.7 MB