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.Test34.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.Test34,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.Test34") Notification: Performance of loadModel(ModelicaTest): time 1.916/1.916, allocations: 209.3 MB / 224.8 MB, free: 1.215 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006537/0.0006539, allocations: 16 kB / 282.6 MB, free: 9.711 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.12, allocations: 48.7 MB / 331.3 MB, free: 8.922 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.365/0.485, allocations: 75.87 MB / 407.1 MB, free: 9.305 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.4853, allocations: 75.95 kB / 407.2 MB, free: 9.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01677/0.5021, allocations: 4.032 MB / 411.3 MB, free: 5.207 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.411e-06/0.5021, allocations: 0 / 411.3 MB, free: 5.207 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.5022, allocations: 0 / 411.3 MB, free: 5.207 MB / 330.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.0005717/0.5027, allocations: 432.6 kB / 411.7 MB, free: 4.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.5028, allocations: 8.031 kB / 411.7 MB, free: 4.723 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.81e-05/0.5029, allocations: 7.906 kB / 411.7 MB, free: 4.715 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.5031, allocations: 198.3 kB / 411.9 MB, free: 4.484 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.5032, allocations: 4 kB / 411.9 MB, free: 4.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.5032, allocations: 4 kB / 411.9 MB, free: 4.477 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.5034, allocations: 49.62 kB / 411.9 MB, free: 4.422 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.5034, allocations: 0 / 411.9 MB, free: 4.422 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.5034, allocations: 0 / 411.9 MB, free: 4.422 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.212e-06/0.5034, allocations: 0 / 411.9 MB, free: 4.422 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.384e-05/0.5035, allocations: 15.98 kB / 412 MB, free: 4.406 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004584/0.504, allocations: 288.9 kB / 412.2 MB, free: 4.074 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.5042, allocations: 54.5 kB / 412.3 MB, free: 4.012 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.5042, allocations: 3.984 kB / 412.3 MB, free: 4.008 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001466/0.5044, allocations: 63.47 kB / 412.4 MB, free: 3.934 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.449e-06/0.5044, allocations: 0 / 412.4 MB, free: 3.934 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004761/0.5049, allocations: 125.2 kB / 412.5 MB, free: 3.805 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.505, allocations: 51.41 kB / 412.5 MB, free: 3.742 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.5052, allocations: 157.4 kB / 412.7 MB, free: 3.578 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.5052, allocations: 33.7 kB / 412.7 MB, free: 3.539 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.5053, allocations: 162.5 kB / 412.9 MB, free: 3.379 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.5054, allocations: 11.81 kB / 412.9 MB, free: 3.367 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.136e-05/0.5054, allocations: 4 kB / 412.9 MB, free: 3.363 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.5056, allocations: 314.8 kB / 413.2 MB, free: 3.047 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.699e-05/0.5057, allocations: 23.98 kB / 413.2 MB, free: 3.023 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.528e-05/0.5058, allocations: 27.92 kB / 413.3 MB, free: 2.996 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.5059, allocations: 53.7 kB / 413.3 MB, free: 2.938 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.009e-06/0.5059, allocations: 0 / 413.3 MB, free: 2.938 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002684/0.5062, allocations: 127.3 kB / 413.4 MB, free: 2.801 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.753e-05/0.5062, allocations: 38.33 kB / 413.5 MB, free: 2.758 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.369e-06/0.5062, allocations: 0 / 413.5 MB, free: 2.758 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.5063, allocations: 0 / 413.5 MB, free: 2.758 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.004e-05/0.5064, allocations: 11.98 kB / 413.5 MB, free: 2.746 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.5064, allocations: 3.953 kB / 413.5 MB, free: 2.742 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.131e-05/0.5065, allocations: 4 kB / 413.5 MB, free: 2.738 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.5065, allocations: 7.938 kB / 413.5 MB, free: 2.73 MB / 330.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.000134/0.5066, allocations: 121.8 kB / 413.6 MB, free: 2.602 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.5067, allocations: 11.91 kB / 413.6 MB, free: 2.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/0.5069, allocations: 90.05 kB / 413.7 MB, free: 2.496 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.834e-06/0.507, allocations: 0 / 413.7 MB, free: 2.496 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.798e-06/0.507, allocations: 0 / 413.7 MB, free: 2.496 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.899e-06/0.507, allocations: 3.953 kB / 413.7 MB, free: 2.492 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005095/0.5075, allocations: 354.5 kB / 414.1 MB, free: 2.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.431e-06/0.5075, allocations: 0 / 414.1 MB, free: 2.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.395e-05/0.5076, allocations: 15.98 kB / 414.1 MB, free: 2.074 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.337e-06/0.5076, allocations: 4 kB / 414.1 MB, free: 2.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.5076, allocations: 0 / 414.1 MB, free: 2.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.924e-06/0.5076, allocations: 3.953 kB / 414.1 MB, free: 2.066 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.935e-06/0.5077, allocations: 0 / 414.1 MB, free: 2.066 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.5079, allocations: 175.3 kB / 414.3 MB, free: 1.879 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.553e-05/0.508, allocations: 93 kB / 414.3 MB, free: 1.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.416e-05/0.508, allocations: 4 kB / 414.4 MB, free: 1.766 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.8e-05/0.5081, allocations: 4.094 kB / 414.4 MB, free: 1.762 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.5082, allocations: 15.88 kB / 414.4 MB, free: 1.746 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.5082, allocations: 0 / 414.4 MB, free: 1.746 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001585/0.5084, allocations: 134.8 kB / 414.5 MB, free: 1.617 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.53e-07/0.5084, allocations: 0 / 414.5 MB, free: 1.617 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003799/0.5088, allocations: 31.94 kB / 414.5 MB, free: 1.586 MB / 330.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.001206/0.51, allocations: 371.4 kB / 414.9 MB, free: 1.297 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002639/0.5103, allocations: 115.3 kB / 415 MB, free: 1.172 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.827e-06/0.5103, allocations: 3.938 kB / 415 MB, free: 1.168 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.657e-05/0.5104, allocations: 23.98 kB / 415 MB, free: 1.145 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.5107, allocations: 15.98 kB / 415.1 MB, free: 1.129 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005291/0.5112, allocations: 227.3 kB / 415.3 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003973/0.5117, allocations: 0.7036 MB / 416 MB, free: 148 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.644e-05/0.5117, allocations: 19.42 kB / 416 MB, free: 128 kB / 330.7 MB Notification: Performance of SimCode: time 1.698e-06/0.5117, allocations: 0 / 416 MB, free: 128 kB / 330.7 MB Notification: Performance of Templates: time 0.004356/0.5161, allocations: 1.697 MB / 417.7 MB, free: 14.43 MB / 346.7 MB