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.Test2.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.Test2,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.Test2") Notification: Performance of loadModel(ModelicaTest): time 2.541/2.541, allocations: 234.9 MB / 251.1 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005014/0.0005016, allocations: 16 kB / 314.9 MB, free: 9.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3653, allocations: 54.87 MB / 369.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1541/0.5195, allocations: 82.09 MB / 451.9 MB, free: 8.547 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003168/0.5199, allocations: 79.95 kB / 452 MB, free: 8.469 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.02945/0.5493, allocations: 4.398 MB / 456.4 MB, free: 4.059 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.5494, allocations: 0 / 456.4 MB, free: 4.059 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.678e-05/0.5494, allocations: 4 kB / 456.4 MB, free: 4.055 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.0008709/0.5503, allocations: 470.2 kB / 456.8 MB, free: 3.535 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/0.5504, allocations: 8.031 kB / 456.8 MB, free: 3.527 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.2e-05/0.5505, allocations: 11.89 kB / 456.9 MB, free: 3.516 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004892/0.551, allocations: 202.9 kB / 457.1 MB, free: 3.277 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.5511, allocations: 0 / 457.1 MB, free: 3.277 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.145e-05/0.5511, allocations: 8 kB / 457.1 MB, free: 3.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/0.5514, allocations: 65.61 kB / 457.1 MB, free: 3.199 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.5515, allocations: 0 / 457.1 MB, free: 3.199 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.5515, allocations: 0 / 457.1 MB, free: 3.199 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/0.5515, allocations: 0 / 457.1 MB, free: 3.199 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000176/0.5517, allocations: 23.92 kB / 457.2 MB, free: 3.176 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006801/0.5524, allocations: 300.9 kB / 457.4 MB, free: 2.832 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004021/0.5528, allocations: 70.62 kB / 457.5 MB, free: 2.754 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.5529, allocations: 0 / 457.5 MB, free: 2.754 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000291/0.5532, allocations: 68.05 kB / 457.6 MB, free: 2.676 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.587e-06/0.5532, allocations: 7.938 kB / 457.6 MB, free: 2.668 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001191/0.5544, allocations: 185.1 kB / 457.8 MB, free: 2.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/0.5545, allocations: 51.41 kB / 457.8 MB, free: 2.418 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003049/0.5548, allocations: 160.2 kB / 458 MB, free: 2.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.288e-05/0.5549, allocations: 37.62 kB / 458 MB, free: 2.207 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.555, allocations: 162.5 kB / 458.2 MB, free: 2.047 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.065e-05/0.5551, allocations: 23.66 kB / 458.2 MB, free: 2.023 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.515e-05/0.5551, allocations: 0 / 458.2 MB, free: 2.023 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.5553, allocations: 322.8 kB / 458.5 MB, free: 1.699 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.5556, allocations: 35.98 kB / 458.5 MB, free: 1.664 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/0.5558, allocations: 53.69 kB / 458.6 MB, free: 1.605 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002797/0.5562, allocations: 73.7 kB / 458.7 MB, free: 1.527 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5562, allocations: 0 / 458.7 MB, free: 1.527 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006509/0.5568, allocations: 187.2 kB / 458.9 MB, free: 1.332 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.185e-05/0.5569, allocations: 37.69 kB / 458.9 MB, free: 1.289 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.5569, allocations: 0 / 458.9 MB, free: 1.289 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.557, allocations: 4 kB / 458.9 MB, free: 1.285 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.5571, allocations: 16 kB / 458.9 MB, free: 1.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.5571, allocations: 3.938 kB / 458.9 MB, free: 1.266 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.5573, allocations: 12.02 kB / 458.9 MB, free: 1.254 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.5573, allocations: 8 kB / 458.9 MB, free: 1.246 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.0001465/0.5575, allocations: 121.8 kB / 459.1 MB, free: 1.117 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/0.5575, allocations: 15.84 kB / 459.1 MB, free: 1.102 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004001/0.5579, allocations: 118.3 kB / 459.2 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.5579, allocations: 0 / 459.2 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.5579, allocations: 3.984 kB / 459.2 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.558, allocations: 0 / 459.2 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006829/0.5587, allocations: 407.3 kB / 459.6 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.5587, allocations: 0 / 459.6 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.103e-05/0.5588, allocations: 8 kB / 459.6 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.5588, allocations: 0 / 459.6 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.5588, allocations: 7.984 kB / 459.6 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.5588, allocations: 0 / 459.6 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.5588, allocations: 3.938 kB / 459.6 MB, free: 0.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003697/0.5592, allocations: 220.3 kB / 459.8 MB, free: 272 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.893e-05/0.5593, allocations: 97.09 kB / 459.9 MB, free: 156 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.376e-05/0.5593, allocations: 3.938 kB / 459.9 MB, free: 152 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.5595, allocations: 7.984 kB / 459.9 MB, free: 144 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.5595, allocations: 8 kB / 459.9 MB, free: 136 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.5596, allocations: 0 / 459.9 MB, free: 136 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001339/0.5597, allocations: 126.4 kB / 460.1 MB, free: 12 kB / 378.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.5597, allocations: 4 kB / 460.1 MB, free: 8 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004137/0.5601, allocations: 39.92 kB / 460.1 MB, free: 15.97 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.001394/0.5615, allocations: 454.6 kB / 460.5 MB, free: 15.6 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000481/0.562, allocations: 167.3 kB / 460.7 MB, free: 15.42 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.5621, allocations: 4 kB / 460.7 MB, free: 15.42 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.5622, allocations: 36.05 kB / 460.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.5626, allocations: 23.88 kB / 460.8 MB, free: 15.36 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006351/0.5632, allocations: 244.2 kB / 461 MB, free: 15.08 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.5635, allocations: 0.7043 MB / 461.7 MB, free: 14.35 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.559e-05/0.5636, allocations: 15.44 kB / 461.7 MB, free: 14.33 MB / 394.7 MB Notification: Performance of SimCode: time 1.012e-06/0.5636, allocations: 0 / 461.7 MB, free: 14.33 MB / 394.7 MB Notification: Performance of Templates: time 0.005512/0.5691, allocations: 1.877 MB / 463.6 MB, free: 12.46 MB / 394.7 MB