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.Test25.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.Test25,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.Test25") Notification: Performance of loadModel(ModelicaTest): time 2.132/2.132, allocations: 235 MB / 248.1 MB, free: 14.58 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.281e-05/3.302e-05, allocations: 4 kB / 309.7 MB, free: 1.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3166, allocations: 54.85 MB / 364.5 MB, free: 5.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1253/0.442, allocations: 82.06 MB / 446.6 MB, free: 14.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.4423, allocations: 68.61 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.02007/0.4624, allocations: 4.594 MB / 451.3 MB, free: 9.785 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.777e-06/0.4624, allocations: 0 / 451.3 MB, free: 9.785 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.117e-05/0.4624, allocations: 5.5 kB / 451.3 MB, free: 9.781 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.000615/0.4631, allocations: 473.4 kB / 451.7 MB, free: 9.262 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.4631, allocations: 11.97 kB / 451.8 MB, free: 9.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.301e-05/0.4632, allocations: 11.91 kB / 451.8 MB, free: 9.238 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.4635, allocations: 202.9 kB / 452 MB, free: 9 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.4636, allocations: 4 kB / 452 MB, free: 8.996 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/0.4636, allocations: 12 kB / 452 MB, free: 8.984 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.4638, allocations: 61.61 kB / 452 MB, free: 8.918 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.4638, allocations: 0 / 452 MB, free: 8.918 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.4638, allocations: 3.953 kB / 452 MB, free: 8.914 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.454e-06/0.4639, allocations: 0 / 452 MB, free: 8.914 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.629e-05/0.4639, allocations: 19.98 kB / 452.1 MB, free: 8.895 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000507/0.4645, allocations: 312.8 kB / 452.4 MB, free: 8.539 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.4646, allocations: 62.62 kB / 452.4 MB, free: 8.469 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.117e-05/0.4647, allocations: 20.98 kB / 452.4 MB, free: 8.445 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.4648, allocations: 0 / 452.4 MB, free: 8.445 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.4649, allocations: 68.12 kB / 452.5 MB, free: 8.367 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.631e-06/0.4649, allocations: 4 kB / 452.5 MB, free: 8.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005761/0.4655, allocations: 169.1 kB / 452.7 MB, free: 8.191 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.4656, allocations: 59.39 kB / 452.7 MB, free: 8.121 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.4659, allocations: 170.5 kB / 452.9 MB, free: 7.938 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/0.4659, allocations: 33.7 kB / 452.9 MB, free: 7.898 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.466, allocations: 162.6 kB / 453.1 MB, free: 7.738 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.4661, allocations: 29.05 kB / 453.1 MB, free: 7.711 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.242e-06/0.4661, allocations: 3.938 kB / 453.1 MB, free: 7.707 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.4663, allocations: 318.8 kB / 453.4 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.4664, allocations: 36 kB / 453.5 MB, free: 7.352 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.4665, allocations: 61.02 kB / 453.5 MB, free: 7.289 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.4667, allocations: 69.67 kB / 453.6 MB, free: 7.215 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.4667, allocations: 0 / 453.6 MB, free: 7.215 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000364/0.4671, allocations: 175.2 kB / 453.8 MB, free: 7.031 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.883e-05/0.4671, allocations: 35.09 kB / 453.8 MB, free: 6.992 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.593e-06/0.4672, allocations: 4 kB / 453.8 MB, free: 6.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.4672, allocations: 0 / 453.8 MB, free: 6.988 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.4673, allocations: 12 kB / 453.8 MB, free: 6.977 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.4673, allocations: 8.031 kB / 453.8 MB, free: 6.969 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.896e-05/0.4674, allocations: 11.98 kB / 453.8 MB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.4675, allocations: 4.094 kB / 453.9 MB, free: 6.953 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 9.674e-05/0.4676, allocations: 108.9 kB / 454 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.4676, allocations: 15.86 kB / 454 MB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000307/0.468, allocations: 123 kB / 454.1 MB, free: 6.699 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.933e-06/0.468, allocations: 0 / 454.1 MB, free: 6.699 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.468, allocations: 0 / 454.1 MB, free: 6.699 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.468, allocations: 4.188 kB / 454.1 MB, free: 6.695 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006318/0.4686, allocations: 419.3 kB / 454.5 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.81e-06/0.4687, allocations: 0 / 454.5 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.188e-05/0.4687, allocations: 11.94 kB / 454.5 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.871e-06/0.4688, allocations: 4 kB / 454.5 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.4688, allocations: 0 / 454.5 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.997e-06/0.4688, allocations: 3.984 kB / 454.5 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.28e-06/0.4688, allocations: 4 kB / 454.5 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003093/0.4691, allocations: 221.9 kB / 454.7 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.4693, allocations: 100.9 kB / 454.8 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.125e-05/0.4693, allocations: 0 / 454.8 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.4694, allocations: 8 kB / 454.9 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.4695, allocations: 7.984 kB / 454.9 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.4695, allocations: 4 kB / 454.9 MB, free: 5.824 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001751/0.4697, allocations: 147.9 kB / 455 MB, free: 5.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.5e-07/0.4697, allocations: 4 kB / 455 MB, free: 5.676 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000395/0.4701, allocations: 39.94 kB / 455.1 MB, free: 5.637 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.001442/0.4716, allocations: 424.8 kB / 455.5 MB, free: 5.301 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003441/0.472, allocations: 159.3 kB / 455.6 MB, free: 5.133 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.12e-06/0.472, allocations: 4.062 kB / 455.6 MB, free: 5.129 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.192e-05/0.4721, allocations: 35.92 kB / 455.7 MB, free: 5.094 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.4724, allocations: 19.94 kB / 455.7 MB, free: 5.074 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000517/0.4729, allocations: 205.6 kB / 455.9 MB, free: 4.844 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.4734, allocations: 0.7122 MB / 456.6 MB, free: 4.105 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.273e-05/0.4734, allocations: 15.44 kB / 456.6 MB, free: 4.094 MB / 378.7 MB Notification: Performance of SimCode: time 4.773e-06/0.4734, allocations: 0 / 456.6 MB, free: 4.094 MB / 378.7 MB Notification: Performance of Templates: time 0.004758/0.4782, allocations: 1.952 MB / 458.6 MB, free: 2.145 MB / 378.7 MB