Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,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.Test59") Notification: Performance of loadModel(ModelicaTest): time 2.665/2.665, allocations: 234.9 MB / 251.1 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004407/0.0004408, allocations: 12 kB / 314.9 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3777, allocations: 54.87 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1489/0.5267, allocations: 82.35 MB / 452.2 MB, free: 8.258 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/0.5271, allocations: 83.89 kB / 452.2 MB, free: 8.176 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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.02336/0.5504, allocations: 5.15 MB / 457.4 MB, free: 3.016 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5505, allocations: 0 / 457.4 MB, free: 3.016 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.807e-05/0.5505, allocations: 3.984 kB / 457.4 MB, free: 3.012 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.0007435/0.5513, allocations: 474.1 kB / 457.9 MB, free: 2.488 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.5513, allocations: 16.03 kB / 457.9 MB, free: 2.473 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.874e-05/0.5514, allocations: 7.906 kB / 457.9 MB, free: 2.465 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004157/0.5518, allocations: 191 kB / 458.1 MB, free: 2.238 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.5519, allocations: 4 kB / 458.1 MB, free: 2.234 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.082e-05/0.5519, allocations: 7.906 kB / 458.1 MB, free: 2.227 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.5522, allocations: 68.23 kB / 458.1 MB, free: 2.148 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.5522, allocations: 0 / 458.1 MB, free: 2.148 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.5523, allocations: 7.953 kB / 458.2 MB, free: 2.141 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.5523, allocations: 0 / 458.2 MB, free: 2.141 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.5525, allocations: 27.92 kB / 458.2 MB, free: 2.113 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000579/0.5531, allocations: 296.8 kB / 458.5 MB, free: 1.773 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003191/0.5534, allocations: 62.67 kB / 458.5 MB, free: 1.703 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.5534, allocations: 4 kB / 458.5 MB, free: 1.699 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002414/0.5537, allocations: 75.28 kB / 458.6 MB, free: 1.613 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.706e-06/0.5537, allocations: 0 / 458.6 MB, free: 1.613 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001021/0.5548, allocations: 181.3 kB / 458.8 MB, free: 1.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.044e-05/0.5548, allocations: 77.11 kB / 458.9 MB, free: 1.336 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.5551, allocations: 150.1 kB / 459 MB, free: 1.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.5552, allocations: 29.7 kB / 459 MB, free: 1.145 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.751e-05/0.5553, allocations: 166.4 kB / 459.2 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.089e-05/0.5554, allocations: 27.64 kB / 459.2 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.662e-05/0.5554, allocations: 4 kB / 459.2 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.5556, allocations: 314.8 kB / 459.5 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.5558, allocations: 31.98 kB / 459.6 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.556, allocations: 58.48 kB / 459.6 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/0.5562, allocations: 65.73 kB / 459.7 MB, free: 476 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5563, allocations: 0 / 459.7 MB, free: 476 kB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005811/0.5569, allocations: 163.2 kB / 459.8 MB, free: 300 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.217e-05/0.5569, allocations: 33.7 kB / 459.9 MB, free: 260 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.557, allocations: 384 / 459.9 MB, free: 260 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.557, allocations: 0 / 459.9 MB, free: 260 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.5572, allocations: 23.92 kB / 459.9 MB, free: 236 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.5573, allocations: 4 kB / 459.9 MB, free: 232 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.5574, allocations: 4 kB / 459.9 MB, free: 228 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/0.5575, allocations: 8 kB / 459.9 MB, free: 220 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.000175/0.5576, allocations: 125.9 kB / 460 MB, free: 84 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.813e-05/0.5577, allocations: 11.86 kB / 460.1 MB, free: 72 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005761/0.5583, allocations: 122.2 kB / 460.2 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.5583, allocations: 3.984 kB / 460.2 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.5584, allocations: 4 kB / 460.2 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.5584, allocations: 0 / 460.2 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009682/0.5594, allocations: 411.2 kB / 460.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.5594, allocations: 4 kB / 460.6 MB, free: 15.47 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.5595, allocations: 8 kB / 460.6 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.5595, allocations: 0 / 460.6 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/0.5596, allocations: 4 kB / 460.6 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.5596, allocations: 0 / 460.6 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.854e-06/0.5596, allocations: 0 / 460.6 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005331/0.5602, allocations: 220.4 kB / 460.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.5603, allocations: 89 kB / 460.9 MB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.873e-05/0.5604, allocations: 8.094 kB / 460.9 MB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.5606, allocations: 3.938 kB / 460.9 MB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/0.5607, allocations: 11.92 kB / 460.9 MB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.5607, allocations: 8 kB / 460.9 MB, free: 15.09 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000181/0.5609, allocations: 111.2 kB / 461 MB, free: 14.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.92e-07/0.5609, allocations: 0 / 461 MB, free: 14.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000716/0.5617, allocations: 59.92 kB / 461.1 MB, free: 14.92 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.002362/0.5641, allocations: 0.536 MB / 461.6 MB, free: 14.46 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005664/0.5647, allocations: 155.3 kB / 461.8 MB, free: 14.29 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.5647, allocations: 0 / 461.8 MB, free: 14.29 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001761/0.5649, allocations: 39.91 kB / 461.8 MB, free: 14.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/0.5653, allocations: 19.94 kB / 461.8 MB, free: 14.23 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007292/0.5661, allocations: 236.2 kB / 462.1 MB, free: 13.96 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.5665, allocations: 0.7004 MB / 462.8 MB, free: 13.24 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.078e-05/0.5666, allocations: 27.42 kB / 462.8 MB, free: 13.21 MB / 394.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5666, allocations: 192 / 462.8 MB, free: 13.21 MB / 394.7 MB Notification: Performance of Templates: time 0.007664/0.5743, allocations: 2.11 MB / 464.9 MB, free: 11.1 MB / 394.7 MB