Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadModel(ModelicaTest): time 1.867/1.867, allocations: 209.3 MB / 224.9 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004403/0.0004405, allocations: 15.98 kB / 282.6 MB, free: 9.574 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3183, allocations: 48.69 MB / 331.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1261/0.4445, allocations: 75.86 MB / 407.1 MB, free: 2.547 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.4447, allocations: 75.95 kB / 407.2 MB, free: 2.473 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01714/0.4619, allocations: 4.086 MB / 411.3 MB, free: 14.39 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.852e-06/0.4619, allocations: 0 / 411.3 MB, free: 14.39 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.462, allocations: 0 / 411.3 MB, free: 14.39 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005824/0.4626, allocations: 436.6 kB / 411.7 MB, free: 13.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.4626, allocations: 8.031 kB / 411.7 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.951e-05/0.4627, allocations: 7.906 kB / 411.7 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.463, allocations: 211.4 kB / 412 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.463, allocations: 4 kB / 412 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.463, allocations: 0 / 412 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.4632, allocations: 49.67 kB / 412 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.4632, allocations: 4 kB / 412 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.4632, allocations: 0 / 412 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.981e-06/0.4632, allocations: 0 / 412 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.322e-05/0.4633, allocations: 19.92 kB / 412 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004696/0.4638, allocations: 296.8 kB / 412.3 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.464, allocations: 46.55 kB / 412.4 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.4641, allocations: 0 / 412.4 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001364/0.4642, allocations: 59.44 kB / 412.4 MB, free: 13.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.27e-06/0.4642, allocations: 0 / 412.4 MB, free: 13.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.000479/0.4647, allocations: 117.4 kB / 412.5 MB, free: 12.97 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.4648, allocations: 59.34 kB / 412.6 MB, free: 12.9 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.465, allocations: 165.6 kB / 412.8 MB, free: 12.73 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.4651, allocations: 25.7 kB / 412.8 MB, free: 12.7 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.4652, allocations: 174.5 kB / 413 MB, free: 12.53 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.4652, allocations: 11.81 kB / 413 MB, free: 12.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.462e-06/0.4652, allocations: 4 kB / 413 MB, free: 12.51 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.4654, allocations: 314.8 kB / 413.3 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.586e-05/0.4655, allocations: 27.92 kB / 413.3 MB, free: 12.17 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.233e-05/0.4656, allocations: 27.98 kB / 413.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.902e-05/0.4657, allocations: 49.7 kB / 413.4 MB, free: 12.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.917e-06/0.4657, allocations: 4.094 kB / 413.4 MB, free: 12.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002655/0.466, allocations: 131.2 kB / 413.5 MB, free: 11.94 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.59e-05/0.4661, allocations: 34.33 kB / 413.5 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.997e-06/0.4661, allocations: 0 / 413.5 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.4661, allocations: 0 / 413.5 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.759e-05/0.4662, allocations: 11.98 kB / 413.6 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.4662, allocations: 0 / 413.6 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.55e-05/0.4663, allocations: 8 kB / 413.6 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.4663, allocations: 8 kB / 413.6 MB, free: 11.88 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001327/0.4664, allocations: 125.8 kB / 413.7 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.4665, allocations: 7.906 kB / 413.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002474/0.4667, allocations: 89.92 kB / 413.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.611e-06/0.4668, allocations: 4 kB / 413.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.054e-06/0.4668, allocations: 0 / 413.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.253e-06/0.4668, allocations: 0 / 413.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004974/0.4673, allocations: 366.5 kB / 414.2 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.031e-06/0.4673, allocations: 0 / 414.2 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.654e-05/0.4674, allocations: 8.281 kB / 414.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.562e-06/0.4674, allocations: 0 / 414.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.754e-06/0.4674, allocations: 0 / 414.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.328e-06/0.4674, allocations: 0 / 414.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.767e-06/0.4674, allocations: 192 / 414.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.4677, allocations: 183.4 kB / 414.3 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.302e-05/0.4678, allocations: 93.02 kB / 414.4 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.4678, allocations: 4 kB / 414.4 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.97e-05/0.4679, allocations: 0 / 414.4 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/0.468, allocations: 7.984 kB / 414.4 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.468, allocations: 4 kB / 414.4 MB, free: 10.89 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000168/0.4682, allocations: 142.5 kB / 414.6 MB, free: 10.76 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.87e-07/0.4682, allocations: 3.938 kB / 414.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003848/0.4686, allocations: 47.8 kB / 414.6 MB, free: 10.71 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001196/0.4698, allocations: 371.9 kB / 415 MB, free: 10.42 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002466/0.4701, allocations: 107.4 kB / 415.1 MB, free: 10.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.341e-06/0.4701, allocations: 0 / 415.1 MB, free: 10.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.894e-05/0.4702, allocations: 23.92 kB / 415.1 MB, free: 10.28 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.4705, allocations: 15.98 kB / 415.1 MB, free: 10.26 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006128/0.4711, allocations: 247.2 kB / 415.4 MB, free: 9.984 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.4715, allocations: 0.711 MB / 416.1 MB, free: 9.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.006e-05/0.4716, allocations: 11.44 kB / 416.1 MB, free: 9.238 MB / 346.7 MB Notification: Performance of SimCode: time 1.468e-06/0.4716, allocations: 0 / 416.1 MB, free: 9.238 MB / 346.7 MB Notification: Performance of Templates: time 0.004388/0.476, allocations: 1.748 MB / 417.9 MB, free: 7.496 MB / 346.7 MB