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.Test2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,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.Test2") Notification: Performance of loadModel(ModelicaTest): time 2.347/2.347, allocations: 235.1 MB / 243 MB, free: 9.5 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.274e-05/2.282e-05, allocations: 4 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2879, allocations: 54.86 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1997/0.4876, allocations: 81.35 MB / 439.4 MB, free: 13.48 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.4879, allocations: 71.95 kB / 439.5 MB, free: 13.41 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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/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/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.01863/0.5065, allocations: 4.329 MB / 443.8 MB, free: 9.078 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.617e-06/0.5066, allocations: 0 / 443.8 MB, free: 9.078 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.5066, allocations: 0 / 443.8 MB, free: 9.078 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.0005841/0.5072, allocations: 453.6 kB / 444.2 MB, free: 8.578 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.5072, allocations: 8.031 kB / 444.2 MB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.345e-05/0.5073, allocations: 15.81 kB / 444.3 MB, free: 8.555 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.5076, allocations: 204.6 kB / 444.5 MB, free: 8.316 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.5077, allocations: 0 / 444.5 MB, free: 8.316 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.5077, allocations: 4 kB / 444.5 MB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.966e-05/0.5078, allocations: 19.98 kB / 444.5 MB, free: 8.293 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.508, allocations: 69.5 kB / 444.6 MB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.508, allocations: 0 / 444.6 MB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.508, allocations: 0 / 444.6 MB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.508, allocations: 0 / 444.6 MB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004594/0.5085, allocations: 293.3 kB / 444.8 MB, free: 7.895 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.5086, allocations: 46.69 kB / 444.9 MB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.965e-05/0.5087, allocations: 20.97 kB / 444.9 MB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.5087, allocations: 11.95 kB / 444.9 MB, free: 7.805 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/0.5089, allocations: 63.33 kB / 445 MB, free: 7.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.719e-06/0.5089, allocations: 4 kB / 445 MB, free: 7.727 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005396/0.5095, allocations: 141.4 kB / 445.1 MB, free: 7.582 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.5096, allocations: 55.41 kB / 445.2 MB, free: 7.516 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.5097, allocations: 144.6 kB / 445.3 MB, free: 7.367 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.5098, allocations: 33.7 kB / 445.3 MB, free: 7.328 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.934e-05/0.5099, allocations: 158.5 kB / 445.5 MB, free: 7.172 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/0.5099, allocations: 27.64 kB / 445.5 MB, free: 7.145 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.065e-05/0.51, allocations: 4 kB / 445.5 MB, free: 7.141 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.5101, allocations: 311.5 kB / 445.8 MB, free: 6.828 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.673e-05/0.5102, allocations: 36 kB / 445.9 MB, free: 6.793 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.5104, allocations: 53.64 kB / 445.9 MB, free: 6.734 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.5105, allocations: 35.98 kB / 446 MB, free: 6.699 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.998e-06/0.5105, allocations: 0 / 446 MB, free: 6.699 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003231/0.5108, allocations: 133.6 kB / 446.1 MB, free: 6.562 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.957e-05/0.5109, allocations: 37.69 kB / 446.1 MB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.673e-06/0.5109, allocations: 0 / 446.1 MB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.5109, allocations: 4.031 kB / 446.1 MB, free: 6.516 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.5111, allocations: 15.98 kB / 446.1 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.775e-06/0.5111, allocations: 4 kB / 446.2 MB, free: 6.496 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.034e-05/0.5112, allocations: 4 kB / 446.2 MB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.5112, allocations: 7.938 kB / 446.2 MB, free: 6.484 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.0001108/0.5113, allocations: 112.9 kB / 446.3 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/0.5114, allocations: 15.77 kB / 446.3 MB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002945/0.5117, allocations: 106.3 kB / 446.4 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.431e-06/0.5117, allocations: 8 kB / 446.4 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.939e-06/0.5117, allocations: 0 / 446.4 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.959e-06/0.5117, allocations: 192 / 446.4 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005732/0.5123, allocations: 367.9 kB / 446.8 MB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.654e-06/0.5123, allocations: 7.891 kB / 446.8 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.529e-05/0.5124, allocations: 11.94 kB / 446.8 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.5124, allocations: 0 / 446.8 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.5125, allocations: 4 kB / 446.8 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.753e-06/0.5125, allocations: 0 / 446.8 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.932e-06/0.5125, allocations: 4.219 kB / 446.8 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.5128, allocations: 213.9 kB / 447 MB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.5129, allocations: 101 kB / 447.1 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.513, allocations: 4 kB / 447.1 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.5131, allocations: 4 kB / 447.1 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.5131, allocations: 11.98 kB / 447.1 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.5132, allocations: 4 kB / 447.1 MB, free: 5.422 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001226/0.5133, allocations: 113.9 kB / 447.2 MB, free: 5.312 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.25e-07/0.5133, allocations: 0 / 447.2 MB, free: 5.312 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003951/0.5137, allocations: 39.84 kB / 447.3 MB, free: 5.273 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.001269/0.515, allocations: 381.9 kB / 447.6 MB, free: 4.953 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003143/0.5153, allocations: 151.3 kB / 447.8 MB, free: 4.793 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.204e-06/0.5154, allocations: 0 / 447.8 MB, free: 4.793 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.303e-05/0.5154, allocations: 35.92 kB / 447.8 MB, free: 4.758 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.5158, allocations: 20.55 kB / 447.8 MB, free: 4.738 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004461/0.5162, allocations: 168.3 kB / 448 MB, free: 4.535 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.5167, allocations: 0.7118 MB / 448.7 MB, free: 3.797 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.044e-05/0.5167, allocations: 15.44 kB / 448.7 MB, free: 3.785 MB / 378.7 MB Notification: Performance of SimCode: time 1.534e-06/0.5167, allocations: 0 / 448.7 MB, free: 3.785 MB / 378.7 MB Notification: Performance of Templates: time 0.004713/0.5215, allocations: 1.858 MB / 450.6 MB, free: 1.926 MB / 378.7 MB