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.Test4.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.Test4,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.Test4") Notification: Performance of loadModel(ModelicaTest): time 2.022/2.022, allocations: 209.2 MB / 224.8 MB, free: 192 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004476/0.0004478, allocations: 12 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2906, allocations: 48.71 MB / 331.3 MB, free: 6.32 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1607/0.4514, allocations: 75.88 MB / 407.2 MB, free: 2.434 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.4517, allocations: 67.97 kB / 407.2 MB, free: 2.367 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01738/0.4691, allocations: 4.145 MB / 411.4 MB, free: 14.22 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4691, allocations: 0 / 411.4 MB, free: 14.22 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.4692, allocations: 4 kB / 411.4 MB, free: 14.21 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.0006497/0.4698, allocations: 444.5 kB / 411.8 MB, free: 13.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.4699, allocations: 8.031 kB / 411.8 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.309e-05/0.4699, allocations: 11.91 kB / 411.8 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.4702, allocations: 194.9 kB / 412 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.4703, allocations: 0 / 412 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.4703, allocations: 4 kB / 412 MB, free: 13.47 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.4705, allocations: 49.67 kB / 412.1 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.4705, allocations: 4 kB / 412.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.4705, allocations: 0 / 412.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.681e-06/0.4705, allocations: 0 / 412.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.996e-05/0.4706, allocations: 19.92 kB / 412.1 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005007/0.4711, allocations: 296.8 kB / 412.4 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.4714, allocations: 46.56 kB / 412.4 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.4714, allocations: 4 kB / 412.4 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001428/0.4716, allocations: 63.42 kB / 412.5 MB, free: 12.92 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.555e-06/0.4716, allocations: 0 / 412.5 MB, free: 12.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005057/0.4721, allocations: 121.6 kB / 412.6 MB, free: 12.8 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.4722, allocations: 51.41 kB / 412.7 MB, free: 12.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/0.4724, allocations: 182.2 kB / 412.8 MB, free: 12.55 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/0.4725, allocations: 29.7 kB / 412.9 MB, free: 12.52 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.4726, allocations: 166.6 kB / 413 MB, free: 12.35 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.4726, allocations: 19.73 kB / 413 MB, free: 12.33 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.308e-06/0.4727, allocations: 7.938 kB / 413.1 MB, free: 12.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.4728, allocations: 314.8 kB / 413.4 MB, free: 12.01 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.133e-05/0.4729, allocations: 23.98 kB / 413.4 MB, free: 11.98 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.662e-05/0.473, allocations: 23.98 kB / 413.4 MB, free: 11.96 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.4731, allocations: 61.72 kB / 413.5 MB, free: 11.89 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.838e-06/0.4731, allocations: 0 / 413.5 MB, free: 11.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002755/0.4734, allocations: 123.3 kB / 413.6 MB, free: 11.76 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.699e-05/0.4735, allocations: 34.31 kB / 413.6 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.4735, allocations: 4 kB / 413.6 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.4735, allocations: 4 kB / 413.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.565e-05/0.4736, allocations: 8 kB / 413.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.526e-06/0.4736, allocations: 0 / 413.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.59e-05/0.4737, allocations: 7.969 kB / 413.6 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/0.4738, allocations: 8 kB / 413.7 MB, free: 11.69 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.0001435/0.4739, allocations: 125.8 kB / 413.8 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.474, allocations: 7.906 kB / 413.8 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002732/0.4742, allocations: 101.8 kB / 413.9 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.4743, allocations: 4 kB / 413.9 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4743, allocations: 0 / 413.9 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.876e-06/0.4743, allocations: 0 / 413.9 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005228/0.4748, allocations: 362.5 kB / 414.2 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.503e-06/0.4749, allocations: 0 / 414.2 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.769e-05/0.4749, allocations: 7.938 kB / 414.3 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.524e-06/0.4749, allocations: 0 / 414.3 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.475, allocations: 4 kB / 414.3 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.74e-06/0.475, allocations: 4 kB / 414.3 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.475, allocations: 0 / 414.3 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.4752, allocations: 175.4 kB / 414.4 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.287e-05/0.4753, allocations: 93.02 kB / 414.5 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.4754, allocations: 256 / 414.5 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.4755, allocations: 4 kB / 414.5 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.4755, allocations: 7.984 kB / 414.5 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.4756, allocations: 4 kB / 414.5 MB, free: 10.71 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001964/0.4758, allocations: 152 kB / 414.7 MB, free: 10.56 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.64e-07/0.4758, allocations: 0 / 414.7 MB, free: 10.56 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003929/0.4762, allocations: 43.83 kB / 414.7 MB, free: 10.52 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.001211/0.4774, allocations: 382.9 kB / 415.1 MB, free: 10.21 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002671/0.4777, allocations: 111.4 kB / 415.2 MB, free: 10.09 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.837e-06/0.4777, allocations: 4 kB / 415.2 MB, free: 10.09 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.896e-05/0.4778, allocations: 19.94 kB / 415.2 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.4781, allocations: 15.98 kB / 415.3 MB, free: 10.05 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006/0.4787, allocations: 259.3 kB / 415.5 MB, free: 9.766 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004217/0.4792, allocations: 0.7043 MB / 416.2 MB, free: 9.035 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.878e-05/0.4793, allocations: 23.36 kB / 416.2 MB, free: 9.012 MB / 346.7 MB Notification: Performance of SimCode: time 1.605e-06/0.4793, allocations: 0 / 416.2 MB, free: 9.012 MB / 346.7 MB Notification: Performance of Templates: time 0.004604/0.4839, allocations: 1.773 MB / 418 MB, free: 7.25 MB / 346.7 MB