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.Test55.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.Test55,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.Test55") Notification: Performance of loadModel(ModelicaTest): time 2.823/2.823, allocations: 234.9 MB / 251.1 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006074/0.0006076, allocations: 12 kB / 314.9 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.387, allocations: 54.86 MB / 369.8 MB, free: 12.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1562/0.5433, allocations: 82.35 MB / 452.2 MB, free: 10.3 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/0.5437, allocations: 79.91 kB / 452.2 MB, free: 10.22 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.02481/0.5685, allocations: 5.149 MB / 457.4 MB, free: 5.059 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.5686, allocations: 0 / 457.4 MB, free: 5.059 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.151e-05/0.5686, allocations: 3.938 kB / 457.4 MB, free: 5.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.0007335/0.5694, allocations: 474.2 kB / 457.9 MB, free: 4.531 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.5694, allocations: 8.031 kB / 457.9 MB, free: 4.523 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.991e-05/0.5695, allocations: 7.906 kB / 457.9 MB, free: 4.516 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003677/0.5699, allocations: 195 kB / 458.1 MB, free: 4.285 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.5699, allocations: 7.938 kB / 458.1 MB, free: 4.277 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.567e-05/0.57, allocations: 11.91 kB / 458.1 MB, free: 4.266 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.5702, allocations: 76.16 kB / 458.2 MB, free: 4.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.5703, allocations: 0 / 458.2 MB, free: 4.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.5703, allocations: 3.953 kB / 458.2 MB, free: 4.176 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.5703, allocations: 0 / 458.2 MB, free: 4.176 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.5704, allocations: 19.98 kB / 458.2 MB, free: 4.156 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005721/0.571, allocations: 300.9 kB / 458.5 MB, free: 3.812 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/0.5713, allocations: 62.61 kB / 458.5 MB, free: 3.742 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.5714, allocations: 0 / 458.5 MB, free: 3.742 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002636/0.5716, allocations: 71.34 kB / 458.6 MB, free: 3.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.434e-06/0.5717, allocations: 4 kB / 458.6 MB, free: 3.656 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008976/0.5726, allocations: 181.6 kB / 458.8 MB, free: 3.473 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.5727, allocations: 77.11 kB / 458.9 MB, free: 3.379 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002239/0.5729, allocations: 145.4 kB / 459 MB, free: 3.227 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.5729, allocations: 33.7 kB / 459 MB, free: 3.188 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.646e-05/0.573, allocations: 166.4 kB / 459.2 MB, free: 3.023 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.24e-05/0.5731, allocations: 23.66 kB / 459.2 MB, free: 3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.646e-06/0.5731, allocations: 4 kB / 459.2 MB, free: 2.996 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.5733, allocations: 322.8 kB / 459.5 MB, free: 2.672 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.5734, allocations: 27.98 kB / 459.6 MB, free: 2.645 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.5736, allocations: 54.56 kB / 459.6 MB, free: 2.582 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.5738, allocations: 73.62 kB / 459.7 MB, free: 2.504 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.5738, allocations: 0 / 459.7 MB, free: 2.504 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004406/0.5742, allocations: 151.4 kB / 459.8 MB, free: 2.344 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.218e-05/0.5743, allocations: 41.75 kB / 459.9 MB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.5743, allocations: 11.94 kB / 459.9 MB, free: 2.285 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.5744, allocations: 0 / 459.9 MB, free: 2.285 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.5745, allocations: 12 kB / 459.9 MB, free: 2.273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.5746, allocations: 0 / 459.9 MB, free: 2.273 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.5747, allocations: 7.984 kB / 459.9 MB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.5747, allocations: 8 kB / 459.9 MB, free: 2.258 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.0001635/0.5749, allocations: 121.8 kB / 460 MB, free: 2.129 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/0.5749, allocations: 15.8 kB / 460.1 MB, free: 2.113 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004296/0.5754, allocations: 126.2 kB / 460.2 MB, free: 1.984 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.5754, allocations: 4 kB / 460.2 MB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.5754, allocations: 0 / 460.2 MB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.5755, allocations: 3.984 kB / 460.2 MB, free: 1.977 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007416/0.5762, allocations: 407.3 kB / 460.6 MB, free: 1.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.5762, allocations: 0 / 460.6 MB, free: 1.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.296e-05/0.5763, allocations: 11.94 kB / 460.6 MB, free: 1.508 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/0.5763, allocations: 8.016 kB / 460.6 MB, free: 1.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.5764, allocations: 8 kB / 460.6 MB, free: 1.492 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.5764, allocations: 0 / 460.6 MB, free: 1.492 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.5764, allocations: 0 / 460.6 MB, free: 1.492 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003927/0.5768, allocations: 208.4 kB / 460.8 MB, free: 1.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.5769, allocations: 97 kB / 460.9 MB, free: 1.156 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/0.577, allocations: 8.078 kB / 460.9 MB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.5771, allocations: 11.94 kB / 460.9 MB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.216e-05/0.5772, allocations: 4 kB / 460.9 MB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.5772, allocations: 7.984 kB / 460.9 MB, free: 1.125 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001563/0.5774, allocations: 107.3 kB / 461 MB, free: 1.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.5774, allocations: 0 / 461 MB, free: 1.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004518/0.5778, allocations: 51.98 kB / 461.1 MB, free: 0.9688 MB / 378.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.001738/0.5796, allocations: 0.5393 MB / 461.6 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005621/0.5802, allocations: 155.3 kB / 461.8 MB, free: 356 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.5802, allocations: 0 / 461.8 MB, free: 356 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.5804, allocations: 35.92 kB / 461.8 MB, free: 320 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.5808, allocations: 19.94 kB / 461.8 MB, free: 300 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006734/0.5814, allocations: 240.2 kB / 462.1 MB, free: 20 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.5819, allocations: 0.7043 MB / 462.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.201e-05/0.582, allocations: 15.44 kB / 462.8 MB, free: 15.27 MB / 394.7 MB Notification: Performance of SimCode: time 1.292e-06/0.582, allocations: 192 / 462.8 MB, free: 15.27 MB / 394.7 MB Notification: Performance of Templates: time 0.006658/0.5886, allocations: 2.114 MB / 464.9 MB, free: 13.16 MB / 394.7 MB