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.Test19.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,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.Test19") Notification: Performance of loadModel(ModelicaTest): time 2.195/2.195, allocations: 235 MB / 248.1 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.251e-05/3.265e-05, allocations: 8 kB / 309.7 MB, free: 1.523 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3605, allocations: 54.85 MB / 364.5 MB, free: 5.539 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1238/0.4844, allocations: 82.03 MB / 446.6 MB, free: 14.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.4847, allocations: 71.95 kB / 446.7 MB, free: 14.39 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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/OpenModelica/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/OpenModelica/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.01979/0.5045, allocations: 4.462 MB / 451.1 MB, free: 9.957 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.836e-06/0.5045, allocations: 0 / 451.1 MB, free: 9.957 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.5046, allocations: 0 / 451.1 MB, free: 9.957 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.0006138/0.5052, allocations: 449.6 kB / 451.6 MB, free: 9.461 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.5052, allocations: 15.97 kB / 451.6 MB, free: 9.445 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.246e-05/0.5053, allocations: 7.906 kB / 451.6 MB, free: 9.438 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.5057, allocations: 208.1 kB / 451.8 MB, free: 9.195 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.5057, allocations: 4 kB / 451.8 MB, free: 9.191 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.5057, allocations: 8 kB / 451.8 MB, free: 9.184 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.5059, allocations: 53.67 kB / 451.8 MB, free: 9.125 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.5059, allocations: 4 kB / 451.8 MB, free: 9.121 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.506, allocations: 3.953 kB / 451.8 MB, free: 9.117 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.414e-06/0.506, allocations: 0 / 451.8 MB, free: 9.117 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.957e-05/0.5061, allocations: 20 kB / 451.9 MB, free: 9.098 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005104/0.5066, allocations: 316.7 kB / 452.2 MB, free: 8.738 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.5068, allocations: 58.69 kB / 452.2 MB, free: 8.672 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.833e-05/0.5068, allocations: 16.98 kB / 452.3 MB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.5069, allocations: 0 / 452.3 MB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/0.507, allocations: 75.28 kB / 452.3 MB, free: 8.566 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.644e-06/0.5071, allocations: 0 / 452.3 MB, free: 8.566 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005775/0.5076, allocations: 154.1 kB / 452.5 MB, free: 8.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.5077, allocations: 63.41 kB / 452.5 MB, free: 8.336 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.508, allocations: 173.2 kB / 452.7 MB, free: 8.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/0.508, allocations: 33.7 kB / 452.7 MB, free: 8.121 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.685e-05/0.5081, allocations: 162.4 kB / 452.9 MB, free: 7.961 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.462e-05/0.5082, allocations: 23.7 kB / 452.9 MB, free: 7.938 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.346e-05/0.5082, allocations: 8 kB / 452.9 MB, free: 7.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.5083, allocations: 312.1 kB / 453.2 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.5085, allocations: 36 kB / 453.3 MB, free: 7.582 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.5086, allocations: 53.7 kB / 453.3 MB, free: 7.523 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.5088, allocations: 69.69 kB / 453.4 MB, free: 7.449 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.5088, allocations: 0 / 453.4 MB, free: 7.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003681/0.5091, allocations: 175.2 kB / 453.6 MB, free: 7.266 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.829e-05/0.5092, allocations: 33.7 kB / 453.6 MB, free: 7.227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.559e-06/0.5092, allocations: 0 / 453.6 MB, free: 7.227 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.5093, allocations: 4 kB / 453.6 MB, free: 7.223 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.5094, allocations: 19.98 kB / 453.6 MB, free: 7.203 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.98e-06/0.5094, allocations: 4.031 kB / 453.6 MB, free: 7.199 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.509e-05/0.5095, allocations: 7.906 kB / 453.6 MB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.5096, allocations: 8.094 kB / 453.6 MB, free: 7.184 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.0001105/0.5097, allocations: 122.5 kB / 453.8 MB, free: 7.059 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.295e-05/0.5097, allocations: 11.86 kB / 453.8 MB, free: 7.047 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003041/0.51, allocations: 110.2 kB / 453.9 MB, free: 6.934 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.74e-06/0.5101, allocations: 4 kB / 453.9 MB, free: 6.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.745e-06/0.5101, allocations: 4.172 kB / 453.9 MB, free: 6.926 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.332e-06/0.5101, allocations: 4 kB / 453.9 MB, free: 6.922 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006336/0.5107, allocations: 415.2 kB / 454.3 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.18e-06/0.5108, allocations: 0 / 454.3 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.483e-05/0.5108, allocations: 11.98 kB / 454.3 MB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.767e-06/0.5109, allocations: 4 kB / 454.3 MB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.5109, allocations: 0 / 454.3 MB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.929e-06/0.5109, allocations: 0 / 454.3 MB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.58e-06/0.5109, allocations: 4 kB / 454.3 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003107/0.5112, allocations: 229.8 kB / 454.5 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.5113, allocations: 97 kB / 454.6 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.219e-05/0.5114, allocations: 0 / 454.6 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.5115, allocations: 11.98 kB / 454.6 MB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.5116, allocations: 7.938 kB / 454.7 MB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.5116, allocations: 0 / 454.7 MB, free: 6.055 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001639/0.5118, allocations: 139.2 kB / 454.8 MB, free: 5.918 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.87e-07/0.5118, allocations: 0 / 454.8 MB, free: 5.918 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004049/0.5122, allocations: 36 kB / 454.8 MB, free: 5.883 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.001472/0.5137, allocations: 425.1 kB / 455.2 MB, free: 5.543 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003622/0.5141, allocations: 167.3 kB / 455.4 MB, free: 5.367 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.605e-06/0.5141, allocations: 4.062 kB / 455.4 MB, free: 5.363 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.782e-05/0.5142, allocations: 31.98 kB / 455.4 MB, free: 5.332 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.5145, allocations: 23.94 kB / 455.5 MB, free: 5.309 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004923/0.5151, allocations: 185.7 kB / 455.6 MB, free: 5.098 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.5155, allocations: 0.7082 MB / 456.3 MB, free: 4.363 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.692e-05/0.5155, allocations: 19.5 kB / 456.4 MB, free: 4.348 MB / 378.7 MB Notification: Performance of SimCode: time 1.671e-06/0.5155, allocations: 0 / 456.4 MB, free: 4.348 MB / 378.7 MB Notification: Performance of Templates: time 0.004786/0.5203, allocations: 1.922 MB / 458.3 MB, free: 2.43 MB / 378.7 MB