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.Test33.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.Test33,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.Test33") Notification: Performance of loadModel(ModelicaTest): time 2.137/2.137, allocations: 209.2 MB / 224.8 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004453/0.0004454, allocations: 12 kB / 282.6 MB, free: 9.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3581, allocations: 48.71 MB / 331.3 MB, free: 6.488 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1148/0.473, allocations: 75.87 MB / 407.2 MB, free: 2.535 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.4733, allocations: 71.95 kB / 407.2 MB, free: 2.465 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01696/0.4902, allocations: 4.029 MB / 411.3 MB, free: 14.44 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.35e-06/0.4903, allocations: 0 / 411.3 MB, free: 14.44 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.4903, allocations: 0 / 411.3 MB, free: 14.44 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.000578/0.4909, allocations: 428.6 kB / 411.7 MB, free: 13.96 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.491, allocations: 12.03 kB / 411.7 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.999e-05/0.491, allocations: 7.906 kB / 411.7 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.4913, allocations: 206.9 kB / 411.9 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.4914, allocations: 0 / 411.9 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.4914, allocations: 4 kB / 411.9 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.4915, allocations: 41.69 kB / 411.9 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.4915, allocations: 0 / 411.9 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.632e-06/0.4916, allocations: 0 / 411.9 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.182e-06/0.4916, allocations: 0 / 411.9 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.58e-05/0.4917, allocations: 19.92 kB / 412 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004638/0.4921, allocations: 296.9 kB / 412.2 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.4924, allocations: 42.56 kB / 412.3 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.4924, allocations: 0 / 412.3 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001416/0.4925, allocations: 63.42 kB / 412.4 MB, free: 13.17 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.459e-06/0.4926, allocations: 0 / 412.4 MB, free: 13.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004725/0.4931, allocations: 117.3 kB / 412.5 MB, free: 13.05 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.4931, allocations: 63.3 kB / 412.5 MB, free: 12.97 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.4933, allocations: 157.4 kB / 412.7 MB, free: 12.81 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.4934, allocations: 29.7 kB / 412.7 MB, free: 12.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.4935, allocations: 162.5 kB / 412.9 MB, free: 12.61 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.4936, allocations: 15.81 kB / 412.9 MB, free: 12.6 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.871e-06/0.4936, allocations: 0 / 412.9 MB, free: 12.6 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.4937, allocations: 314.8 kB / 413.2 MB, free: 12.28 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.59e-05/0.4938, allocations: 27.98 kB / 413.2 MB, free: 12.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.411e-05/0.4939, allocations: 23.98 kB / 413.2 MB, free: 12.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.494, allocations: 57.73 kB / 413.3 MB, free: 12.17 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.861e-06/0.4941, allocations: 0 / 413.3 MB, free: 12.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002655/0.4943, allocations: 127.3 kB / 413.4 MB, free: 12.03 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.196e-05/0.4944, allocations: 30.33 kB / 413.5 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.003e-06/0.4944, allocations: 0 / 413.5 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.4944, allocations: 0 / 413.5 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.868e-05/0.4945, allocations: 16.33 kB / 413.5 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.031e-06/0.4945, allocations: 4 kB / 413.5 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.49e-05/0.4946, allocations: 11.95 kB / 413.5 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.4946, allocations: 4.156 kB / 413.5 MB, free: 11.96 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.0001311/0.4948, allocations: 121.8 kB / 413.6 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/0.4948, allocations: 15.88 kB / 413.6 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002475/0.4951, allocations: 89.92 kB / 413.7 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.078e-06/0.4951, allocations: 4 kB / 413.7 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.4951, allocations: 0 / 413.7 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.391e-06/0.4951, allocations: 0 / 413.7 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004936/0.4956, allocations: 358.5 kB / 414.1 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.4957, allocations: 3.938 kB / 414.1 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.79e-05/0.4957, allocations: 8 kB / 414.1 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.903e-06/0.4957, allocations: 3.984 kB / 414.1 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.4958, allocations: 0 / 414.1 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.71e-06/0.4958, allocations: 4 kB / 414.1 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.4958, allocations: 3.953 kB / 414.1 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.496, allocations: 179.4 kB / 414.3 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.75e-05/0.4961, allocations: 89 kB / 414.3 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.4962, allocations: 4 kB / 414.4 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.797e-05/0.4963, allocations: 4 kB / 414.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.4963, allocations: 3.953 kB / 414.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.4964, allocations: 8.172 kB / 414.4 MB, free: 10.97 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001518/0.4965, allocations: 130.6 kB / 414.5 MB, free: 10.85 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.006e-06/0.4965, allocations: 0 / 414.5 MB, free: 10.85 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000375/0.4969, allocations: 35.88 kB / 414.5 MB, free: 10.81 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.001193/0.4981, allocations: 381.1 kB / 414.9 MB, free: 10.52 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000243/0.4984, allocations: 111.4 kB / 415 MB, free: 10.39 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.196e-06/0.4984, allocations: 4 kB / 415 MB, free: 10.39 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.619e-05/0.4985, allocations: 23.92 kB / 415 MB, free: 10.37 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.4988, allocations: 15.98 kB / 415.1 MB, free: 10.35 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005255/0.4993, allocations: 227.3 kB / 415.3 MB, free: 10.09 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.4997, allocations: 0.7074 MB / 416 MB, free: 9.363 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.221e-05/0.4998, allocations: 19.44 kB / 416 MB, free: 9.344 MB / 346.7 MB Notification: Performance of SimCode: time 1.507e-06/0.4998, allocations: 0 / 416 MB, free: 9.344 MB / 346.7 MB Notification: Performance of Templates: time 0.004264/0.5041, allocations: 1.691 MB / 417.7 MB, free: 7.656 MB / 346.7 MB