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.Test4.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.Test4,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.Test4") Notification: Performance of loadModel(ModelicaTest): time 2.175/2.175, allocations: 235 MB / 248.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.08e-05/3.103e-05, allocations: 4 kB / 309.7 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3218, allocations: 54.86 MB / 364.5 MB, free: 5.539 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1231/0.4449, allocations: 82.05 MB / 446.6 MB, free: 14.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/0.4452, allocations: 76.78 kB / 446.7 MB, free: 14.36 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.01978/0.465, allocations: 4.684 MB / 451.4 MB, free: 9.703 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.266e-06/0.465, allocations: 0.8438 kB / 451.4 MB, free: 9.703 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.833e-05/0.465, allocations: 4 kB / 451.4 MB, free: 9.699 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.0005884/0.4656, allocations: 457.5 kB / 451.8 MB, free: 9.195 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.4657, allocations: 15.97 kB / 451.8 MB, free: 9.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.52e-05/0.4657, allocations: 7.906 kB / 451.8 MB, free: 9.172 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.4661, allocations: 219.5 kB / 452 MB, free: 8.914 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.4662, allocations: 4 kB / 452 MB, free: 8.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.4662, allocations: 4 kB / 452.1 MB, free: 8.906 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.4663, allocations: 49.69 kB / 452.1 MB, free: 8.852 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.4664, allocations: 12.77 kB / 452.1 MB, free: 8.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.4664, allocations: 7.953 kB / 452.1 MB, free: 8.832 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.327e-06/0.4664, allocations: 0 / 452.1 MB, free: 8.832 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.313e-05/0.4665, allocations: 16 kB / 452.1 MB, free: 8.816 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004888/0.467, allocations: 320.8 kB / 452.4 MB, free: 8.453 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.4672, allocations: 58.62 kB / 452.5 MB, free: 8.387 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.719e-05/0.4672, allocations: 16.98 kB / 452.5 MB, free: 8.367 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.4673, allocations: 3.953 kB / 452.5 MB, free: 8.363 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.4674, allocations: 71.52 kB / 452.6 MB, free: 8.281 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.48e-06/0.4674, allocations: 1.031 kB / 452.6 MB, free: 8.281 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000552/0.468, allocations: 162.1 kB / 452.8 MB, free: 8.117 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.4681, allocations: 59.39 kB / 452.8 MB, free: 8.047 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002653/0.4684, allocations: 189.9 kB / 453 MB, free: 7.852 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.4684, allocations: 33.64 kB / 453 MB, free: 7.812 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.4685, allocations: 166.6 kB / 453.2 MB, free: 7.648 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.766e-05/0.4686, allocations: 23.7 kB / 453.2 MB, free: 7.625 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.129e-06/0.4686, allocations: 0 / 453.2 MB, free: 7.625 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.4688, allocations: 326.8 kB / 453.5 MB, free: 7.297 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.596e-05/0.4689, allocations: 32 kB / 453.6 MB, free: 7.266 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.469, allocations: 53.7 kB / 453.6 MB, free: 7.207 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.4692, allocations: 67.09 kB / 453.7 MB, free: 7.137 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.471e-06/0.4692, allocations: 4 kB / 453.7 MB, free: 7.133 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003632/0.4696, allocations: 171.3 kB / 453.9 MB, free: 6.953 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.868e-05/0.4696, allocations: 37.69 kB / 453.9 MB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.4696, allocations: 4.031 kB / 453.9 MB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.4697, allocations: 0 / 453.9 MB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.4698, allocations: 19.92 kB / 453.9 MB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.4698, allocations: 4 kB / 453.9 MB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.299e-05/0.4699, allocations: 8.094 kB / 453.9 MB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.47, allocations: 12 kB / 453.9 MB, free: 6.863 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.0001/0.4701, allocations: 110.6 kB / 454 MB, free: 6.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.67e-05/0.4701, allocations: 15.86 kB / 454.1 MB, free: 6.734 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003098/0.4704, allocations: 127.2 kB / 454.2 MB, free: 6.602 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.069e-06/0.4705, allocations: 0 / 454.2 MB, free: 6.602 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.38e-06/0.4705, allocations: 0 / 454.2 MB, free: 6.602 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.193e-06/0.4705, allocations: 7.984 kB / 454.2 MB, free: 6.594 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006341/0.4711, allocations: 419.2 kB / 454.6 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.023e-06/0.4712, allocations: 0 / 454.6 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.029e-05/0.4712, allocations: 11.98 kB / 454.6 MB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.436e-06/0.4712, allocations: 4 kB / 454.6 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.4713, allocations: 4.031 kB / 454.6 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.014e-06/0.4713, allocations: 0 / 454.6 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.987e-06/0.4713, allocations: 3.938 kB / 454.6 MB, free: 6.102 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/0.4716, allocations: 218 kB / 454.8 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.4717, allocations: 104.8 kB / 454.9 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.4718, allocations: 3.984 kB / 454.9 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.4719, allocations: 15.94 kB / 455 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.472, allocations: 4 kB / 455 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.472, allocations: 7.984 kB / 455 MB, free: 5.711 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001882/0.4722, allocations: 148.8 kB / 455.1 MB, free: 5.566 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.62e-07/0.4722, allocations: 0 / 455.1 MB, free: 5.566 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003953/0.4726, allocations: 39.94 kB / 455.2 MB, free: 5.527 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.001449/0.4741, allocations: 421.6 kB / 455.6 MB, free: 5.195 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003366/0.4744, allocations: 163.3 kB / 455.7 MB, free: 5.023 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.016e-06/0.4744, allocations: 4 kB / 455.7 MB, free: 5.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.137e-05/0.4746, allocations: 35.92 kB / 455.8 MB, free: 4.984 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.4749, allocations: 23.94 kB / 455.8 MB, free: 4.961 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005209/0.4754, allocations: 208.4 kB / 456 MB, free: 4.719 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.4758, allocations: 0.716 MB / 456.7 MB, free: 3.977 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.6e-05/0.4759, allocations: 15.44 kB / 456.7 MB, free: 3.965 MB / 378.7 MB Notification: Performance of SimCode: time 1.952e-06/0.4759, allocations: 0 / 456.7 MB, free: 3.965 MB / 378.7 MB Notification: Performance of Templates: time 0.004814/0.4807, allocations: 2.008 MB / 458.7 MB, free: 1.961 MB / 378.7 MB