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/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.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.208/2.208, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.286e-05/3.312e-05, allocations: 4 kB / 309.7 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3207, allocations: 54.86 MB / 364.5 MB, free: 5.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1284/0.4492, allocations: 82.02 MB / 446.6 MB, free: 14.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/0.4495, 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.0192/0.4687, allocations: 4.375 MB / 451 MB, free: 10.03 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.772e-06/0.4687, allocations: 0.8438 kB / 451 MB, free: 10.03 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.4688, allocations: 0 / 451 MB, free: 10.03 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.0005944/0.4694, allocations: 441.7 kB / 451.4 MB, free: 9.543 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.4694, allocations: 11.97 kB / 451.5 MB, free: 9.531 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.137e-05/0.4695, allocations: 11.91 kB / 451.5 MB, free: 9.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003359/0.4698, allocations: 202.9 kB / 451.7 MB, free: 9.281 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.4699, allocations: 8 kB / 451.7 MB, free: 9.273 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.4699, allocations: 4 kB / 451.7 MB, free: 9.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.4701, allocations: 61.62 kB / 451.7 MB, free: 9.203 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.4701, allocations: 0.8438 kB / 451.7 MB, free: 9.203 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.4701, allocations: 4 kB / 451.7 MB, free: 9.199 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.423e-06/0.4702, allocations: 0 / 451.7 MB, free: 9.199 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.209e-05/0.4702, allocations: 19.94 kB / 451.8 MB, free: 9.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004954/0.4707, allocations: 308.8 kB / 452.1 MB, free: 8.828 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.4709, allocations: 62.64 kB / 452.1 MB, free: 8.758 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.092e-05/0.471, allocations: 20.98 kB / 452.1 MB, free: 8.734 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.471, allocations: 0 / 452.1 MB, free: 8.734 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001594/0.4712, allocations: 67.33 kB / 452.2 MB, free: 8.656 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.742e-06/0.4712, allocations: 5.031 kB / 452.2 MB, free: 8.652 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000587/0.4718, allocations: 153.4 kB / 452.4 MB, free: 8.496 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.4719, allocations: 59.41 kB / 452.4 MB, free: 8.426 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.4721, allocations: 151.6 kB / 452.6 MB, free: 8.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.4722, allocations: 25.7 kB / 452.6 MB, free: 8.238 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.467e-05/0.4723, allocations: 158.6 kB / 452.8 MB, free: 8.082 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.456e-05/0.4723, allocations: 31.62 kB / 452.8 MB, free: 8.051 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.34e-05/0.4724, allocations: 8 kB / 452.8 MB, free: 8.043 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.4725, allocations: 310.8 kB / 453.1 MB, free: 7.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.4726, allocations: 43.98 kB / 453.1 MB, free: 7.688 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.4728, allocations: 45.72 kB / 453.2 MB, free: 7.637 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.4729, allocations: 75.08 kB / 453.3 MB, free: 7.559 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.347e-06/0.473, allocations: 3.953 kB / 453.3 MB, free: 7.555 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003802/0.4733, allocations: 171.2 kB / 453.4 MB, free: 7.375 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.731e-05/0.4734, allocations: 33.7 kB / 453.5 MB, free: 7.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.027e-06/0.4734, allocations: 0 / 453.5 MB, free: 7.336 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.4735, allocations: 3.984 kB / 453.5 MB, free: 7.332 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.4736, allocations: 24.03 kB / 453.5 MB, free: 7.309 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.202e-06/0.4736, allocations: 0 / 453.5 MB, free: 7.309 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.056e-05/0.4737, allocations: 7.938 kB / 453.5 MB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.4737, allocations: 7.984 kB / 453.5 MB, free: 7.293 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.0001084/0.4739, allocations: 114.5 kB / 453.6 MB, free: 7.176 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/0.4739, allocations: 11.86 kB / 453.6 MB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003135/0.4742, allocations: 118.2 kB / 453.7 MB, free: 7.047 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.4743, allocations: 0 / 453.7 MB, free: 7.047 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.785e-06/0.4743, allocations: 4.188 kB / 453.7 MB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.233e-06/0.4743, allocations: 4 kB / 453.8 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006315/0.4749, allocations: 399.3 kB / 454.1 MB, free: 6.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.314e-06/0.475, allocations: 3.938 kB / 454.1 MB, free: 6.586 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.798e-05/0.475, allocations: 12 kB / 454.2 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.471e-06/0.475, allocations: 3.984 kB / 454.2 MB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.4751, allocations: 4 kB / 454.2 MB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.531e-06/0.4751, allocations: 4 kB / 454.2 MB, free: 6.562 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.582e-06/0.4751, allocations: 3.984 kB / 454.2 MB, free: 6.559 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003195/0.4754, allocations: 225.8 kB / 454.4 MB, free: 6.312 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-05/0.4755, allocations: 89 kB / 454.5 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.4756, allocations: 8 kB / 454.5 MB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.4757, allocations: 0 / 454.5 MB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.4758, allocations: 7.984 kB / 454.5 MB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.4758, allocations: 8 kB / 454.5 MB, free: 6.184 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000135/0.4759, allocations: 118.6 kB / 454.6 MB, free: 6.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.85e-07/0.476, allocations: 3.938 kB / 454.6 MB, free: 6.066 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003844/0.4763, allocations: 39.92 kB / 454.7 MB, free: 6.027 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.001461/0.4778, allocations: 425.5 kB / 455.1 MB, free: 5.688 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00035/0.4782, allocations: 171.3 kB / 455.2 MB, free: 5.508 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.342e-06/0.4782, allocations: 3.938 kB / 455.2 MB, free: 5.504 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.058e-05/0.4783, allocations: 31.94 kB / 455.3 MB, free: 5.473 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.4786, allocations: 19.94 kB / 455.3 MB, free: 5.453 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004477/0.4791, allocations: 168.1 kB / 455.5 MB, free: 5.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.4795, allocations: 0.7084 MB / 456.2 MB, free: 4.516 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.475e-05/0.4796, allocations: 19.44 kB / 456.2 MB, free: 4.496 MB / 378.7 MB Notification: Performance of SimCode: time 1.624e-06/0.4796, allocations: 0 / 456.2 MB, free: 4.496 MB / 378.7 MB Notification: Performance of Templates: time 0.004647/0.4843, allocations: 1.859 MB / 458 MB, free: 2.641 MB / 378.7 MB