Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadModel(ModelicaTest): time 2.258/2.258, allocations: 235.1 MB / 243 MB, free: 9.508 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.688e-05/2.709e-05, allocations: 11.94 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3374, allocations: 54.85 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1521/0.4895, allocations: 81.4 MB / 439.4 MB, free: 13.44 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/0.4898, allocations: 71.95 kB / 439.5 MB, free: 13.37 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.01976/0.5096, allocations: 4.842 MB / 444.4 MB, free: 8.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.663e-06/0.5096, allocations: 0 / 444.4 MB, free: 8.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.5096, allocations: 0 / 444.4 MB, free: 8.52 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006146/0.5103, allocations: 470.2 kB / 444.8 MB, free: 8.004 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.5103, allocations: 12.03 kB / 444.8 MB, free: 7.992 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.032e-05/0.5104, allocations: 15.81 kB / 444.8 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003817/0.5108, allocations: 226.7 kB / 445.1 MB, free: 7.715 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.5108, allocations: 0 / 445.1 MB, free: 7.715 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.853e-05/0.5109, allocations: 8 kB / 445.1 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.794e-05/0.511, allocations: 15.98 kB / 445.1 MB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.5111, allocations: 53.67 kB / 445.1 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.5111, allocations: 3.953 kB / 445.1 MB, free: 7.629 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.5111, allocations: 4 kB / 445.1 MB, free: 7.625 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.5112, allocations: 0 / 445.1 MB, free: 7.625 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004839/0.5117, allocations: 301.4 kB / 445.4 MB, free: 7.293 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.5118, allocations: 54.64 kB / 445.5 MB, free: 7.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.52e-05/0.5119, allocations: 20.97 kB / 445.5 MB, free: 7.207 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.5119, allocations: 0 / 445.5 MB, free: 7.207 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.5121, allocations: 75.34 kB / 445.6 MB, free: 7.121 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 5.437e-06/0.5121, allocations: 3.984 kB / 445.6 MB, free: 7.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005616/0.5127, allocations: 165 kB / 445.8 MB, free: 6.949 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.5127, allocations: 51.41 kB / 445.8 MB, free: 6.887 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003201/0.5131, allocations: 219 kB / 446 MB, free: 6.664 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.5131, allocations: 29.7 kB / 446 MB, free: 6.629 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.5132, allocations: 174.5 kB / 446.2 MB, free: 6.457 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/0.5133, allocations: 27.64 kB / 446.2 MB, free: 6.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.503e-06/0.5133, allocations: 4 kB / 446.2 MB, free: 6.426 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.5135, allocations: 315.5 kB / 446.6 MB, free: 6.109 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.5136, allocations: 35.98 kB / 446.6 MB, free: 6.074 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.5137, allocations: 45.72 kB / 446.6 MB, free: 6.023 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.5138, allocations: 35.92 kB / 446.7 MB, free: 5.988 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.832e-06/0.5138, allocations: 0 / 446.7 MB, free: 5.988 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003171/0.5142, allocations: 125.7 kB / 446.8 MB, free: 5.859 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.251e-05/0.5142, allocations: 41.72 kB / 446.8 MB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.162e-06/0.5143, allocations: 3.953 kB / 446.8 MB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.5143, allocations: 4 kB / 446.8 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.5144, allocations: 19.92 kB / 446.9 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.855e-06/0.5144, allocations: 0 / 446.9 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.994e-05/0.5145, allocations: 4.094 kB / 446.9 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.5146, allocations: 11.94 kB / 446.9 MB, free: 5.77 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001049/0.5147, allocations: 112.9 kB / 447 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.65e-05/0.5147, allocations: 11.81 kB / 447 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003081/0.5151, allocations: 119.4 kB / 447.1 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.5151, allocations: 7.953 kB / 447.1 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.034e-06/0.5151, allocations: 0 / 447.1 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.71e-06/0.5151, allocations: 3.984 kB / 447.1 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006317/0.5158, allocations: 395.8 kB / 447.5 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.415e-06/0.5158, allocations: 0 / 447.5 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.448e-05/0.5158, allocations: 19.98 kB / 447.5 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.855e-06/0.5159, allocations: 3.984 kB / 447.5 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.5159, allocations: 4 kB / 447.5 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.044e-06/0.5159, allocations: 4 kB / 447.5 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.012e-06/0.5159, allocations: 0 / 447.5 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003011/0.5162, allocations: 210 kB / 447.7 MB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.5164, allocations: 104.9 kB / 447.9 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.598e-05/0.5164, allocations: 4 kB / 447.9 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.5166, allocations: 15.98 kB / 447.9 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.5166, allocations: 0 / 447.9 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.5166, allocations: 4 kB / 447.9 MB, free: 4.668 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002334/0.5169, allocations: 187 kB / 448.1 MB, free: 4.484 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.5169, allocations: 0 / 448.1 MB, free: 4.484 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004011/0.5173, allocations: 39.92 kB / 448.1 MB, free: 4.445 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001266/0.5186, allocations: 387.6 kB / 448.5 MB, free: 4.121 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003332/0.5189, allocations: 155.3 kB / 448.6 MB, free: 3.957 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.23e-06/0.519, allocations: 4 kB / 448.6 MB, free: 3.953 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.065e-05/0.519, allocations: 27.98 kB / 448.7 MB, free: 3.926 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.5194, allocations: 20.78 kB / 448.7 MB, free: 3.902 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000582/0.52, allocations: 248.4 kB / 448.9 MB, free: 3.625 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.5204, allocations: 0.7315 MB / 449.7 MB, free: 2.867 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.301e-05/0.5205, allocations: 23.44 kB / 449.7 MB, free: 2.844 MB / 378.7 MB Notification: Performance of SimCode: time 1.78e-06/0.5205, allocations: 3.938 kB / 449.7 MB, free: 2.84 MB / 378.7 MB Notification: Performance of Templates: time 0.005179/0.5257, allocations: 2.124 MB / 451.8 MB, free: 0.7148 MB / 378.7 MB