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.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadModel(ModelicaTest): time 2.113/2.113, allocations: 209.2 MB / 224.8 MB, free: 204 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004607/0.0004609, allocations: 12 kB / 282.6 MB, free: 9.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2877, allocations: 48.7 MB / 331.3 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1621/0.4498, allocations: 75.71 MB / 407 MB, free: 2.723 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.4501, allocations: 71.97 kB / 407.1 MB, free: 2.652 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01686/0.467, allocations: 4.154 MB / 411.2 MB, free: 14.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.579e-06/0.467, allocations: 0 / 411.2 MB, free: 14.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.467, allocations: 0 / 411.2 MB, free: 14.5 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005839/0.4676, allocations: 440.5 kB / 411.6 MB, free: 14.02 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.4677, allocations: 8.031 kB / 411.7 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.848e-05/0.4677, allocations: 15.81 kB / 411.7 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.4681, allocations: 214.8 kB / 411.9 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.4681, allocations: 4 kB / 411.9 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.4681, allocations: 4 kB / 411.9 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.4683, allocations: 37.69 kB / 411.9 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.443e-06/0.4683, allocations: 0 / 411.9 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.4683, allocations: 0 / 411.9 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.52e-06/0.4683, allocations: 0 / 411.9 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.718e-05/0.4684, allocations: 15.98 kB / 411.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002508/0.4686, allocations: 189.6 kB / 412.1 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.966e-05/0.4687, allocations: 38.5 kB / 412.2 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.4688, allocations: 4.062 kB / 412.2 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001348/0.4689, allocations: 59.33 kB / 412.2 MB, free: 13.32 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 7.649e-06/0.4689, allocations: 3.984 kB / 412.2 MB, free: 13.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002563/0.4692, allocations: 73.44 kB / 412.3 MB, free: 13.24 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.4693, allocations: 55.39 kB / 412.4 MB, free: 13.17 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003317/0.4696, allocations: 218.7 kB / 412.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.4697, allocations: 25.7 kB / 412.6 MB, free: 12.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.4698, allocations: 174.6 kB / 412.8 MB, free: 12.74 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.4698, allocations: 3.906 kB / 412.8 MB, free: 12.74 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.416e-06/0.4698, allocations: 4 kB / 412.8 MB, free: 12.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.47, allocations: 318.8 kB / 413.1 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.656e-05/0.4701, allocations: 12 kB / 413.1 MB, free: 12.4 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.163e-05/0.4702, allocations: 27.97 kB / 413.1 MB, free: 12.38 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.517e-05/0.4703, allocations: 45.7 kB / 413.2 MB, free: 12.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.158e-06/0.4703, allocations: 3.953 kB / 413.2 MB, free: 12.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000232/0.4705, allocations: 107.4 kB / 413.3 MB, free: 12.2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.352e-05/0.4706, allocations: 37.7 kB / 413.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.4706, allocations: 4 kB / 413.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.4706, allocations: 0 / 413.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.212e-05/0.4707, allocations: 7.938 kB / 413.3 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.997e-06/0.4707, allocations: 3.984 kB / 413.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.365e-05/0.4708, allocations: 15.78 kB / 413.3 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.4708, allocations: 4 kB / 413.3 MB, free: 12.12 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 (5): * Single equations (assignments): 4 * 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.0001441/0.471, allocations: 125.8 kB / 413.5 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.439e-05/0.471, allocations: 19.86 kB / 413.5 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002065/0.4713, allocations: 74.61 kB / 413.6 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.886e-06/0.4713, allocations: 0 / 413.6 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.4713, allocations: 0 / 413.6 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.031e-06/0.4713, allocations: 0 / 413.6 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.4715, allocations: 193.6 kB / 413.8 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.4715, allocations: 7.922 kB / 413.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.761e-05/0.4716, allocations: 7.953 kB / 413.8 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.8e-06/0.4716, allocations: 0 / 413.8 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.4716, allocations: 4 kB / 413.8 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.58e-06/0.4716, allocations: 4 kB / 413.8 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4717, allocations: 4.125 kB / 413.8 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/0.4719, allocations: 92.92 kB / 413.9 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.58e-05/0.472, allocations: 96.95 kB / 414 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/0.472, allocations: 11.95 kB / 414 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.437e-05/0.4721, allocations: 0 / 414 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.4721, allocations: 7.984 kB / 414 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.619e-06/0.4722, allocations: 0 / 414 MB, free: 11.38 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002644/0.4724, allocations: 189.1 kB / 414.2 MB, free: 11.2 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.51e-07/0.4724, allocations: 0 / 414.2 MB, free: 11.2 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003254/0.4728, allocations: 31.94 kB / 414.2 MB, free: 11.16 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 (4): * Single equations (assignments): 3 * 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.001055/0.4738, allocations: 329 kB / 414.5 MB, free: 10.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002367/0.4741, allocations: 99.39 kB / 414.6 MB, free: 10.8 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4741, allocations: 0 / 414.6 MB, free: 10.8 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.522e-05/0.4742, allocations: 15.98 kB / 414.6 MB, free: 10.79 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.4745, allocations: 16.28 kB / 414.6 MB, free: 10.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006203/0.4751, allocations: 295.6 kB / 414.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.4755, allocations: 0.716 MB / 415.7 MB, free: 9.711 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.942e-05/0.4756, allocations: 11.44 kB / 415.7 MB, free: 9.699 MB / 346.7 MB Notification: Performance of SimCode: time 3.906e-06/0.4756, allocations: 0 / 415.7 MB, free: 9.699 MB / 346.7 MB Notification: Performance of Templates: time 0.006366/0.482, allocations: 1.715 MB / 417.4 MB, free: 7.988 MB / 346.7 MB