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.Test6.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.Test6,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.Test6") Notification: Performance of loadModel(ModelicaTest): time 1.864/1.864, allocations: 209.3 MB / 224.9 MB, free: 1.203 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004385/0.0004387, allocations: 16 kB / 282.6 MB, free: 9.699 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08873/0.08919, allocations: 48.7 MB / 331.3 MB, free: 8.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3503/0.4395, allocations: 75.87 MB / 407.2 MB, free: 9.145 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003939/0.44, allocations: 71.95 kB / 407.2 MB, free: 9.074 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03345/0.4735, allocations: 4.374 MB / 411.6 MB, free: 4.707 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.949e-06/0.4735, allocations: 0 / 411.6 MB, free: 4.707 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.186e-05/0.4736, allocations: 0 / 411.6 MB, free: 4.707 MB / 330.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.001077/0.4747, allocations: 460.3 kB / 412 MB, free: 4.203 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.603e-05/0.4748, allocations: 8.031 kB / 412.1 MB, free: 4.195 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.702e-05/0.4749, allocations: 11.91 kB / 412.1 MB, free: 4.184 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006097/0.4755, allocations: 219.6 kB / 412.3 MB, free: 3.926 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/0.4756, allocations: 4 kB / 412.3 MB, free: 3.922 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.78e-05/0.4756, allocations: 4 kB / 412.3 MB, free: 3.918 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.4759, allocations: 41.69 kB / 412.3 MB, free: 3.871 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.4759, allocations: 3.938 kB / 412.3 MB, free: 3.867 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.476, allocations: 4 kB / 412.3 MB, free: 3.863 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.097e-06/0.476, allocations: 0 / 412.3 MB, free: 3.863 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.4761, allocations: 15.98 kB / 412.4 MB, free: 3.848 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009122/0.4771, allocations: 308.9 kB / 412.7 MB, free: 3.496 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003968/0.4775, allocations: 46.56 kB / 412.7 MB, free: 3.441 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.4776, allocations: 0 / 412.7 MB, free: 3.441 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000245/0.4778, allocations: 63.42 kB / 412.8 MB, free: 3.367 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 4.272e-06/0.4779, allocations: 0 / 412.8 MB, free: 3.367 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008932/0.4788, allocations: 129.1 kB / 412.9 MB, free: 3.234 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.049e-05/0.4789, allocations: 59.3 kB / 412.9 MB, free: 3.164 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007579/0.4797, allocations: 237.4 kB / 413.2 MB, free: 2.926 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.617e-05/0.4798, allocations: 29.7 kB / 413.2 MB, free: 2.891 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.48, allocations: 166.6 kB / 413.4 MB, free: 2.727 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.49e-05/0.4801, allocations: 23.73 kB / 413.4 MB, free: 2.703 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.437e-05/0.4801, allocations: 0 / 413.4 MB, free: 2.703 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002774/0.4804, allocations: 314.8 kB / 413.7 MB, free: 2.387 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.4806, allocations: 23.97 kB / 413.7 MB, free: 2.363 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.4808, allocations: 31.92 kB / 413.8 MB, free: 2.332 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.481, allocations: 53.69 kB / 413.8 MB, free: 2.273 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.481, allocations: 4 kB / 413.8 MB, free: 2.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000549/0.4816, allocations: 123.3 kB / 413.9 MB, free: 2.137 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.79e-05/0.4817, allocations: 33.69 kB / 414 MB, free: 2.098 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.954e-06/0.4817, allocations: 0 / 414 MB, free: 2.098 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.4818, allocations: 4.281 kB / 414 MB, free: 2.094 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.4819, allocations: 12.06 kB / 414 MB, free: 2.082 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.482, allocations: 4 kB / 414 MB, free: 2.078 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.4821, allocations: 7.953 kB / 414 MB, free: 2.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.418e-05/0.4822, allocations: 3.984 kB / 414 MB, free: 2.066 MB / 330.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.000298/0.4825, allocations: 145.8 kB / 414.1 MB, free: 1.914 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.084e-05/0.4826, allocations: 15.81 kB / 414.2 MB, free: 1.898 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005025/0.4831, allocations: 90.67 kB / 414.2 MB, free: 1.805 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.239e-06/0.4832, allocations: 0 / 414.2 MB, free: 1.805 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.906e-06/0.4832, allocations: 0 / 414.2 MB, free: 1.805 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.115e-06/0.4832, allocations: 0 / 414.2 MB, free: 1.805 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.4843, allocations: 386.4 kB / 414.6 MB, free: 1.371 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.499e-06/0.4844, allocations: 0 / 414.6 MB, free: 1.371 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.665e-05/0.4845, allocations: 12.08 kB / 414.6 MB, free: 1.359 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.285e-05/0.4847, allocations: 7.938 kB / 414.6 MB, free: 1.352 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/0.4847, allocations: 0 / 414.6 MB, free: 1.352 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.816e-06/0.4847, allocations: 0 / 414.6 MB, free: 1.352 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.317e-05/0.4848, allocations: 3.953 kB / 414.6 MB, free: 1.348 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005047/0.4853, allocations: 175.4 kB / 414.8 MB, free: 1.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001957/0.4855, allocations: 104.8 kB / 414.9 MB, free: 1.039 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.687e-05/0.4856, allocations: 0 / 414.9 MB, free: 1.039 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/0.4859, allocations: 8 kB / 414.9 MB, free: 1.031 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.501e-05/0.486, allocations: 7.984 kB / 414.9 MB, free: 1.023 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.486, allocations: 7.953 kB / 414.9 MB, free: 1.016 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005557/0.4866, allocations: 196.2 kB / 415.1 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.383e-06/0.4866, allocations: 0 / 415.1 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008608/0.4875, allocations: 43.94 kB / 415.2 MB, free: 0.7812 MB / 330.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.002306/0.4898, allocations: 377.5 kB / 415.5 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000488/0.4904, allocations: 115.4 kB / 415.7 MB, free: 376 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.771e-06/0.4904, allocations: 0 / 415.7 MB, free: 376 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.4906, allocations: 23.92 kB / 415.7 MB, free: 352 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006005/0.4912, allocations: 12.19 kB / 415.7 MB, free: 336 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.4926, allocations: 319.5 kB / 416 MB, free: 15.98 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007751/0.4934, allocations: 0.7199 MB / 416.7 MB, free: 15.24 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.4935, allocations: 19.44 kB / 416.7 MB, free: 15.22 MB / 346.7 MB Notification: Performance of SimCode: time 2.521e-06/0.4936, allocations: 0 / 416.7 MB, free: 15.22 MB / 346.7 MB Notification: Performance of Templates: time 0.009401/0.503, allocations: 1.953 MB / 418.7 MB, free: 13.27 MB / 346.7 MB