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.14/2.14, allocations: 234.9 MB / 250.5 MB, free: 10.51 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004503/0.0004504, allocations: 12 kB / 314.4 MB, free: 10.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2753, allocations: 54.88 MB / 369.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1672/0.4426, allocations: 82.11 MB / 451.4 MB, free: 8.602 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.4428, allocations: 75.91 kB / 451.5 MB, free: 8.527 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.01853/0.4614, allocations: 4.477 MB / 455.9 MB, free: 4.043 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.619e-06/0.4614, allocations: 4 kB / 456 MB, free: 4.039 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.538e-05/0.4614, allocations: 4 kB / 456 MB, free: 4.035 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.0006133/0.4621, allocations: 470.2 kB / 456.4 MB, free: 3.516 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.4621, allocations: 8.031 kB / 456.4 MB, free: 3.508 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.244e-05/0.4622, allocations: 11.81 kB / 456.4 MB, free: 3.496 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/0.4625, allocations: 210.8 kB / 456.6 MB, free: 3.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.4626, allocations: 4 kB / 456.6 MB, free: 3.246 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.4626, allocations: 4 kB / 456.6 MB, free: 3.242 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.4628, allocations: 57.67 kB / 456.7 MB, free: 3.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.4628, allocations: 4 kB / 456.7 MB, free: 3.176 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.4628, allocations: 3.953 kB / 456.7 MB, free: 3.172 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.413e-06/0.4628, allocations: 0 / 456.7 MB, free: 3.172 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.463, allocations: 23.98 kB / 456.7 MB, free: 3.148 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004945/0.4635, allocations: 308.8 kB / 457 MB, free: 2.797 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.4637, allocations: 58.69 kB / 457.1 MB, free: 2.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.4637, allocations: 3.984 kB / 457.1 MB, free: 2.727 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001869/0.4639, allocations: 80.06 kB / 457.2 MB, free: 2.637 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.422e-06/0.464, allocations: 0 / 457.2 MB, free: 2.637 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007011/0.4647, allocations: 185.5 kB / 457.4 MB, free: 2.449 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.4647, allocations: 59.34 kB / 457.4 MB, free: 2.379 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/0.465, allocations: 165.3 kB / 457.6 MB, free: 2.211 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.4651, allocations: 25.7 kB / 457.6 MB, free: 2.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.4652, allocations: 170.5 kB / 457.8 MB, free: 2.012 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.919e-05/0.4652, allocations: 27.64 kB / 457.8 MB, free: 1.984 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.078e-06/0.4653, allocations: 0 / 457.8 MB, free: 1.984 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4654, allocations: 326.8 kB / 458.1 MB, free: 1.656 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.4656, allocations: 35.98 kB / 458.1 MB, free: 1.621 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.4657, allocations: 57.69 kB / 458.2 MB, free: 1.559 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.4659, allocations: 69.7 kB / 458.3 MB, free: 1.484 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.085e-06/0.4659, allocations: 0 / 458.3 MB, free: 1.484 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004118/0.4663, allocations: 175.3 kB / 458.4 MB, free: 1.301 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.917e-05/0.4664, allocations: 37.66 kB / 458.5 MB, free: 1.258 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.708e-06/0.4664, allocations: 3.984 kB / 458.5 MB, free: 1.254 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.4664, allocations: 0 / 458.5 MB, free: 1.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.4666, allocations: 20.06 kB / 458.5 MB, free: 1.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.357e-06/0.4666, allocations: 4.031 kB / 458.5 MB, free: 1.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.594e-05/0.4667, allocations: 8 kB / 458.5 MB, free: 1.223 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.4667, allocations: 7.984 kB / 458.5 MB, free: 1.215 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.0001412/0.4669, allocations: 125.8 kB / 458.6 MB, free: 1.082 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/0.4669, allocations: 11.81 kB / 458.7 MB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003839/0.4673, allocations: 134.2 kB / 458.8 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.791e-06/0.4673, allocations: 0 / 458.8 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.122e-06/0.4673, allocations: 0 / 458.8 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.497e-06/0.4674, allocations: 7.984 kB / 458.8 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000661/0.468, allocations: 403.3 kB / 459.2 MB, free: 472 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.59e-06/0.4681, allocations: 4 kB / 459.2 MB, free: 468 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.081e-05/0.4681, allocations: 15.98 kB / 459.2 MB, free: 452 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.196e-06/0.4681, allocations: 0 / 459.2 MB, free: 452 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.4682, allocations: 4 kB / 459.2 MB, free: 448 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.788e-06/0.4682, allocations: 3.938 kB / 459.2 MB, free: 444 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.82e-06/0.4682, allocations: 0 / 459.2 MB, free: 444 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003521/0.4686, allocations: 229.9 kB / 459.4 MB, free: 188 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.4687, allocations: 96.91 kB / 459.5 MB, free: 72 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.4687, allocations: 8 kB / 459.5 MB, free: 64 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.4688, allocations: 288 / 459.5 MB, free: 64 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.4689, allocations: 7.984 kB / 459.6 MB, free: 56 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.4689, allocations: 8 kB / 459.6 MB, free: 48 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001908/0.4691, allocations: 143.2 kB / 459.7 MB, free: 15.9 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.42e-07/0.4691, allocations: 0 / 459.7 MB, free: 15.9 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003891/0.4695, allocations: 39.92 kB / 459.7 MB, free: 15.86 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.001536/0.4711, allocations: 456.5 kB / 460.2 MB, free: 15.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004059/0.4715, allocations: 171.3 kB / 460.4 MB, free: 15.32 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.589e-06/0.4715, allocations: 4 kB / 460.4 MB, free: 15.32 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.4717, allocations: 31.98 kB / 460.4 MB, free: 15.29 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.472, allocations: 23.88 kB / 460.4 MB, free: 15.26 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000589/0.4726, allocations: 279.9 kB / 460.7 MB, free: 14.95 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/0.473, allocations: 0.7083 MB / 461.4 MB, free: 14.21 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.427e-05/0.4731, allocations: 19.42 kB / 461.4 MB, free: 14.2 MB / 394.7 MB Notification: Performance of SimCode: time 1.413e-06/0.4731, allocations: 0 / 461.4 MB, free: 14.2 MB / 394.7 MB Notification: Performance of Templates: time 0.004574/0.4777, allocations: 1.928 MB / 463.3 MB, free: 12.28 MB / 394.7 MB