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.Test51.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.Test51,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.Test51") Notification: Performance of loadModel(ModelicaTest): time 2.195/2.195, allocations: 209.3 MB / 225.4 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004422/0.0004424, allocations: 16 kB / 283.1 MB, free: 9.684 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4147/0.4152, allocations: 48.7 MB / 331.8 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1508/0.566, allocations: 75.86 MB / 407.7 MB, free: 2.59 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/0.5664, allocations: 75.95 kB / 407.7 MB, free: 2.516 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01869/0.5851, allocations: 4.194 MB / 411.9 MB, free: 14.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5851, allocations: 0 / 411.9 MB, free: 14.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.677e-05/0.5852, allocations: 4 kB / 411.9 MB, free: 14.32 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.0005941/0.5858, allocations: 436.5 kB / 412.4 MB, free: 13.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.5858, allocations: 12.03 kB / 412.4 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.188e-05/0.5859, allocations: 7.906 kB / 412.4 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.5862, allocations: 210.8 kB / 412.6 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.5862, allocations: 3.984 kB / 412.6 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.5863, allocations: 4 kB / 412.6 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.5864, allocations: 41.69 kB / 412.6 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.987e-05/0.5865, allocations: 0 / 412.6 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.5865, allocations: 4 kB / 412.7 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.5865, allocations: 0 / 412.7 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.118e-05/0.5866, allocations: 15.98 kB / 412.7 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004989/0.5871, allocations: 304.8 kB / 413 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.5874, allocations: 46.5 kB / 413 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.5874, allocations: 0 / 413 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.5876, allocations: 63.48 kB / 413.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.663e-06/0.5876, allocations: 0 / 413.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005419/0.5881, allocations: 125.2 kB / 413.2 MB, free: 12.89 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.5882, allocations: 55.41 kB / 413.2 MB, free: 12.82 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003177/0.5885, allocations: 207.3 kB / 413.5 MB, free: 12.61 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.5886, allocations: 29.7 kB / 413.5 MB, free: 12.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.229e-05/0.5887, allocations: 170.5 kB / 413.6 MB, free: 12.4 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.5887, allocations: 15.89 kB / 413.7 MB, free: 12.39 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.296e-06/0.5887, allocations: 3.938 kB / 413.7 MB, free: 12.38 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.5889, allocations: 314.8 kB / 414 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.057e-05/0.589, allocations: 19.98 kB / 414 MB, free: 12.05 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.358e-05/0.589, allocations: 35.86 kB / 414 MB, free: 12.01 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.5892, allocations: 53.7 kB / 414.1 MB, free: 11.95 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5892, allocations: 0 / 414.1 MB, free: 11.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002917/0.5895, allocations: 127.3 kB / 414.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.549e-05/0.5895, allocations: 33.7 kB / 414.2 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.5896, allocations: 0 / 414.2 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.5896, allocations: 8.219 kB / 414.2 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.296e-05/0.5897, allocations: 11.98 kB / 414.3 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.5897, allocations: 0 / 414.3 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.946e-05/0.5898, allocations: 0 / 414.3 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.5898, allocations: 11.95 kB / 414.3 MB, free: 11.75 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.0001446/0.59, allocations: 129.8 kB / 414.4 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.59, allocations: 11.91 kB / 414.4 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002862/0.5903, allocations: 94.61 kB / 414.5 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.5903, allocations: 0 / 414.5 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.5904, allocations: 0 / 414.5 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.5904, allocations: 3.984 kB / 414.5 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005569/0.5909, allocations: 370.4 kB / 414.9 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.591, allocations: 0 / 414.9 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.212e-05/0.591, allocations: 7.984 kB / 414.9 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.591, allocations: 0 / 414.9 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.5911, allocations: 4 kB / 414.9 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.5911, allocations: 0 / 414.9 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.5911, allocations: 0 / 414.9 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.5914, allocations: 179.6 kB / 415.1 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.399e-05/0.5915, allocations: 104.9 kB / 415.2 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.539e-05/0.5915, allocations: 4.062 kB / 415.2 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.5916, allocations: 4 kB / 415.2 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.5917, allocations: 3.984 kB / 415.2 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.5917, allocations: 4 kB / 415.2 MB, free: 10.74 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002211/0.5919, allocations: 159.9 kB / 415.3 MB, free: 10.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5919, allocations: 0 / 415.3 MB, free: 10.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004779/0.5924, allocations: 39.98 kB / 415.4 MB, free: 10.55 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.001096/0.5935, allocations: 373.7 kB / 415.7 MB, free: 10.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003009/0.5939, allocations: 119.3 kB / 415.8 MB, free: 10.12 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.5939, allocations: 0 / 415.8 MB, free: 10.12 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.836e-05/0.594, allocations: 16 kB / 415.9 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.5943, allocations: 15.98 kB / 415.9 MB, free: 10.09 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006975/0.595, allocations: 275.3 kB / 416.1 MB, free: 9.793 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.5954, allocations: 0.7121 MB / 416.9 MB, free: 9.055 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.255e-05/0.5955, allocations: 19.42 kB / 416.9 MB, free: 9.035 MB / 346.7 MB Notification: Performance of SimCode: time 1.202e-06/0.5955, allocations: 0 / 416.9 MB, free: 9.035 MB / 346.7 MB Notification: Performance of Templates: time 0.00542/0.6009, allocations: 1.801 MB / 418.7 MB, free: 7.238 MB / 346.7 MB