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.Test56.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.Test56,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.Test56") Notification: Performance of loadModel(ModelicaTest): time 2.154/2.154, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005938/0.000594, allocations: 12 kB / 283.1 MB, free: 9.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3384, allocations: 48.7 MB / 331.8 MB, free: 6.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1341/0.4726, allocations: 76.09 MB / 407.9 MB, free: 2.359 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/0.4729, allocations: 79.95 kB / 408 MB, free: 2.281 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01922/0.4921, allocations: 4.656 MB / 412.6 MB, free: 13.62 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4922, allocations: 0 / 412.6 MB, free: 13.62 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.576e-05/0.4922, allocations: 4 kB / 412.6 MB, free: 13.62 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.0005319/0.4928, allocations: 416.8 kB / 413 MB, free: 13.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.4928, allocations: 12.03 kB / 413.1 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.812e-05/0.4929, allocations: 7.906 kB / 413.1 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.4931, allocations: 186.9 kB / 413.2 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.4932, allocations: 8 kB / 413.3 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.4932, allocations: 0 / 413.3 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.4934, allocations: 63.33 kB / 413.3 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.4934, allocations: 4 kB / 413.3 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.4934, allocations: 0 / 413.3 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.4934, allocations: 0 / 413.3 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.848e-05/0.4935, allocations: 15.98 kB / 413.3 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004153/0.4939, allocations: 284.8 kB / 413.6 MB, free: 12.49 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.4942, allocations: 54.38 kB / 413.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.4942, allocations: 4 kB / 413.7 MB, free: 12.42 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001374/0.4944, allocations: 59.48 kB / 413.7 MB, free: 12.35 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.954e-06/0.4944, allocations: 0 / 413.7 MB, free: 12.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004862/0.4949, allocations: 109.4 kB / 413.8 MB, free: 12.24 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.495, allocations: 81.11 kB / 413.9 MB, free: 12.14 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.4951, allocations: 137.7 kB / 414 MB, free: 12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.4952, allocations: 33.7 kB / 414.1 MB, free: 11.96 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.254e-05/0.4953, allocations: 166.5 kB / 414.2 MB, free: 11.79 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.4953, allocations: 15.75 kB / 414.3 MB, free: 11.78 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.666e-06/0.4953, allocations: 4 kB / 414.3 MB, free: 11.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.4954, allocations: 314.8 kB / 414.6 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.912e-05/0.4955, allocations: 19.98 kB / 414.6 MB, free: 11.44 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.151e-05/0.4956, allocations: 33.7 kB / 414.6 MB, free: 11.4 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.49e-05/0.4957, allocations: 53.64 kB / 414.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.4957, allocations: 0 / 414.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002494/0.496, allocations: 123.4 kB / 414.8 MB, free: 11.21 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.274e-05/0.496, allocations: 30.33 kB / 414.8 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4961, allocations: 0 / 414.8 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.4961, allocations: 0 / 414.8 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.698e-05/0.4962, allocations: 15.92 kB / 414.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.4962, allocations: 4 kB / 414.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.286e-05/0.4963, allocations: 0 / 414.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.4963, allocations: 7.953 kB / 414.9 MB, free: 11.14 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.0001047/0.4964, allocations: 113.8 kB / 415 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.4964, allocations: 11.91 kB / 415 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002537/0.4967, allocations: 89.72 kB / 415.1 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.4967, allocations: 4.219 kB / 415.1 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.4967, allocations: 0 / 415.1 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.4968, allocations: 3.938 kB / 415.1 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004277/0.4972, allocations: 346.7 kB / 415.4 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4972, allocations: 3.984 kB / 415.4 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.151e-05/0.4973, allocations: 8 kB / 415.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.4973, allocations: 4 kB / 415.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.4973, allocations: 4 kB / 415.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.4973, allocations: 0 / 415.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4974, allocations: 3.938 kB / 415.4 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002323/0.4976, allocations: 183.3 kB / 415.6 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.044e-05/0.4977, allocations: 81.02 kB / 415.7 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.4977, allocations: 8 kB / 415.7 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.964e-05/0.4978, allocations: 0 / 415.7 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.4979, allocations: 11.98 kB / 415.7 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.4979, allocations: 0 / 415.7 MB, free: 10.18 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001134/0.498, allocations: 111.2 kB / 415.8 MB, free: 10.07 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.498, allocations: 0 / 415.8 MB, free: 10.07 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003895/0.4984, allocations: 51.94 kB / 415.9 MB, free: 10.02 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.001226/0.4997, allocations: 457.5 kB / 416.3 MB, free: 9.652 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002444/0.4999, allocations: 107.3 kB / 416.4 MB, free: 9.535 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.4999, allocations: 4 kB / 416.4 MB, free: 9.531 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.758e-05/0.5, allocations: 19.98 kB / 416.4 MB, free: 9.512 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.5003, allocations: 15.98 kB / 416.5 MB, free: 9.496 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000467/0.5008, allocations: 195.6 kB / 416.6 MB, free: 9.27 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.5011, allocations: 0.6965 MB / 417.3 MB, free: 8.547 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.606e-05/0.5011, allocations: 19.42 kB / 417.4 MB, free: 8.527 MB / 346.7 MB Notification: Performance of SimCode: time 7.32e-07/0.5012, allocations: 0 / 417.4 MB, free: 8.527 MB / 346.7 MB Notification: Performance of Templates: time 0.005244/0.5064, allocations: 1.885 MB / 419.2 MB, free: 6.645 MB / 346.7 MB