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.Test28.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.Test28,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.Test28") Notification: Performance of loadModel(ModelicaTest): time 1.933/1.933, allocations: 209.3 MB / 224.9 MB, free: 1.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004544/0.0004543, allocations: 12 kB / 282.6 MB, free: 9.738 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08887/0.08935, allocations: 48.71 MB / 331.3 MB, free: 8.938 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.334/0.4234, allocations: 75.82 MB / 407.1 MB, free: 9.359 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/0.4236, allocations: 71.97 kB / 407.2 MB, free: 9.289 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01646/0.4401, allocations: 3.944 MB / 411.1 MB, free: 5.359 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.372e-06/0.4402, allocations: 0 / 411.1 MB, free: 5.359 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.4402, allocations: 4 kB / 411.1 MB, free: 5.355 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.0005716/0.4408, allocations: 428.6 kB / 411.5 MB, free: 4.883 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.4408, allocations: 8.031 kB / 411.5 MB, free: 4.875 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.104e-05/0.4409, allocations: 11.91 kB / 411.6 MB, free: 4.863 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.4412, allocations: 206.1 kB / 411.8 MB, free: 4.625 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.4412, allocations: 0 / 411.8 MB, free: 4.625 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.4412, allocations: 4 kB / 411.8 MB, free: 4.621 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.4414, allocations: 41.69 kB / 411.8 MB, free: 4.574 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.4414, allocations: 0 / 411.8 MB, free: 4.574 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.4414, allocations: 7.984 kB / 411.8 MB, free: 4.566 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.329e-06/0.4414, allocations: 4 kB / 411.8 MB, free: 4.562 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.37e-05/0.4415, allocations: 12 kB / 411.8 MB, free: 4.551 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004464/0.442, allocations: 292.8 kB / 412.1 MB, free: 4.215 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.4422, allocations: 42.56 kB / 412.2 MB, free: 4.164 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.4422, allocations: 4 kB / 412.2 MB, free: 4.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000138/0.4424, allocations: 59.48 kB / 412.2 MB, free: 4.09 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.322e-06/0.4424, allocations: 0 / 412.2 MB, free: 4.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004692/0.4429, allocations: 129.2 kB / 412.3 MB, free: 3.957 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.4429, allocations: 51.41 kB / 412.4 MB, free: 3.895 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.4432, allocations: 160.6 kB / 412.6 MB, free: 3.73 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.4432, allocations: 29.7 kB / 412.6 MB, free: 3.695 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.985e-05/0.4433, allocations: 158.6 kB / 412.7 MB, free: 3.539 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.4434, allocations: 19.8 kB / 412.8 MB, free: 3.52 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.859e-06/0.4434, allocations: 4 kB / 412.8 MB, free: 3.516 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.4435, allocations: 314.8 kB / 413.1 MB, free: 3.199 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.954e-05/0.4436, allocations: 23.94 kB / 413.1 MB, free: 3.176 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.3e-05/0.4437, allocations: 27.92 kB / 413.1 MB, free: 3.148 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.4438, allocations: 53.7 kB / 413.2 MB, free: 3.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.689e-06/0.4438, allocations: 3.938 kB / 413.2 MB, free: 3.086 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002653/0.4441, allocations: 127.3 kB / 413.3 MB, free: 2.949 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.084e-05/0.4442, allocations: 29.7 kB / 413.3 MB, free: 2.914 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.894e-06/0.4442, allocations: 0 / 413.3 MB, free: 2.914 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.4442, allocations: 8 kB / 413.3 MB, free: 2.906 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.384e-05/0.4443, allocations: 11.98 kB / 413.3 MB, free: 2.895 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.743e-06/0.4443, allocations: 3.953 kB / 413.4 MB, free: 2.891 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.927e-05/0.4444, allocations: 4 kB / 413.4 MB, free: 2.887 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.4444, allocations: 4.281 kB / 413.4 MB, free: 2.883 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.0001302/0.4445, allocations: 121.8 kB / 413.5 MB, free: 2.754 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.4446, allocations: 11.89 kB / 413.5 MB, free: 2.742 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002493/0.4448, allocations: 93.92 kB / 413.6 MB, free: 2.645 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.854e-06/0.4449, allocations: 4 kB / 413.6 MB, free: 2.641 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.4449, allocations: 0 / 413.6 MB, free: 2.641 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.106e-06/0.4449, allocations: 3.953 kB / 413.6 MB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004939/0.4454, allocations: 346.5 kB / 413.9 MB, free: 2.242 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.99e-06/0.4454, allocations: 4 kB / 413.9 MB, free: 2.238 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-05/0.4455, allocations: 7.984 kB / 413.9 MB, free: 2.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.079e-06/0.4455, allocations: 0 / 413.9 MB, free: 2.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.4455, allocations: 12.12 kB / 414 MB, free: 2.219 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.303e-06/0.4455, allocations: 7.953 kB / 414 MB, free: 2.211 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4455, allocations: 4 kB / 414 MB, free: 2.207 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.4458, allocations: 175.3 kB / 414.1 MB, free: 2.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.306e-05/0.4459, allocations: 85.02 kB / 414.2 MB, free: 1.918 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.4459, allocations: 4 kB / 414.2 MB, free: 1.914 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.48e-05/0.446, allocations: 4 kB / 414.2 MB, free: 1.91 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.4461, allocations: 8.031 kB / 414.2 MB, free: 1.902 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.4461, allocations: 7.938 kB / 414.2 MB, free: 1.895 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001496/0.4463, allocations: 134.6 kB / 414.4 MB, free: 1.766 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.94e-07/0.4463, allocations: 0 / 414.4 MB, free: 1.766 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003779/0.4467, allocations: 35.98 kB / 414.4 MB, free: 1.73 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.001192/0.4479, allocations: 367.4 kB / 414.8 MB, free: 1.445 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002469/0.4481, allocations: 115.4 kB / 414.9 MB, free: 1.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.4481, allocations: 4 kB / 414.9 MB, free: 1.316 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6e-05/0.4482, allocations: 19.94 kB / 414.9 MB, free: 1.297 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.4485, allocations: 15.98 kB / 414.9 MB, free: 1.281 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005298/0.449, allocations: 231.2 kB / 415.1 MB, free: 1.02 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.4495, allocations: 0.7004 MB / 415.8 MB, free: 300 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.272e-05/0.4495, allocations: 19.42 kB / 415.9 MB, free: 280 kB / 330.7 MB Notification: Performance of SimCode: time 1.461e-06/0.4495, allocations: 0 / 415.9 MB, free: 280 kB / 330.7 MB Notification: Performance of Templates: time 0.004344/0.4539, allocations: 1.7 MB / 417.6 MB, free: 14.58 MB / 346.7 MB