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.Test55.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.Test55,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.Test55") Notification: Performance of loadModel(ModelicaTest): time 2.257/2.257, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004331/0.0004332, allocations: 16 kB / 314.4 MB, free: 9.543 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2894, allocations: 54.86 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.189/0.4785, allocations: 82.37 MB / 451.6 MB, free: 8.223 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/0.4789, allocations: 75.95 kB / 451.7 MB, free: 8.148 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.0266/0.5055, allocations: 5.152 MB / 456.9 MB, free: 2.984 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.175e-06/0.5055, allocations: 0 / 456.9 MB, free: 2.984 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.5055, allocations: 0 / 456.9 MB, free: 2.984 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.0006062/0.5062, allocations: 474.2 kB / 457.3 MB, free: 2.461 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.5062, allocations: 12.02 kB / 457.3 MB, free: 2.449 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.356e-05/0.5063, allocations: 7.906 kB / 457.4 MB, free: 2.441 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.5066, allocations: 191 kB / 457.5 MB, free: 2.215 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.5066, allocations: 8 kB / 457.6 MB, free: 2.207 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.5067, allocations: 15.83 kB / 457.6 MB, free: 2.191 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.5069, allocations: 68.23 kB / 457.6 MB, free: 2.113 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.5069, allocations: 0 / 457.6 MB, free: 2.113 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.5069, allocations: 3.953 kB / 457.6 MB, free: 2.109 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.5069, allocations: 0 / 457.6 MB, free: 2.109 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.507, allocations: 23.98 kB / 457.7 MB, free: 2.086 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004517/0.5075, allocations: 304.8 kB / 458 MB, free: 1.738 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/0.5077, allocations: 58.67 kB / 458 MB, free: 1.672 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.5078, allocations: 0 / 458 MB, free: 1.672 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001852/0.508, allocations: 75.45 kB / 458.1 MB, free: 1.586 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.318e-06/0.508, allocations: 4 kB / 458.1 MB, free: 1.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006944/0.5087, allocations: 181.5 kB / 458.3 MB, free: 1.398 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.5088, allocations: 81.11 kB / 458.3 MB, free: 1.301 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.509, allocations: 139 kB / 458.5 MB, free: 1.156 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.509, allocations: 29.64 kB / 458.5 MB, free: 1.121 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.636e-05/0.5091, allocations: 166.5 kB / 458.7 MB, free: 0.957 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/0.5092, allocations: 23.64 kB / 458.7 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.466e-05/0.5092, allocations: 4 kB / 458.7 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.5094, allocations: 314.8 kB / 459 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.5095, allocations: 35.97 kB / 459 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.5096, allocations: 54.08 kB / 459.1 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.5098, allocations: 73.69 kB / 459.2 MB, free: 452 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5098, allocations: 0 / 459.2 MB, free: 452 kB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003687/0.5102, allocations: 155.3 kB / 459.3 MB, free: 284 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.871e-05/0.5102, allocations: 33.77 kB / 459.4 MB, free: 244 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.524e-06/0.5103, allocations: 0 / 459.4 MB, free: 244 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.5103, allocations: 7.984 kB / 459.4 MB, free: 236 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.759e-05/0.5104, allocations: 12 kB / 459.4 MB, free: 224 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.807e-06/0.5104, allocations: 0 / 459.4 MB, free: 224 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.83e-05/0.5105, allocations: 8 kB / 459.4 MB, free: 216 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.5105, allocations: 11.98 kB / 459.4 MB, free: 204 kB / 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 () * Number of clocked 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.0001308/0.5107, allocations: 117.8 kB / 459.5 MB, free: 76 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/0.5107, allocations: 11.86 kB / 459.5 MB, free: 64 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003697/0.5111, allocations: 130.2 kB / 459.6 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.449e-06/0.5111, allocations: 4 kB / 459.7 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.619e-06/0.5111, allocations: 0 / 459.7 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.453e-06/0.5111, allocations: 0 / 459.7 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006616/0.5118, allocations: 415.2 kB / 460.1 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.295e-06/0.5118, allocations: 0 / 460.1 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.774e-05/0.5119, allocations: 8 kB / 460.1 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.5119, allocations: 4.031 kB / 460.1 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.512, allocations: 4 kB / 460.1 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.512, allocations: 3.984 kB / 460.1 MB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.756e-06/0.512, allocations: 0 / 460.1 MB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003637/0.5124, allocations: 226 kB / 460.3 MB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.928e-05/0.5125, allocations: 101 kB / 460.4 MB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.5125, allocations: 0 / 460.4 MB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.5126, allocations: 11.98 kB / 460.4 MB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.971e-05/0.5127, allocations: 4 kB / 460.4 MB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.5127, allocations: 4 kB / 460.4 MB, free: 15.06 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001273/0.5128, allocations: 112.8 kB / 460.5 MB, free: 14.95 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.36e-07/0.5129, allocations: 0 / 460.5 MB, free: 14.95 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004394/0.5133, allocations: 55.94 kB / 460.6 MB, free: 14.89 MB / 394.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) * Number of clocked states: 0 () * 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.001784/0.5151, allocations: 0.5474 MB / 461.1 MB, free: 14.43 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003521/0.5155, allocations: 155.3 kB / 461.3 MB, free: 14.26 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.102e-06/0.5155, allocations: 0 / 461.3 MB, free: 14.26 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.5156, allocations: 31.98 kB / 461.3 MB, free: 14.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.5159, allocations: 15.98 kB / 461.3 MB, free: 14.21 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005298/0.5165, allocations: 244.3 kB / 461.6 MB, free: 13.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.5169, allocations: 0.7081 MB / 462.3 MB, free: 13.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.56e-05/0.517, allocations: 15.44 kB / 462.3 MB, free: 13.18 MB / 394.7 MB Notification: Performance of SimCode: time 1.29e-06/0.517, allocations: 0 / 462.3 MB, free: 13.18 MB / 394.7 MB Notification: Performance of Templates: time 0.00484/0.5218, allocations: 2.098 MB / 464.4 MB, free: 11.09 MB / 394.7 MB