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.Test23.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.Test23,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.Test23") Notification: Performance of loadModel(ModelicaTest): time 2.219/2.219, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.513e-05/3.527e-05, allocations: 8 kB / 309.7 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3232, allocations: 54.85 MB / 364.5 MB, free: 5.551 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1242/0.4475, allocations: 82.03 MB / 446.6 MB, free: 14.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/0.4477, allocations: 75.95 kB / 446.6 MB, free: 14.39 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.01947/0.4672, allocations: 4.499 MB / 451.1 MB, free: 9.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4673, allocations: 0 / 451.1 MB, free: 9.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.4673, allocations: 0 / 451.1 MB, free: 9.91 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.0006049/0.4679, allocations: 462.4 kB / 451.6 MB, free: 9.402 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.468, allocations: 11.97 kB / 451.6 MB, free: 9.391 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.293e-05/0.468, allocations: 7.906 kB / 451.6 MB, free: 9.383 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.4684, allocations: 210.8 kB / 451.8 MB, free: 9.137 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.4684, allocations: 4 kB / 451.8 MB, free: 9.133 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.4685, allocations: 4 kB / 451.8 MB, free: 9.129 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.4686, allocations: 53.67 kB / 451.9 MB, free: 9.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.4687, allocations: 0 / 451.9 MB, free: 9.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.4687, allocations: 3.953 kB / 451.9 MB, free: 9.066 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.271e-06/0.4687, allocations: 12.83 kB / 451.9 MB, free: 9.055 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.152e-05/0.4688, allocations: 23.98 kB / 451.9 MB, free: 9.031 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004926/0.4693, allocations: 308.8 kB / 452.2 MB, free: 8.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.4695, allocations: 58.69 kB / 452.3 MB, free: 8.613 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.085e-05/0.4696, allocations: 16.98 kB / 452.3 MB, free: 8.594 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.4696, allocations: 15.92 kB / 452.3 MB, free: 8.578 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001636/0.4698, allocations: 67.34 kB / 452.4 MB, free: 8.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.086e-06/0.4698, allocations: 0 / 452.4 MB, free: 8.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005919/0.4704, allocations: 161.3 kB / 452.5 MB, free: 8.336 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.4705, allocations: 64.38 kB / 452.6 MB, free: 8.262 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.4707, allocations: 178.5 kB / 452.8 MB, free: 8.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.4708, allocations: 29.7 kB / 452.8 MB, free: 8.035 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.4709, allocations: 162.6 kB / 453 MB, free: 7.875 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.847e-05/0.4709, allocations: 27.59 kB / 453 MB, free: 7.848 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.321e-05/0.471, allocations: 8 kB / 453 MB, free: 7.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.4711, allocations: 314.8 kB / 453.3 MB, free: 7.523 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.4712, allocations: 36 kB / 453.3 MB, free: 7.488 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.4714, allocations: 49.7 kB / 453.4 MB, free: 7.434 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.4715, allocations: 69.69 kB / 453.5 MB, free: 7.359 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.306e-06/0.4715, allocations: 4 kB / 453.5 MB, free: 7.355 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003906/0.4719, allocations: 172.6 kB / 453.6 MB, free: 7.176 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.229e-05/0.472, allocations: 37.69 kB / 453.7 MB, free: 7.133 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.795e-06/0.472, allocations: 0 / 453.7 MB, free: 7.133 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.4721, allocations: 4 kB / 453.7 MB, free: 7.129 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.4722, allocations: 19.98 kB / 453.7 MB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.4722, allocations: 0 / 453.7 MB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.938e-05/0.4723, allocations: 4 kB / 453.7 MB, free: 7.105 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.4724, allocations: 8 kB / 453.7 MB, free: 7.098 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.0001093/0.4725, allocations: 118.5 kB / 453.8 MB, free: 6.977 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/0.4725, allocations: 11.86 kB / 453.8 MB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003255/0.4729, allocations: 127.1 kB / 454 MB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.365e-06/0.4729, allocations: 4 kB / 454 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.44e-06/0.4729, allocations: 0 / 454 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.4729, allocations: 0 / 454 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006394/0.4736, allocations: 411.3 kB / 454.4 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.478e-06/0.4736, allocations: 4.031 kB / 454.4 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-05/0.4737, allocations: 11.98 kB / 454.4 MB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.927e-06/0.4737, allocations: 0 / 454.4 MB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.4737, allocations: 4 kB / 454.4 MB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.111e-06/0.4737, allocations: 0 / 454.4 MB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.128e-06/0.4737, allocations: 0 / 454.4 MB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003161/0.4741, allocations: 221.9 kB / 454.6 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.4742, allocations: 100.9 kB / 454.7 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/0.4743, allocations: 8 kB / 454.7 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.4744, allocations: 8.172 kB / 454.7 MB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/0.4745, allocations: 8 kB / 454.7 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.4745, allocations: 3.938 kB / 454.7 MB, free: 5.965 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001798/0.4747, allocations: 144 kB / 454.9 MB, free: 5.824 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.74e-07/0.4747, allocations: 0 / 454.9 MB, free: 5.824 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004111/0.4751, allocations: 47.92 kB / 454.9 MB, free: 5.777 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.001451/0.4766, allocations: 429.3 kB / 455.3 MB, free: 5.441 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003567/0.477, allocations: 163.3 kB / 455.5 MB, free: 5.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.248e-06/0.477, allocations: 0 / 455.5 MB, free: 5.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.001e-05/0.4771, allocations: 32.12 kB / 455.5 MB, free: 5.238 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.4774, allocations: 23.88 kB / 455.5 MB, free: 5.215 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005294/0.478, allocations: 212.3 kB / 455.7 MB, free: 4.977 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.4784, allocations: 0.7082 MB / 456.5 MB, free: 4.242 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.839e-05/0.4784, allocations: 15.44 kB / 456.5 MB, free: 4.23 MB / 378.7 MB Notification: Performance of SimCode: time 1.615e-06/0.4785, allocations: 0 / 456.5 MB, free: 4.23 MB / 378.7 MB Notification: Performance of Templates: time 0.004787/0.4833, allocations: 1.96 MB / 458.4 MB, free: 2.273 MB / 378.7 MB