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.Test33.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.Test33,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.Test33") Notification: Performance of loadModel(ModelicaTest): time 2.144/2.144, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.298e-05/3.305e-05, allocations: 4 kB / 309.7 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3187, allocations: 54.86 MB / 364.5 MB, free: 5.539 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.13/0.4488, allocations: 82.06 MB / 446.6 MB, free: 14.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.4491, allocations: 76.52 kB / 446.7 MB, free: 14.34 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.01979/0.4689, allocations: 4.56 MB / 451.2 MB, free: 9.801 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.968e-06/0.4689, allocations: 0.8438 kB / 451.2 MB, free: 9.801 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.4689, allocations: 0 / 451.2 MB, free: 9.801 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.0005705/0.4695, allocations: 445.6 kB / 451.7 MB, free: 9.309 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.4696, allocations: 19.91 kB / 451.7 MB, free: 9.289 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.295e-05/0.4696, allocations: 11.91 kB / 451.7 MB, free: 9.277 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003495/0.47, allocations: 202.9 kB / 451.9 MB, free: 9.039 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.47, allocations: 4 kB / 451.9 MB, free: 9.035 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.4701, allocations: 4 kB / 451.9 MB, free: 9.031 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.4702, allocations: 61.67 kB / 452 MB, free: 8.965 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.4703, allocations: 4.641 kB / 452 MB, free: 8.961 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.4703, allocations: 3.953 kB / 452 MB, free: 8.957 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.626e-06/0.4703, allocations: 0 / 452 MB, free: 8.957 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.064e-05/0.4704, allocations: 23.94 kB / 452 MB, free: 8.934 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004872/0.4709, allocations: 320.7 kB / 452.3 MB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.4711, allocations: 54.69 kB / 452.4 MB, free: 8.508 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.99e-05/0.4712, allocations: 16.98 kB / 452.4 MB, free: 8.488 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.4712, allocations: 8.984 kB / 452.4 MB, free: 8.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/0.4714, allocations: 71.45 kB / 452.5 MB, free: 8.398 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.544e-06/0.4714, allocations: 0 / 452.5 MB, free: 8.398 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005813/0.472, allocations: 157.3 kB / 452.6 MB, free: 8.238 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.472, allocations: 59.39 kB / 452.7 MB, free: 8.168 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.4723, allocations: 165.2 kB / 452.8 MB, free: 8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.4723, allocations: 33.7 kB / 452.9 MB, free: 7.961 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.707e-05/0.4724, allocations: 162.5 kB / 453 MB, free: 7.801 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/0.4725, allocations: 23.64 kB / 453.1 MB, free: 7.777 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.257e-05/0.4725, allocations: 12 kB / 453.1 MB, free: 7.766 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.4727, allocations: 310.8 kB / 453.4 MB, free: 7.453 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.4728, allocations: 37.5 kB / 453.4 MB, free: 7.418 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.4729, allocations: 51.53 kB / 453.5 MB, free: 7.363 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.4731, allocations: 69.69 kB / 453.5 MB, free: 7.289 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4731, allocations: 0 / 453.5 MB, free: 7.289 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003775/0.4735, allocations: 179.2 kB / 453.7 MB, free: 7.102 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.565e-05/0.4735, allocations: 39.61 kB / 453.7 MB, free: 7.059 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.023e-06/0.4736, allocations: 4 kB / 453.7 MB, free: 7.055 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.4736, allocations: 0 / 453.7 MB, free: 7.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.4737, allocations: 15.98 kB / 453.8 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.894e-06/0.4737, allocations: 0 / 453.8 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.189e-05/0.4738, allocations: 12 kB / 453.8 MB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.4739, allocations: 4 kB / 453.8 MB, free: 7.023 MB / 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 () * 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.0001094/0.474, allocations: 116.9 kB / 453.9 MB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.474, allocations: 11.86 kB / 453.9 MB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003138/0.4744, allocations: 122.2 kB / 454 MB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.829e-06/0.4744, allocations: 4 kB / 454 MB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.076e-06/0.4744, allocations: 0 / 454 MB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.4744, allocations: 0 / 454 MB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000632/0.4751, allocations: 411.2 kB / 454.4 MB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.151e-06/0.4751, allocations: 0 / 454.4 MB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.536e-05/0.4752, allocations: 15.98 kB / 454.4 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.694e-06/0.4752, allocations: 4.031 kB / 454.4 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.4752, allocations: 192 / 454.4 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.423e-06/0.4752, allocations: 8 kB / 454.5 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.095e-06/0.4752, allocations: 0 / 454.5 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003237/0.4756, allocations: 221.8 kB / 454.7 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.4757, allocations: 97 kB / 454.8 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/0.4757, allocations: 4 kB / 454.8 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.4758, allocations: 11.98 kB / 454.8 MB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.4759, allocations: 4 kB / 454.8 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.4759, allocations: 7.938 kB / 454.8 MB, free: 5.891 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001676/0.4761, allocations: 135.2 kB / 454.9 MB, free: 5.758 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.56e-07/0.4761, allocations: 0 / 454.9 MB, free: 5.758 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004012/0.4765, allocations: 39.98 kB / 455 MB, free: 5.719 MB / 378.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) * 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.001464/0.478, allocations: 423.6 kB / 455.4 MB, free: 5.379 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003409/0.4784, allocations: 171.3 kB / 455.5 MB, free: 5.199 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.4784, allocations: 0 / 455.5 MB, free: 5.199 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.495e-05/0.4785, allocations: 35.92 kB / 455.6 MB, free: 5.164 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.4788, allocations: 27.88 kB / 455.6 MB, free: 5.137 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004814/0.4793, allocations: 188.6 kB / 455.8 MB, free: 4.922 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.4797, allocations: 0.7043 MB / 456.5 MB, free: 4.191 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.375e-05/0.4798, allocations: 19.42 kB / 456.5 MB, free: 4.176 MB / 378.7 MB Notification: Performance of SimCode: time 1.511e-06/0.4798, allocations: 0 / 456.5 MB, free: 4.176 MB / 378.7 MB Notification: Performance of Templates: time 0.004898/0.4847, allocations: 1.915 MB / 458.4 MB, free: 2.266 MB / 378.7 MB