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.Test1.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.Test1,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.Test1") Notification: Performance of loadModel(ModelicaTest): time 2.175/2.175, allocations: 234.9 MB / 250.5 MB, free: 9.535 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009399/0.00094, allocations: 12 kB / 314.4 MB, free: 9.535 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3535, allocations: 54.86 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1248/0.4784, allocations: 82.14 MB / 451.4 MB, free: 8.453 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/0.4787, allocations: 79.84 kB / 451.5 MB, free: 8.375 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.02022/0.4989, allocations: 4.884 MB / 456.4 MB, free: 3.477 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.652e-06/0.499, allocations: 0 / 456.4 MB, free: 3.477 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.859e-05/0.499, allocations: 4 kB / 456.4 MB, free: 3.473 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.000685/0.4997, allocations: 497.9 kB / 456.9 MB, free: 2.926 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.4998, allocations: 12.03 kB / 456.9 MB, free: 2.914 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.617e-05/0.4998, allocations: 11.81 kB / 456.9 MB, free: 2.902 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/0.5002, allocations: 218.8 kB / 457.1 MB, free: 2.648 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.5002, allocations: 4 kB / 457.1 MB, free: 2.645 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.193e-05/0.5003, allocations: 8 kB / 457.1 MB, free: 2.637 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.5005, allocations: 49.67 kB / 457.2 MB, free: 2.582 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.5005, allocations: 7.984 kB / 457.2 MB, free: 2.574 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.5005, allocations: 11.95 kB / 457.2 MB, free: 2.562 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.404e-06/0.5005, allocations: 0 / 457.2 MB, free: 2.562 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.86e-05/0.5006, allocations: 19.98 kB / 457.2 MB, free: 2.543 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005448/0.5012, allocations: 328.8 kB / 457.5 MB, free: 2.172 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000257/0.5015, allocations: 66.61 kB / 457.6 MB, free: 2.098 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.5015, allocations: 4 kB / 457.6 MB, free: 2.094 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.5017, allocations: 76.12 kB / 457.7 MB, free: 2.008 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.523e-06/0.5017, allocations: 0 / 457.7 MB, free: 2.008 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007296/0.5025, allocations: 189 kB / 457.9 MB, free: 1.816 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.5025, allocations: 55.41 kB / 457.9 MB, free: 1.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003538/0.5029, allocations: 229.7 kB / 458.1 MB, free: 1.512 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.503, allocations: 29.7 kB / 458.2 MB, free: 1.477 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.5031, allocations: 178.5 kB / 458.3 MB, free: 1.301 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.992e-05/0.5031, allocations: 31.58 kB / 458.4 MB, free: 1.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.754e-06/0.5032, allocations: 0 / 458.4 MB, free: 1.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.5033, allocations: 314.8 kB / 458.7 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.5035, allocations: 39.97 kB / 458.7 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.5036, allocations: 53.7 kB / 458.8 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.5038, allocations: 77.69 kB / 458.8 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.905e-06/0.5038, allocations: 0 / 458.8 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004223/0.5043, allocations: 179.2 kB / 459 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.067e-05/0.5043, allocations: 37.66 kB / 459.1 MB, free: 0.543 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.637e-06/0.5043, allocations: 0 / 459.1 MB, free: 0.543 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.5044, allocations: 0 / 459.1 MB, free: 0.543 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.5045, allocations: 15.98 kB / 459.1 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.603e-06/0.5045, allocations: 4 kB / 459.1 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.5046, allocations: 8 kB / 459.1 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.5047, allocations: 4 kB / 459.1 MB, free: 0.5117 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 () * 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.0001621/0.5048, allocations: 141.8 kB / 459.2 MB, free: 372 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.5049, allocations: 15.81 kB / 459.2 MB, free: 356 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003788/0.5053, allocations: 139 kB / 459.4 MB, free: 212 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.725e-06/0.5053, allocations: 0 / 459.4 MB, free: 212 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.542e-06/0.5053, allocations: 0 / 459.4 MB, free: 212 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.64e-06/0.5053, allocations: 4 kB / 459.4 MB, free: 208 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007402/0.5061, allocations: 435.2 kB / 459.8 MB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.649e-06/0.5061, allocations: 0 / 459.8 MB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.026e-05/0.5062, allocations: 19.98 kB / 459.8 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.5062, allocations: 0 / 459.8 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.5062, allocations: 0 / 459.8 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.277e-06/0.5062, allocations: 7.938 kB / 459.8 MB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.018e-06/0.5062, allocations: 0 / 459.8 MB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004247/0.5067, allocations: 234 kB / 460.1 MB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.5068, allocations: 104.9 kB / 460.2 MB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.595e-05/0.5069, allocations: 4.469 kB / 460.2 MB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.507, allocations: 7.938 kB / 460.2 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.5071, allocations: 7.984 kB / 460.2 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.5071, allocations: 8 kB / 460.2 MB, free: 15.29 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002622/0.5074, allocations: 192.2 kB / 460.4 MB, free: 15.1 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.97e-07/0.5074, allocations: 4 kB / 460.4 MB, free: 15.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004185/0.5078, allocations: 43.92 kB / 460.4 MB, free: 15.05 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.001596/0.5094, allocations: 449.7 kB / 460.9 MB, free: 14.69 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004341/0.5099, allocations: 167.4 kB / 461 MB, free: 14.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.5e-06/0.5099, allocations: 3.938 kB / 461 MB, free: 14.51 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.51, allocations: 40.05 kB / 461.1 MB, free: 14.47 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.5104, allocations: 28.06 kB / 461.1 MB, free: 14.44 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007368/0.5111, allocations: 352.7 kB / 461.4 MB, free: 14.06 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.5116, allocations: 0.7238 MB / 462.2 MB, free: 13.31 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.833e-05/0.5116, allocations: 15.44 kB / 462.2 MB, free: 13.3 MB / 394.7 MB Notification: Performance of SimCode: time 1.725e-06/0.5116, allocations: 0 / 462.2 MB, free: 13.3 MB / 394.7 MB Notification: Performance of Templates: time 0.005132/0.5168, allocations: 2.143 MB / 464.3 MB, free: 11.16 MB / 394.7 MB