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.Test21.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.Test21,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.Test21") Notification: Performance of loadModel(ModelicaTest): time 2.096/2.096, allocations: 209.2 MB / 225.4 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004518/0.000452, allocations: 12 kB / 283.1 MB, free: 9.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3393, allocations: 48.7 MB / 331.8 MB, free: 6.484 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1417/0.481, allocations: 75.87 MB / 407.7 MB, free: 2.555 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/0.4814, allocations: 75.97 kB / 407.8 MB, free: 2.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01913/0.5005, allocations: 4.015 MB / 411.8 MB, free: 14.47 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.5006, allocations: 0 / 411.8 MB, free: 14.47 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.5006, allocations: 0 / 411.8 MB, free: 14.47 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.0005868/0.5012, allocations: 435.8 kB / 412.2 MB, free: 13.99 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.5012, allocations: 8.031 kB / 412.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.474e-05/0.5013, allocations: 11.89 kB / 412.2 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.5016, allocations: 202.9 kB / 412.4 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.5017, allocations: 3.938 kB / 412.4 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.14e-05/0.5017, allocations: 7.984 kB / 412.4 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.5018, allocations: 41.69 kB / 412.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.5019, allocations: 0 / 412.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.5019, allocations: 0 / 412.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.5019, allocations: 4 kB / 412.5 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.279e-05/0.502, allocations: 15.98 kB / 412.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004679/0.5025, allocations: 292.9 kB / 412.8 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/0.5027, allocations: 46.5 kB / 412.8 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.5028, allocations: 0 / 412.8 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.5029, allocations: 63.48 kB / 412.9 MB, free: 13.19 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.793e-06/0.5029, allocations: 0 / 412.9 MB, free: 13.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005188/0.5035, allocations: 117.3 kB / 413 MB, free: 13.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.5035, allocations: 55.36 kB / 413 MB, free: 13 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.5038, allocations: 181.3 kB / 413.2 MB, free: 12.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.5039, allocations: 25.7 kB / 413.2 MB, free: 12.79 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.504, allocations: 166.5 kB / 413.4 MB, free: 12.62 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/0.504, allocations: 11.81 kB / 413.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-06/0.504, allocations: 3.938 kB / 413.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.5042, allocations: 322.8 kB / 413.7 MB, free: 12.28 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.61e-05/0.5043, allocations: 20 kB / 413.8 MB, free: 12.26 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.749e-05/0.5044, allocations: 23.98 kB / 413.8 MB, free: 12.24 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.5045, allocations: 53.64 kB / 413.8 MB, free: 12.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5045, allocations: 0 / 413.8 MB, free: 12.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003027/0.5048, allocations: 127.4 kB / 414 MB, free: 12.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.371e-05/0.5049, allocations: 33.69 kB / 414 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.5049, allocations: 0 / 414 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.5049, allocations: 4 kB / 414 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.585e-05/0.505, allocations: 15.94 kB / 414 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.505, allocations: 3.953 kB / 414 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.739e-05/0.5051, allocations: 0 / 414 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.5052, allocations: 4 kB / 414 MB, free: 11.98 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.0001327/0.5053, allocations: 121.8 kB / 414.1 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.5053, allocations: 11.91 kB / 414.1 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002816/0.5056, allocations: 89.98 kB / 414.2 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.5056, allocations: 0 / 414.2 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5057, allocations: 4 kB / 414.2 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.5057, allocations: 3.953 kB / 414.2 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005182/0.5062, allocations: 358.9 kB / 414.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.5062, allocations: 8 kB / 414.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.761e-05/0.5063, allocations: 4 kB / 414.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.5063, allocations: 0 / 414.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.5063, allocations: 4 kB / 414.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.5063, allocations: 4.047 kB / 414.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.5064, allocations: 7.922 kB / 414.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.5066, allocations: 187.3 kB / 414.8 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.904e-05/0.5067, allocations: 85.02 kB / 414.9 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.5068, allocations: 0 / 414.9 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.5069, allocations: 4 kB / 414.9 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.507, allocations: 7.938 kB / 414.9 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.507, allocations: 8 kB / 414.9 MB, free: 10.98 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001663/0.5072, allocations: 123.8 kB / 415 MB, free: 10.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5072, allocations: 4 kB / 415 MB, free: 10.85 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003791/0.5076, allocations: 39.92 kB / 415.1 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.001052/0.5086, allocations: 360.1 kB / 415.4 MB, free: 10.53 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000329/0.509, allocations: 119.3 kB / 415.5 MB, free: 10.4 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.509, allocations: 4 kB / 415.5 MB, free: 10.4 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.057e-05/0.5091, allocations: 16 kB / 415.6 MB, free: 10.38 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.5095, allocations: 15.98 kB / 415.6 MB, free: 10.37 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006539/0.5101, allocations: 231.3 kB / 415.8 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.5106, allocations: 0.7082 MB / 416.5 MB, free: 9.375 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.2e-05/0.5106, allocations: 11.44 kB / 416.5 MB, free: 9.363 MB / 346.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5107, allocations: 0 / 416.5 MB, free: 9.363 MB / 346.7 MB Notification: Performance of Templates: time 0.005497/0.5162, allocations: 1.705 MB / 418.2 MB, free: 7.664 MB / 346.7 MB