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.Test31.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.Test31,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.Test31") Notification: Performance of loadModel(ModelicaTest): time 1.851/1.851, allocations: 209.3 MB / 224.9 MB, free: 1.199 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007822/0.0007825, allocations: 19.98 kB / 282.6 MB, free: 9.703 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09068/0.09149, allocations: 48.7 MB / 331.3 MB, free: 8.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.32/0.4116, allocations: 75.82 MB / 407.1 MB, free: 9.328 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/0.4119, allocations: 75.94 kB / 407.2 MB, free: 9.254 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01633/0.4282, allocations: 3.938 MB / 411.1 MB, free: 5.332 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.4283, allocations: 0 / 411.1 MB, free: 5.332 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.4283, allocations: 0 / 411.1 MB, free: 5.332 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.0005605/0.4289, allocations: 432.7 kB / 411.5 MB, free: 4.855 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.4289, allocations: 11.97 kB / 411.5 MB, free: 4.844 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.708e-05/0.429, allocations: 7.906 kB / 411.6 MB, free: 4.836 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.4293, allocations: 206.3 kB / 411.8 MB, free: 4.598 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.4293, allocations: 0 / 411.8 MB, free: 4.598 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.4293, allocations: 4 kB / 411.8 MB, free: 4.594 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.4294, allocations: 45.67 kB / 411.8 MB, free: 4.543 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.4295, allocations: 0 / 411.8 MB, free: 4.543 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.4295, allocations: 4 kB / 411.8 MB, free: 4.539 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.206e-06/0.4295, allocations: 0 / 411.8 MB, free: 4.539 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.266e-05/0.4296, allocations: 15.98 kB / 411.8 MB, free: 4.523 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004468/0.43, allocations: 292.8 kB / 412.1 MB, free: 4.188 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.4303, allocations: 42.56 kB / 412.2 MB, free: 4.137 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.4303, allocations: 4.078 kB / 412.2 MB, free: 4.133 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/0.4305, allocations: 59.41 kB / 412.2 MB, free: 4.062 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.436e-06/0.4305, allocations: 0 / 412.2 MB, free: 4.062 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004814/0.431, allocations: 129.2 kB / 412.3 MB, free: 3.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.431, allocations: 55.41 kB / 412.4 MB, free: 3.863 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.4313, allocations: 157.4 kB / 412.6 MB, free: 3.699 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.4313, allocations: 29.7 kB / 412.6 MB, free: 3.664 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.539e-05/0.4314, allocations: 158.6 kB / 412.7 MB, free: 3.508 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.4315, allocations: 19.8 kB / 412.8 MB, free: 3.488 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.97e-06/0.4315, allocations: 7.938 kB / 412.8 MB, free: 3.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.4316, allocations: 310.8 kB / 413.1 MB, free: 3.168 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.975e-05/0.4317, allocations: 23.98 kB / 413.1 MB, free: 3.145 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.337e-05/0.4318, allocations: 20 kB / 413.1 MB, free: 3.125 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.4319, allocations: 61.62 kB / 413.2 MB, free: 3.059 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.48e-06/0.4319, allocations: 0 / 413.2 MB, free: 3.059 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002622/0.4322, allocations: 127.4 kB / 413.3 MB, free: 2.922 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.399e-05/0.4323, allocations: 33.69 kB / 413.3 MB, free: 2.883 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4323, allocations: 0 / 413.3 MB, free: 2.883 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.4323, allocations: 4 kB / 413.3 MB, free: 2.879 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.219e-05/0.4324, allocations: 8 kB / 413.3 MB, free: 2.871 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.4324, allocations: 7.953 kB / 413.3 MB, free: 2.863 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.2e-05/0.4325, allocations: 4 kB / 413.3 MB, free: 2.859 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.4325, allocations: 8.047 kB / 413.4 MB, free: 2.852 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.000124/0.4326, allocations: 117.8 kB / 413.5 MB, free: 2.727 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-05/0.4327, allocations: 11.91 kB / 413.5 MB, free: 2.715 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002506/0.4329, allocations: 89.92 kB / 413.6 MB, free: 2.621 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.557e-06/0.433, allocations: 8 kB / 413.6 MB, free: 2.613 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.4e-06/0.433, allocations: 3.984 kB / 413.6 MB, free: 2.609 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.958e-06/0.433, allocations: 3.953 kB / 413.6 MB, free: 2.605 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004913/0.4335, allocations: 350.5 kB / 413.9 MB, free: 2.207 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.711e-06/0.4335, allocations: 0 / 413.9 MB, free: 2.207 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.154e-05/0.4336, allocations: 11.94 kB / 413.9 MB, free: 2.195 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.504e-06/0.4336, allocations: 0 / 413.9 MB, free: 2.195 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.4336, allocations: 0 / 413.9 MB, free: 2.195 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.782e-06/0.4336, allocations: 7.953 kB / 413.9 MB, free: 2.188 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.691e-06/0.4336, allocations: 4 kB / 414 MB, free: 2.184 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/0.4339, allocations: 179.3 kB / 414.1 MB, free: 1.992 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.211e-05/0.434, allocations: 85.02 kB / 414.2 MB, free: 1.891 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.434, allocations: 0 / 414.2 MB, free: 1.891 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.4341, allocations: 11.98 kB / 414.2 MB, free: 1.879 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.4342, allocations: 3.953 kB / 414.2 MB, free: 1.875 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.4342, allocations: 4 kB / 414.2 MB, free: 1.871 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001541/0.4344, allocations: 139.2 kB / 414.4 MB, free: 1.738 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-07/0.4344, allocations: 0 / 414.4 MB, free: 1.738 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000389/0.4348, allocations: 28 kB / 414.4 MB, free: 1.711 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.001287/0.4361, allocations: 381.7 kB / 414.8 MB, free: 1.414 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003513/0.4364, allocations: 115.4 kB / 414.9 MB, free: 1.289 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.749e-06/0.4365, allocations: 4 kB / 414.9 MB, free: 1.285 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.4366, allocations: 27.92 kB / 414.9 MB, free: 1.258 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/0.437, allocations: 8 kB / 414.9 MB, free: 1.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007046/0.4378, allocations: 231.3 kB / 415.1 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.4382, allocations: 0.7043 MB / 415.8 MB, free: 264 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.773e-05/0.4383, allocations: 11.44 kB / 415.9 MB, free: 252 kB / 330.7 MB Notification: Performance of SimCode: time 1.386e-06/0.4383, allocations: 0 / 415.9 MB, free: 252 kB / 330.7 MB Notification: Performance of Templates: time 0.004319/0.4426, allocations: 1.7 MB / 417.6 MB, free: 14.55 MB / 346.7 MB