Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,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.Test26") Notification: Performance of loadModel(ModelicaTest): time 2.741/2.741, allocations: 234.9 MB / 251.1 MB, free: 9.695 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00047/0.0004702, allocations: 23.98 kB / 315 MB, free: 9.73 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3833, allocations: 54.85 MB / 369.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1541/0.5374, allocations: 82.14 MB / 451.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000321/0.5378, allocations: 79.91 kB / 452 MB, free: 10.47 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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.02142/0.5592, allocations: 4.625 MB / 456.6 MB, free: 5.836 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.5593, allocations: 0 / 456.6 MB, free: 5.836 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.804e-05/0.5593, allocations: 4 kB / 456.6 MB, free: 5.832 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.0007398/0.5601, allocations: 490 kB / 457.1 MB, free: 5.293 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.5601, allocations: 8.031 kB / 457.1 MB, free: 5.285 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.288e-05/0.5602, allocations: 11.91 kB / 457.1 MB, free: 5.273 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003813/0.5606, allocations: 198.9 kB / 457.3 MB, free: 5.039 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.5606, allocations: 4 kB / 457.3 MB, free: 5.035 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/0.5607, allocations: 4 kB / 457.3 MB, free: 5.031 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.5609, allocations: 61.59 kB / 457.4 MB, free: 4.965 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.5609, allocations: 0 / 457.4 MB, free: 4.965 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.5609, allocations: 11.95 kB / 457.4 MB, free: 4.953 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.561, allocations: 0 / 457.4 MB, free: 4.953 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.5611, allocations: 23.98 kB / 457.4 MB, free: 4.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000542/0.5616, allocations: 312.8 kB / 457.8 MB, free: 4.574 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.5619, allocations: 62.61 kB / 457.8 MB, free: 4.504 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.562, allocations: 4 kB / 457.8 MB, free: 4.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002185/0.5622, allocations: 76.05 kB / 457.9 MB, free: 4.414 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.425e-06/0.5622, allocations: 3.938 kB / 457.9 MB, free: 4.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001032/0.5632, allocations: 189.2 kB / 458.1 MB, free: 4.219 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.5633, allocations: 51.41 kB / 458.1 MB, free: 4.156 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004817/0.5638, allocations: 195.3 kB / 458.3 MB, free: 3.945 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.205e-05/0.5639, allocations: 33.69 kB / 458.4 MB, free: 3.906 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.5641, allocations: 170.5 kB / 458.5 MB, free: 3.738 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.528e-05/0.5641, allocations: 19.72 kB / 458.5 MB, free: 3.719 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.22e-05/0.5641, allocations: 4 kB / 458.5 MB, free: 3.715 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.5643, allocations: 314.8 kB / 458.8 MB, free: 3.398 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.5645, allocations: 39.98 kB / 458.9 MB, free: 3.359 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/0.5647, allocations: 57.62 kB / 458.9 MB, free: 3.297 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.5649, allocations: 77.64 kB / 459 MB, free: 3.215 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.5649, allocations: 4 kB / 459 MB, free: 3.211 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004875/0.5654, allocations: 175.2 kB / 459.2 MB, free: 3.027 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.899e-05/0.5655, allocations: 34.47 kB / 459.2 MB, free: 2.988 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.5655, allocations: 7.938 kB / 459.2 MB, free: 2.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.5655, allocations: 0 / 459.2 MB, free: 2.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.5657, allocations: 12 kB / 459.2 MB, free: 2.969 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.5657, allocations: 4 kB / 459.3 MB, free: 2.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.5658, allocations: 11.98 kB / 459.3 MB, free: 2.953 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.5659, allocations: 8.031 kB / 459.3 MB, free: 2.945 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 () * 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.0002247/0.5661, allocations: 121.8 kB / 459.4 MB, free: 2.816 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.858e-05/0.5662, allocations: 15.84 kB / 459.4 MB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005609/0.5668, allocations: 131.1 kB / 459.5 MB, free: 2.664 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.5668, allocations: 0 / 459.5 MB, free: 2.664 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.5668, allocations: 0 / 459.5 MB, free: 2.664 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.5668, allocations: 0 / 459.5 MB, free: 2.664 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007387/0.5676, allocations: 423.2 kB / 459.9 MB, free: 2.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.5676, allocations: 0 / 459.9 MB, free: 2.191 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.875e-05/0.5677, allocations: 11.94 kB / 460 MB, free: 2.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.856e-06/0.5677, allocations: 4 kB / 460 MB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.5677, allocations: 3.984 kB / 460 MB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.5677, allocations: 0 / 460 MB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.5678, allocations: 3.938 kB / 460 MB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003793/0.5681, allocations: 216.5 kB / 460.2 MB, free: 1.938 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.5683, allocations: 100.9 kB / 460.3 MB, free: 1.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.042e-05/0.5683, allocations: 4.094 kB / 460.3 MB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.5685, allocations: 11.92 kB / 460.3 MB, free: 1.805 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.236e-05/0.5686, allocations: 4 kB / 460.3 MB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.829e-05/0.5687, allocations: 4 kB / 460.3 MB, free: 1.797 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002474/0.5689, allocations: 143.9 kB / 460.4 MB, free: 1.656 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5689, allocations: 0 / 460.4 MB, free: 1.656 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004136/0.5694, allocations: 51.92 kB / 460.5 MB, free: 1.605 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) * 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.00147/0.5708, allocations: 459.5 kB / 460.9 MB, free: 1.234 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005224/0.5714, allocations: 167.3 kB / 461.1 MB, free: 1.059 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.5714, allocations: 0 / 461.1 MB, free: 1.059 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.5716, allocations: 35.92 kB / 461.1 MB, free: 1.023 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.5719, allocations: 24.17 kB / 461.2 MB, free: 1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007686/0.5727, allocations: 288.3 kB / 461.4 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/0.5732, allocations: 0.7122 MB / 462.2 MB, free: 15.94 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.298e-05/0.5733, allocations: 15.44 kB / 462.2 MB, free: 15.93 MB / 394.7 MB Notification: Performance of SimCode: time 1.142e-06/0.5733, allocations: 0 / 462.2 MB, free: 15.93 MB / 394.7 MB Notification: Performance of Templates: time 0.006287/0.5796, allocations: 1.974 MB / 464.1 MB, free: 13.96 MB / 394.7 MB