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.Test35.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.Test35,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.Test35") Notification: Performance of loadModel(ModelicaTest): time 2.056/2.056, allocations: 209.2 MB / 225.4 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004447/0.0004447, allocations: 12 kB / 283.1 MB, free: 9.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3371, allocations: 48.71 MB / 331.8 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.133/0.4702, allocations: 75.85 MB / 407.7 MB, free: 2.566 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/0.4705, allocations: 83.91 kB / 407.7 MB, free: 2.484 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01879/0.4893, allocations: 4.235 MB / 412 MB, free: 14.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4894, allocations: 0 / 412 MB, free: 14.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.4894, allocations: 0 / 412 MB, free: 14.25 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.0006105/0.49, allocations: 439.7 kB / 412.4 MB, free: 13.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.4901, allocations: 8.031 kB / 412.4 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.549e-05/0.4902, allocations: 15.91 kB / 412.4 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.4905, allocations: 206.8 kB / 412.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.4905, allocations: 11.92 kB / 412.6 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.4906, allocations: 4 kB / 412.7 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.4907, allocations: 41.69 kB / 412.7 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.4907, allocations: 0 / 412.7 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.4907, allocations: 0 / 412.7 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.4908, allocations: 0 / 412.7 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.367e-05/0.4908, allocations: 15.98 kB / 412.7 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004848/0.4913, allocations: 304.8 kB / 413 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002517/0.4916, allocations: 46.5 kB / 413.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.4916, allocations: 0 / 413.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001636/0.4918, allocations: 59.48 kB / 413.1 MB, free: 12.95 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.683e-06/0.4918, allocations: 0 / 413.1 MB, free: 12.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005356/0.4924, allocations: 129.2 kB / 413.2 MB, free: 12.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.4924, allocations: 51.41 kB / 413.3 MB, free: 12.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003163/0.4928, allocations: 207.3 kB / 413.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.4928, allocations: 29.7 kB / 413.5 MB, free: 12.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.234e-05/0.4929, allocations: 174.4 kB / 413.7 MB, free: 12.33 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.4929, allocations: 11.91 kB / 413.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-06/0.493, allocations: 3.938 kB / 413.7 MB, free: 12.31 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.4931, allocations: 314.8 kB / 414 MB, free: 12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.982e-05/0.4932, allocations: 27.98 kB / 414 MB, free: 11.97 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.418e-05/0.4933, allocations: 27.92 kB / 414.1 MB, free: 11.94 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.4934, allocations: 49.7 kB / 414.1 MB, free: 11.89 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.4934, allocations: 0 / 414.1 MB, free: 11.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002918/0.4937, allocations: 131.3 kB / 414.2 MB, free: 11.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.454e-05/0.4938, allocations: 33.7 kB / 414.3 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.4938, allocations: 0 / 414.3 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.4938, allocations: 0 / 414.3 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.97e-05/0.4939, allocations: 15.92 kB / 414.3 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.4939, allocations: 0 / 414.3 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.661e-05/0.494, allocations: 12 kB / 414.3 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.4941, allocations: 7.953 kB / 414.3 MB, free: 11.67 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.0001401/0.4942, allocations: 125.8 kB / 414.4 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.4943, allocations: 8.188 kB / 414.4 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002812/0.4945, allocations: 86.67 kB / 414.5 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.4946, allocations: 7.984 kB / 414.5 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.4946, allocations: 0 / 414.5 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.4946, allocations: 7.922 kB / 414.5 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005141/0.4951, allocations: 366.4 kB / 414.9 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4951, allocations: 0 / 414.9 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.991e-05/0.4952, allocations: 11.98 kB / 414.9 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.4952, allocations: 0 / 414.9 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.4953, allocations: 192 / 414.9 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.4953, allocations: 4.094 kB / 414.9 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4953, allocations: 3.938 kB / 414.9 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.4955, allocations: 187.3 kB / 415.1 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.772e-05/0.4956, allocations: 92.95 kB / 415.2 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.1e-05/0.4957, allocations: 8 kB / 415.2 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.4958, allocations: 0 / 415.2 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.4959, allocations: 7.984 kB / 415.2 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.4959, allocations: 0 / 415.2 MB, free: 10.67 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002199/0.4961, allocations: 159.9 kB / 415.4 MB, free: 10.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.4961, allocations: 0 / 415.4 MB, free: 10.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003756/0.4965, allocations: 39.92 kB / 415.4 MB, free: 10.48 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.001053/0.4976, allocations: 370.8 kB / 415.8 MB, free: 10.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003123/0.4979, allocations: 111.3 kB / 415.9 MB, free: 10.06 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.498, allocations: 0 / 415.9 MB, free: 10.06 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.885e-05/0.498, allocations: 20 kB / 415.9 MB, free: 10.04 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.4984, allocations: 19.97 kB / 415.9 MB, free: 10.02 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006602/0.4991, allocations: 271.4 kB / 416.2 MB, free: 9.727 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.4994, allocations: 0.7082 MB / 416.9 MB, free: 8.992 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.658e-05/0.4995, allocations: 27.42 kB / 416.9 MB, free: 8.965 MB / 346.7 MB Notification: Performance of SimCode: time 1.212e-06/0.4995, allocations: 0 / 416.9 MB, free: 8.965 MB / 346.7 MB Notification: Performance of Templates: time 0.005481/0.505, allocations: 1.801 MB / 418.7 MB, free: 7.168 MB / 346.7 MB