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.Test57.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.Test57,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.Test57") Notification: Performance of loadModel(ModelicaTest): time 2.479/2.479, allocations: 234.9 MB / 250.5 MB, free: 9.465 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006566/0.0006568, allocations: 16 kB / 314.4 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3018, allocations: 54.86 MB / 369.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1259/0.4278, allocations: 82.35 MB / 451.6 MB, free: 8.207 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/0.4281, allocations: 75.97 kB / 451.7 MB, free: 8.133 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.02088/0.449, allocations: 5.163 MB / 456.9 MB, free: 2.961 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.534e-06/0.449, allocations: 0 / 456.9 MB, free: 2.961 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.449, allocations: 4 kB / 456.9 MB, free: 2.957 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.0006419/0.4497, allocations: 474.2 kB / 457.3 MB, free: 2.434 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.4497, allocations: 12.03 kB / 457.4 MB, free: 2.422 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.065e-05/0.4498, allocations: 7.906 kB / 457.4 MB, free: 2.414 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.4501, allocations: 187 kB / 457.5 MB, free: 2.191 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.4502, allocations: 7.984 kB / 457.6 MB, free: 2.184 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.4502, allocations: 7.906 kB / 457.6 MB, free: 2.176 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.4504, allocations: 72.17 kB / 457.6 MB, free: 2.094 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.4504, allocations: 3.938 kB / 457.6 MB, free: 2.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.4505, allocations: 3.953 kB / 457.6 MB, free: 2.086 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.15e-06/0.4505, allocations: 8 kB / 457.6 MB, free: 2.078 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.4506, allocations: 23.98 kB / 457.7 MB, free: 2.055 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004643/0.4511, allocations: 292.9 kB / 458 MB, free: 1.719 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.4513, allocations: 58.62 kB / 458 MB, free: 1.652 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.4513, allocations: 0 / 458 MB, free: 1.652 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001887/0.4515, allocations: 83.45 kB / 458.1 MB, free: 1.559 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 4.442e-06/0.4516, allocations: 3.984 kB / 458.1 MB, free: 1.555 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007463/0.4523, allocations: 177.3 kB / 458.3 MB, free: 1.375 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/0.4524, allocations: 77.11 kB / 458.3 MB, free: 1.281 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.4526, allocations: 138.3 kB / 458.5 MB, free: 1.137 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.4526, allocations: 25.7 kB / 458.5 MB, free: 1.105 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.388e-05/0.4527, allocations: 166.5 kB / 458.7 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/0.4528, allocations: 27.64 kB / 458.7 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.151e-05/0.4528, allocations: 4 kB / 458.7 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.453, allocations: 318.8 kB / 459 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.4531, allocations: 31.98 kB / 459 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.4532, allocations: 54.5 kB / 459.1 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.4534, allocations: 69.72 kB / 459.2 MB, free: 432 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.962e-06/0.4534, allocations: 0 / 459.2 MB, free: 432 kB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000373/0.4538, allocations: 159.3 kB / 459.3 MB, free: 260 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.708e-05/0.4539, allocations: 33.7 kB / 459.4 MB, free: 220 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.036e-06/0.4539, allocations: 3.984 kB / 459.4 MB, free: 216 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.4539, allocations: 0 / 459.4 MB, free: 216 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.454, allocations: 12 kB / 459.4 MB, free: 204 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.411e-06/0.4541, allocations: 4 kB / 459.4 MB, free: 200 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.725e-05/0.4542, allocations: 8 kB / 459.4 MB, free: 192 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.4542, allocations: 7.984 kB / 459.4 MB, free: 184 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.0001385/0.4543, allocations: 126.5 kB / 459.5 MB, free: 48 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.4544, allocations: 11.86 kB / 459.5 MB, free: 36 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003803/0.4548, allocations: 122.3 kB / 459.6 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.4548, allocations: 0 / 459.6 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.327e-06/0.4548, allocations: 7.875 kB / 459.7 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.4548, allocations: 0 / 459.7 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006953/0.4555, allocations: 411.3 kB / 460.1 MB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.9e-06/0.4556, allocations: 3.938 kB / 460.1 MB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.339e-05/0.4556, allocations: 8 kB / 460.1 MB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.578e-06/0.4557, allocations: 4 kB / 460.1 MB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.4557, allocations: 3.984 kB / 460.1 MB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.548e-06/0.4557, allocations: 0 / 460.1 MB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.375e-06/0.4557, allocations: 4 kB / 460.1 MB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000362/0.4561, allocations: 225.9 kB / 460.3 MB, free: 15.17 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.841e-05/0.4562, allocations: 93 kB / 460.4 MB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.4562, allocations: 0 / 460.4 MB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.4564, allocations: 7.984 kB / 460.4 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/0.4564, allocations: 8.375 kB / 460.4 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.4565, allocations: 4 kB / 460.4 MB, free: 15.04 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001333/0.4566, allocations: 112.6 kB / 460.5 MB, free: 14.93 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.92e-07/0.4566, allocations: 4 kB / 460.5 MB, free: 14.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004386/0.4571, allocations: 55.94 kB / 460.6 MB, free: 14.88 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.001867/0.4589, allocations: 0.5519 MB / 461.1 MB, free: 14.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004046/0.4594, allocations: 151.4 kB / 461.3 MB, free: 14.24 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.383e-06/0.4594, allocations: 0 / 461.3 MB, free: 14.24 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.4595, allocations: 35.92 kB / 461.3 MB, free: 14.21 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.4599, allocations: 20.11 kB / 461.3 MB, free: 14.19 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005621/0.4604, allocations: 236.1 kB / 461.6 MB, free: 13.91 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.4609, allocations: 0.7082 MB / 462.3 MB, free: 13.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.63e-05/0.4609, allocations: 15.44 kB / 462.3 MB, free: 13.16 MB / 394.7 MB Notification: Performance of SimCode: time 1.391e-06/0.461, allocations: 3.938 kB / 462.3 MB, free: 13.16 MB / 394.7 MB Notification: Performance of Templates: time 0.005082/0.466, allocations: 2.09 MB / 464.4 MB, free: 11.07 MB / 394.7 MB