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.Test42.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.Test42,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.Test42") Notification: Performance of loadModel(ModelicaTest): time 2.205/2.205, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.446e-05/3.461e-05, allocations: 4 kB / 309.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3208, allocations: 54.86 MB / 364.5 MB, free: 5.539 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1564/0.4773, allocations: 82.06 MB / 446.6 MB, free: 14.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/0.4776, allocations: 71.97 kB / 446.7 MB, free: 14.36 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.01983/0.4974, allocations: 4.621 MB / 451.3 MB, free: 9.762 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4974, allocations: 0 / 451.3 MB, free: 9.762 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.4975, allocations: 0 / 451.3 MB, free: 9.762 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.0005964/0.4981, allocations: 467.6 kB / 451.8 MB, free: 9.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.4981, allocations: 11.97 kB / 451.8 MB, free: 9.238 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.23e-05/0.4982, allocations: 7.906 kB / 451.8 MB, free: 9.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.4985, allocations: 206.9 kB / 452 MB, free: 8.988 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.4986, allocations: 8 kB / 452 MB, free: 8.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.4986, allocations: 7.984 kB / 452 MB, free: 8.973 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.4988, allocations: 54.17 kB / 452 MB, free: 8.914 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.4988, allocations: 0 / 452 MB, free: 8.914 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.4988, allocations: 3.953 kB / 452 MB, free: 8.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.52e-06/0.4988, allocations: 4 kB / 452.1 MB, free: 8.906 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.901e-05/0.4989, allocations: 27.92 kB / 452.1 MB, free: 8.879 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004923/0.4994, allocations: 316.8 kB / 452.4 MB, free: 8.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.4996, allocations: 54.69 kB / 452.4 MB, free: 8.457 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.924e-05/0.4997, allocations: 16.98 kB / 452.5 MB, free: 8.438 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.4997, allocations: 11.89 kB / 452.5 MB, free: 8.426 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001543/0.4999, allocations: 63.52 kB / 452.5 MB, free: 8.352 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.724e-06/0.4999, allocations: 4 kB / 452.5 MB, free: 8.348 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005655/0.5005, allocations: 173.1 kB / 452.7 MB, free: 8.172 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.5006, allocations: 51.41 kB / 452.8 MB, free: 8.109 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.5008, allocations: 178.5 kB / 452.9 MB, free: 7.918 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.5009, allocations: 29.7 kB / 453 MB, free: 7.883 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.703e-05/0.501, allocations: 158.6 kB / 453.1 MB, free: 7.727 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4e-05/0.501, allocations: 28.67 kB / 453.1 MB, free: 7.699 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.116e-05/0.5011, allocations: 7.938 kB / 453.1 MB, free: 7.691 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.5012, allocations: 314.8 kB / 453.5 MB, free: 7.375 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.804e-05/0.5013, allocations: 36 kB / 453.5 MB, free: 7.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.5015, allocations: 53.7 kB / 453.5 MB, free: 7.281 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.5016, allocations: 69.69 kB / 453.6 MB, free: 7.207 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.072e-06/0.5016, allocations: 0 / 453.6 MB, free: 7.207 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003618/0.502, allocations: 175.2 kB / 453.8 MB, free: 7.023 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.051e-05/0.5021, allocations: 35.58 kB / 453.8 MB, free: 6.984 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.785e-06/0.5021, allocations: 0 / 453.8 MB, free: 6.984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.5021, allocations: 8.594 kB / 453.8 MB, free: 6.977 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.5022, allocations: 19.92 kB / 453.8 MB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.36e-06/0.5023, allocations: 0 / 453.8 MB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.344e-05/0.5023, allocations: 8 kB / 453.9 MB, free: 6.949 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/0.5024, allocations: 8 kB / 453.9 MB, free: 6.941 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.0001063/0.5025, allocations: 113 kB / 454 MB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.158e-05/0.5025, allocations: 12.52 kB / 454 MB, free: 6.812 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003055/0.5029, allocations: 120.2 kB / 454.1 MB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.5029, allocations: 8 kB / 454.1 MB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.081e-06/0.5029, allocations: 0 / 454.1 MB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.506e-06/0.5029, allocations: 0 / 454.1 MB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006406/0.5036, allocations: 411.3 kB / 454.5 MB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.798e-06/0.5036, allocations: 3.984 kB / 454.5 MB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.121e-05/0.5037, allocations: 8 kB / 454.5 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.635e-06/0.5037, allocations: 0 / 454.5 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.5037, allocations: 4 kB / 454.5 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.5037, allocations: 0 / 454.5 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.422e-06/0.5038, allocations: 4.219 kB / 454.5 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003174/0.5041, allocations: 223.6 kB / 454.7 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.5042, allocations: 100.9 kB / 454.8 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.923e-05/0.5043, allocations: 7.984 kB / 454.9 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.5044, allocations: 8 kB / 454.9 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/0.5045, allocations: 15.92 kB / 454.9 MB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.5045, allocations: 0 / 454.9 MB, free: 5.812 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001764/0.5047, allocations: 147.9 kB / 455 MB, free: 5.668 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.35e-07/0.5047, allocations: 0 / 455 MB, free: 5.668 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004105/0.5051, allocations: 43.94 kB / 455.1 MB, free: 5.625 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.001429/0.5066, allocations: 425.6 kB / 455.5 MB, free: 5.289 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003386/0.5069, allocations: 167.3 kB / 455.6 MB, free: 5.113 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.7e-06/0.5069, allocations: 4 kB / 455.6 MB, free: 5.109 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.487e-05/0.507, allocations: 27.94 kB / 455.7 MB, free: 5.082 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.5074, allocations: 23.94 kB / 455.7 MB, free: 5.059 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005299/0.5079, allocations: 196.3 kB / 455.9 MB, free: 4.836 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/0.5083, allocations: 0.7162 MB / 456.6 MB, free: 4.094 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.491e-05/0.5084, allocations: 19.42 kB / 456.6 MB, free: 4.078 MB / 378.7 MB Notification: Performance of SimCode: time 1.664e-06/0.5084, allocations: 0 / 456.6 MB, free: 4.078 MB / 378.7 MB Notification: Performance of Templates: time 0.004764/0.5132, allocations: 1.952 MB / 458.6 MB, free: 2.129 MB / 378.7 MB