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.Test52.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.Test52,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.Test52") Notification: Performance of loadModel(ModelicaTest): time 1.951/1.951, allocations: 209.3 MB / 224.9 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004796/0.0004798, allocations: 15.94 kB / 282.6 MB, free: 9.578 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.2995, allocations: 48.7 MB / 331.3 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1488/0.4484, allocations: 75.87 MB / 407.2 MB, free: 2.551 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003698/0.4488, allocations: 71.95 kB / 407.2 MB, free: 2.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02921/0.478, allocations: 4.208 MB / 411.4 MB, free: 14.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.596e-06/0.4781, allocations: 4 kB / 411.4 MB, free: 14.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.075e-05/0.4781, allocations: 4 kB / 411.4 MB, free: 14.26 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.0008059/0.479, allocations: 436.5 kB / 411.9 MB, free: 13.78 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.479, allocations: 12.03 kB / 411.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.382e-05/0.4791, allocations: 7.906 kB / 411.9 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004301/0.4796, allocations: 202.8 kB / 412.1 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.4796, allocations: 0 / 412.1 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.4797, allocations: 4 kB / 412.1 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.4799, allocations: 53.62 kB / 412.1 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.4799, allocations: 0 / 412.1 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.48, allocations: 4 kB / 412.1 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.48, allocations: 3.984 kB / 412.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.4801, allocations: 12 kB / 412.2 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006934/0.4808, allocations: 296.8 kB / 412.4 MB, free: 13.1 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/0.4812, allocations: 54.5 kB / 412.5 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.4812, allocations: 0 / 412.5 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001926/0.4815, allocations: 55.48 kB / 412.6 MB, free: 12.97 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 3.875e-06/0.4815, allocations: 0 / 412.6 MB, free: 12.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007568/0.4823, allocations: 133.2 kB / 412.7 MB, free: 12.84 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/0.4823, allocations: 55.41 kB / 412.7 MB, free: 12.77 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000447/0.4828, allocations: 190.5 kB / 412.9 MB, free: 12.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/0.4829, allocations: 25.7 kB / 412.9 MB, free: 12.54 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.483, allocations: 174.5 kB / 413.1 MB, free: 12.37 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.4831, allocations: 7.891 kB / 413.1 MB, free: 12.36 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.54e-05/0.4831, allocations: 8 kB / 413.1 MB, free: 12.35 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.4833, allocations: 314.8 kB / 413.4 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.4835, allocations: 27.92 kB / 413.5 MB, free: 12.01 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.4836, allocations: 23.94 kB / 413.5 MB, free: 11.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.4838, allocations: 57.69 kB / 413.5 MB, free: 11.92 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.149e-06/0.4838, allocations: 0 / 413.5 MB, free: 11.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004574/0.4843, allocations: 127.2 kB / 413.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.322e-05/0.4844, allocations: 37.7 kB / 413.7 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.4844, allocations: 0 / 413.7 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.4845, allocations: 0 / 413.7 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.4846, allocations: 8 kB / 413.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.13e-06/0.4846, allocations: 0 / 413.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.4848, allocations: 7.984 kB / 413.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.1e-05/0.4848, allocations: 8 kB / 413.7 MB, free: 11.72 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.0001986/0.485, allocations: 129.7 kB / 413.9 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.251e-05/0.4851, allocations: 11.95 kB / 413.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004117/0.4855, allocations: 98.81 kB / 414 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.4856, allocations: 4 kB / 414 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.94e-06/0.4856, allocations: 0 / 414 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.758e-06/0.4856, allocations: 0 / 414 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007932/0.4864, allocations: 370.4 kB / 414.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.301e-06/0.4865, allocations: 0 / 414.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.19e-05/0.4866, allocations: 8 kB / 414.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.765e-06/0.4866, allocations: 0 / 414.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.4866, allocations: 7.984 kB / 414.3 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.236e-06/0.4867, allocations: 0 / 414.3 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.4867, allocations: 0 / 414.3 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003962/0.4871, allocations: 183.3 kB / 414.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.4872, allocations: 92.94 kB / 414.6 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.378e-05/0.4873, allocations: 4 kB / 414.6 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.4875, allocations: 4 kB / 414.6 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/0.4876, allocations: 8.094 kB / 414.6 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.4876, allocations: 3.938 kB / 414.6 MB, free: 10.71 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003132/0.488, allocations: 155.9 kB / 414.8 MB, free: 10.55 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.265e-06/0.488, allocations: 0 / 414.8 MB, free: 10.55 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007301/0.4887, allocations: 36 kB / 414.8 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.001865/0.4906, allocations: 385.9 kB / 415.2 MB, free: 10.22 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003811/0.491, allocations: 115.3 kB / 415.3 MB, free: 10.1 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.453e-06/0.4911, allocations: 0 / 415.3 MB, free: 10.1 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.4912, allocations: 23.92 kB / 415.3 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.0004606/0.4917, allocations: 20.12 kB / 415.4 MB, free: 10.05 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008838/0.4926, allocations: 279.4 kB / 415.6 MB, free: 9.754 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000524/0.4932, allocations: 0.7043 MB / 416.3 MB, free: 9.023 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.024e-05/0.4933, allocations: 15.44 kB / 416.4 MB, free: 9.008 MB / 346.7 MB Notification: Performance of SimCode: time 1.93e-06/0.4933, allocations: 0 / 416.4 MB, free: 9.008 MB / 346.7 MB Notification: Performance of Templates: time 0.00725/0.5006, allocations: 1.793 MB / 418.1 MB, free: 7.219 MB / 346.7 MB