Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") Notification: Performance of loadModel(ModelicaTest): time 1.923/1.923, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004248/0.000425, allocations: 12 kB / 283.1 MB, free: 9.699 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3908, allocations: 48.7 MB / 331.8 MB, free: 6.488 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1531/0.5439, allocations: 75.83 MB / 407.6 MB, free: 2.613 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003423/0.5443, allocations: 75.97 kB / 407.7 MB, free: 2.539 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02302/0.5674, allocations: 3.97 MB / 411.7 MB, free: 14.57 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.5674, allocations: 0 / 411.7 MB, free: 14.57 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.5675, allocations: 4 kB / 411.7 MB, free: 14.57 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.0007396/0.5682, allocations: 432.6 kB / 412.1 MB, free: 14.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.5683, allocations: 12.03 kB / 412.1 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.281e-05/0.5684, allocations: 7.906 kB / 412.1 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003782/0.5688, allocations: 199.4 kB / 412.3 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.5688, allocations: 4 kB / 412.3 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.652e-05/0.5689, allocations: 4 kB / 412.3 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.569, allocations: 49.61 kB / 412.4 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.5691, allocations: 0 / 412.4 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.5691, allocations: 0 / 412.4 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.5691, allocations: 4 kB / 412.4 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.141e-05/0.5692, allocations: 15.98 kB / 412.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005915/0.5698, allocations: 296.8 kB / 412.7 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003359/0.5702, allocations: 46.56 kB / 412.7 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.5702, allocations: 3.938 kB / 412.7 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001914/0.5704, allocations: 63.45 kB / 412.8 MB, free: 13.28 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.745e-06/0.5705, allocations: 8 kB / 412.8 MB, free: 13.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006588/0.5711, allocations: 113.3 kB / 412.9 MB, free: 13.15 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.5712, allocations: 55.41 kB / 413 MB, free: 13.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003427/0.5716, allocations: 178.4 kB / 413.1 MB, free: 12.9 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.5716, allocations: 33.7 kB / 413.2 MB, free: 12.86 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.5717, allocations: 162.5 kB / 413.3 MB, free: 12.7 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.5718, allocations: 15.8 kB / 413.4 MB, free: 12.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.272e-05/0.5718, allocations: 0 / 413.4 MB, free: 12.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.572, allocations: 322.8 kB / 413.7 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.5721, allocations: 27.98 kB / 413.7 MB, free: 12.33 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.682e-05/0.5722, allocations: 23.98 kB / 413.7 MB, free: 12.31 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.5724, allocations: 49.73 kB / 413.8 MB, free: 12.25 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5724, allocations: 0 / 413.8 MB, free: 12.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003878/0.5728, allocations: 135.2 kB / 413.9 MB, free: 12.11 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.34e-05/0.5729, allocations: 33.7 kB / 413.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.5729, allocations: 0 / 413.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.5729, allocations: 0 / 413.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.573, allocations: 16.05 kB / 413.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.5731, allocations: 0 / 413.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.5732, allocations: 8 kB / 414 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.5732, allocations: 7.953 kB / 414 MB, free: 12.04 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.000167/0.5734, allocations: 129.8 kB / 414.1 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/0.5735, allocations: 7.906 kB / 414.1 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003461/0.5738, allocations: 85.98 kB / 414.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/0.5738, allocations: 4 kB / 414.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.5739, allocations: 0 / 414.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.5739, allocations: 0 / 414.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006327/0.5745, allocations: 358.5 kB / 414.5 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.5746, allocations: 3.984 kB / 414.5 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.623e-05/0.5746, allocations: 4 kB / 414.5 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.401e-06/0.5747, allocations: 4 kB / 414.5 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.5747, allocations: 0 / 414.5 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.5747, allocations: 0 / 414.5 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5747, allocations: 0 / 414.5 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.575, allocations: 187.3 kB / 414.7 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.946e-05/0.5752, allocations: 89.02 kB / 414.8 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.664e-05/0.5752, allocations: 4 kB / 414.8 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.5754, allocations: 0 / 414.8 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.446e-05/0.5754, allocations: 7.984 kB / 414.8 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.5755, allocations: 4 kB / 414.8 MB, free: 11.06 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002316/0.5757, allocations: 141.8 kB / 415 MB, free: 10.92 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.5757, allocations: 0 / 415 MB, free: 10.92 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006419/0.5764, allocations: 47.78 kB / 415 MB, free: 10.88 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.001523/0.5779, allocations: 376.2 kB / 415.4 MB, free: 10.58 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003839/0.5784, allocations: 111.4 kB / 415.5 MB, free: 10.46 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.5784, allocations: 3.938 kB / 415.5 MB, free: 10.45 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.479e-05/0.5785, allocations: 19.98 kB / 415.5 MB, free: 10.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004747/0.579, allocations: 19.19 kB / 415.5 MB, free: 10.42 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007919/0.5798, allocations: 251.2 kB / 415.8 MB, free: 10.14 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.5802, allocations: 0.7004 MB / 416.5 MB, free: 9.414 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.831e-05/0.5803, allocations: 23.42 kB / 416.5 MB, free: 9.391 MB / 346.7 MB Notification: Performance of SimCode: time 1.162e-06/0.5803, allocations: 0 / 416.5 MB, free: 9.391 MB / 346.7 MB Notification: Performance of Templates: time 0.00661/0.5869, allocations: 1.737 MB / 418.2 MB, free: 7.656 MB / 346.7 MB