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.Test78.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.Test78,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.Test78") Notification: Performance of loadModel(ModelicaTest): time 2.274/2.274, allocations: 235 MB / 248.1 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.415e-05/3.427e-05, allocations: 7.984 kB / 309.7 MB, free: 1.531 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3248, allocations: 54.85 MB / 364.5 MB, free: 5.352 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1244/0.4493, allocations: 82.17 MB / 446.7 MB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.4496, allocations: 63.97 kB / 446.8 MB, free: 14.15 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.03009/0.4797, allocations: 7.082 MB / 453.9 MB, free: 7.086 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.157e-06/0.4797, allocations: 8 kB / 453.9 MB, free: 7.078 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.448e-05/0.4798, allocations: 4 kB / 453.9 MB, free: 7.074 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.0008744/0.4806, allocations: 0.6221 MB / 454.5 MB, free: 6.383 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.4807, allocations: 15.91 kB / 454.5 MB, free: 6.367 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.431e-05/0.4808, allocations: 31.72 kB / 454.5 MB, free: 6.336 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000557/0.4814, allocations: 280 kB / 454.8 MB, free: 6.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.4814, allocations: 8 kB / 454.8 MB, free: 6.012 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.029e-05/0.4815, allocations: 27.84 kB / 454.9 MB, free: 5.984 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.4817, allocations: 91.38 kB / 454.9 MB, free: 5.883 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.4817, allocations: 3.938 kB / 454.9 MB, free: 5.879 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.4818, allocations: 1.031 kB / 454.9 MB, free: 5.879 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.4818, allocations: 4 kB / 455 MB, free: 5.875 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.4819, allocations: 47.91 kB / 455 MB, free: 5.828 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008139/0.4828, allocations: 0.5125 MB / 455.5 MB, free: 5.262 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.483, allocations: 109.4 kB / 455.6 MB, free: 5.137 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.4832, allocations: 45.78 kB / 455.7 MB, free: 5.086 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.4832, allocations: 4 kB / 455.7 MB, free: 5.082 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002561/0.4835, allocations: 109.1 kB / 455.8 MB, free: 4.957 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 3.056e-06/0.4835, allocations: 0 / 455.8 MB, free: 4.957 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001016/0.4845, allocations: 343.8 kB / 456.1 MB, free: 4.613 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/0.4846, allocations: 81.11 kB / 456.2 MB, free: 4.516 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007062/0.4853, allocations: 435.8 kB / 456.6 MB, free: 4.086 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.657e-05/0.4854, allocations: 33.7 kB / 456.6 MB, free: 4.047 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.4855, allocations: 199 kB / 456.8 MB, free: 3.848 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.436e-05/0.4856, allocations: 47.36 kB / 456.9 MB, free: 3.801 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.797e-05/0.4856, allocations: 4 kB / 456.9 MB, free: 3.797 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.4858, allocations: 330.8 kB / 457.2 MB, free: 3.465 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.486, allocations: 68.67 kB / 457.3 MB, free: 3.395 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/0.4862, allocations: 108.3 kB / 457.4 MB, free: 3.277 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002573/0.4865, allocations: 139.3 kB / 457.5 MB, free: 3.129 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.118e-06/0.4865, allocations: 4 kB / 457.5 MB, free: 3.125 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000678/0.4872, allocations: 305.3 kB / 457.8 MB, free: 2.809 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.759e-05/0.4873, allocations: 71.39 kB / 457.9 MB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.4873, allocations: 0 / 457.9 MB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.4874, allocations: 4 kB / 457.9 MB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/0.4876, allocations: 31.98 kB / 457.9 MB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.4876, allocations: 8 kB / 457.9 MB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.4878, allocations: 19.92 kB / 458 MB, free: 2.664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.349e-05/0.4879, allocations: 8 kB / 458 MB, free: 2.656 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.0001342/0.488, allocations: 128.9 kB / 458.1 MB, free: 2.523 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.815e-05/0.4881, allocations: 35.59 kB / 458.1 MB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005613/0.4887, allocations: 220.3 kB / 458.3 MB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.718e-06/0.4887, allocations: 4.375 kB / 458.3 MB, free: 2.258 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.973e-06/0.4887, allocations: 0 / 458.3 MB, free: 2.258 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.793e-06/0.4887, allocations: 7.984 kB / 458.4 MB, free: 2.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.4899, allocations: 0.6947 MB / 459 MB, free: 1.492 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.694e-06/0.49, allocations: 0 / 459 MB, free: 1.492 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.4901, allocations: 23.98 kB / 459.1 MB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.4901, allocations: 0 / 459.1 MB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/0.4901, allocations: 12.06 kB / 459.1 MB, free: 1.457 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.104e-06/0.4902, allocations: 4 kB / 459.1 MB, free: 1.453 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.657e-06/0.4902, allocations: 3.984 kB / 459.1 MB, free: 1.449 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005819/0.4908, allocations: 417.8 kB / 459.5 MB, free: 1.004 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002052/0.491, allocations: 140.6 kB / 459.6 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.119e-05/0.4911, allocations: 8 kB / 459.6 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.4913, allocations: 12.36 kB / 459.7 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.396e-05/0.4914, allocations: 11.98 kB / 459.7 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.4914, allocations: 8 kB / 459.7 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005264/0.492, allocations: 338.1 kB / 460 MB, free: 492 kB / 378.7 MB Notification: Performance of sort global known variables: time 8.11e-07/0.492, allocations: 7.938 kB / 460 MB, free: 484 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.000601/0.4926, allocations: 95.86 kB / 460.1 MB, free: 388 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.002339/0.4949, allocations: 0.6227 MB / 460.7 MB, free: 15.83 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006742/0.4957, allocations: 334.5 kB / 461.1 MB, free: 15.48 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.672e-06/0.4957, allocations: 0 / 461.1 MB, free: 15.48 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.4958, allocations: 63.92 kB / 461.1 MB, free: 15.42 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005256/0.4964, allocations: 45.14 kB / 461.2 MB, free: 15.38 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.4975, allocations: 484.6 kB / 461.6 MB, free: 14.87 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005077/0.498, allocations: 0.7829 MB / 462.4 MB, free: 14.06 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.4981, allocations: 35.42 kB / 462.5 MB, free: 14.02 MB / 394.7 MB Notification: Performance of SimCode: time 1.975e-06/0.4982, allocations: 3.938 kB / 462.5 MB, free: 14.02 MB / 394.7 MB Notification: Performance of Templates: time 0.008531/0.5067, allocations: 3.96 MB / 466.4 MB, free: 10.07 MB / 394.7 MB