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.Test48.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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadModel(ModelicaTest): time 2.122/2.122, allocations: 234.9 MB / 250.5 MB, free: 9.457 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004537/0.0004539, allocations: 20 kB / 314.4 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3148, allocations: 54.86 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1335/0.4483, allocations: 82.14 MB / 451.4 MB, free: 8.449 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/0.4487, allocations: 83.95 kB / 451.5 MB, free: 8.367 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. Notification: Performance of FrontEnd - DAE generated: time 0.02228/0.471, allocations: 4.907 MB / 456.4 MB, free: 3.445 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.522e-06/0.471, allocations: 4 kB / 456.4 MB, free: 3.441 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.471, allocations: 0 / 456.4 MB, free: 3.441 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006886/0.4717, allocations: 0.4901 MB / 456.9 MB, free: 2.891 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.4718, allocations: 8.031 kB / 456.9 MB, free: 2.883 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.823e-05/0.4719, allocations: 15.81 kB / 456.9 MB, free: 2.867 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.4722, allocations: 214.8 kB / 457.1 MB, free: 2.617 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.4723, allocations: 8 kB / 457.1 MB, free: 2.609 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.4723, allocations: 4 kB / 457.2 MB, free: 2.605 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.4725, allocations: 61.66 kB / 457.2 MB, free: 2.539 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.4725, allocations: 0 / 457.2 MB, free: 2.539 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.4725, allocations: 3.953 kB / 457.2 MB, free: 2.535 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.871e-06/0.4726, allocations: 4 kB / 457.2 MB, free: 2.531 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.4727, allocations: 23.92 kB / 457.2 MB, free: 2.508 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005117/0.4732, allocations: 324.8 kB / 457.6 MB, free: 2.141 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.4734, allocations: 62.67 kB / 457.6 MB, free: 2.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.4735, allocations: 0 / 457.6 MB, free: 2.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001902/0.4737, allocations: 76.12 kB / 457.7 MB, free: 1.984 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.362e-06/0.4737, allocations: 3.938 kB / 457.7 MB, free: 1.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007501/0.4745, allocations: 193 kB / 457.9 MB, free: 1.785 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.4745, allocations: 51.41 kB / 457.9 MB, free: 1.723 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003488/0.4749, allocations: 237.7 kB / 458.2 MB, free: 1.477 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.4749, allocations: 29.7 kB / 458.2 MB, free: 1.441 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.4751, allocations: 166.6 kB / 458.4 MB, free: 1.277 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.796e-05/0.4751, allocations: 27.64 kB / 458.4 MB, free: 1.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.23e-05/0.4751, allocations: 4 kB / 458.4 MB, free: 1.246 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.4753, allocations: 318.8 kB / 458.7 MB, free: 0.9258 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.4754, allocations: 35.98 kB / 458.7 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.4756, allocations: 53.7 kB / 458.8 MB, free: 0.832 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.4758, allocations: 73.69 kB / 458.9 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.927e-06/0.4758, allocations: 0 / 458.9 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004147/0.4762, allocations: 183.1 kB / 459 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.133e-05/0.4763, allocations: 41.66 kB / 459.1 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.885e-06/0.4763, allocations: 0 / 459.1 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.4763, allocations: 4 kB / 459.1 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.4765, allocations: 19.92 kB / 459.1 MB, free: 0.4922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.904e-06/0.4765, allocations: 32 / 459.1 MB, free: 0.4922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.93e-05/0.4766, allocations: 12 kB / 459.1 MB, free: 492 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.4766, allocations: 4 kB / 459.1 MB, free: 488 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001584/0.4768, allocations: 137.8 kB / 459.3 MB, free: 340 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.027e-05/0.4768, allocations: 19.8 kB / 459.3 MB, free: 320 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003662/0.4772, allocations: 135 kB / 459.4 MB, free: 180 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.813e-06/0.4772, allocations: 384 / 459.4 MB, free: 180 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.036e-06/0.4772, allocations: 0 / 459.4 MB, free: 180 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.209e-06/0.4773, allocations: 4 kB / 459.4 MB, free: 176 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007504/0.478, allocations: 439.2 kB / 459.8 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.926e-06/0.4781, allocations: 0 / 459.8 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.208e-05/0.4781, allocations: 11.98 kB / 459.9 MB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.465e-06/0.4782, allocations: 4 kB / 459.9 MB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.4782, allocations: 0 / 459.9 MB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.492e-06/0.4782, allocations: 0 / 459.9 MB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.02e-06/0.4782, allocations: 3.938 kB / 459.9 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003703/0.4786, allocations: 233.8 kB / 460.1 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.4787, allocations: 108.9 kB / 460.2 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/0.4788, allocations: 4 kB / 460.2 MB, free: 15.28 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.4789, allocations: 4 kB / 460.2 MB, free: 15.28 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.479, allocations: 11.92 kB / 460.2 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.479, allocations: 8 kB / 460.2 MB, free: 15.26 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002518/0.4792, allocations: 192.2 kB / 460.4 MB, free: 15.07 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.28e-07/0.4793, allocations: 0 / 460.4 MB, free: 15.07 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004042/0.4797, allocations: 44.22 kB / 460.5 MB, free: 15.03 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001563/0.4812, allocations: 453.2 kB / 460.9 MB, free: 14.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004059/0.4817, allocations: 179.3 kB / 461.1 MB, free: 14.47 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.438e-06/0.4817, allocations: 0 / 461.1 MB, free: 14.47 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.4818, allocations: 35.92 kB / 461.1 MB, free: 14.44 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.4822, allocations: 28.22 kB / 461.1 MB, free: 14.41 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007379/0.4829, allocations: 344.7 kB / 461.5 MB, free: 14.04 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/0.4834, allocations: 0.7199 MB / 462.2 MB, free: 13.29 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.342e-05/0.4835, allocations: 15.44 kB / 462.2 MB, free: 13.27 MB / 394.7 MB Notification: Performance of SimCode: time 1.591e-06/0.4835, allocations: 0 / 462.2 MB, free: 13.27 MB / 394.7 MB Notification: Performance of Templates: time 0.00513/0.4886, allocations: 2.151 MB / 464.4 MB, free: 11.12 MB / 394.7 MB