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.Test16.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.Test16,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.Test16") Notification: Performance of loadModel(ModelicaTest): time 2.327/2.327, allocations: 235 MB / 248.1 MB, free: 14.32 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.027e-05/3.042e-05, allocations: 4 kB / 309.7 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3206, allocations: 54.86 MB / 364.5 MB, free: 5.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.123/0.4437, allocations: 82.03 MB / 446.6 MB, free: 14.45 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.444, allocations: 67.97 kB / 446.6 MB, free: 14.38 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.01914/0.4631, allocations: 4.406 MB / 451 MB, free: 10 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.915e-06/0.4632, allocations: 3.938 kB / 451.1 MB, free: 9.996 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.726e-05/0.4632, allocations: 4 kB / 451.1 MB, free: 9.992 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.0005795/0.4638, allocations: 455.5 kB / 451.5 MB, free: 9.492 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.4638, allocations: 11.97 kB / 451.5 MB, free: 9.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.995e-05/0.4639, allocations: 7.906 kB / 451.5 MB, free: 9.473 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003525/0.4643, allocations: 211.4 kB / 451.7 MB, free: 9.223 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.4643, allocations: 4 kB / 451.7 MB, free: 9.219 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.4643, allocations: 4 kB / 451.7 MB, free: 9.215 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.4645, allocations: 54.3 kB / 451.8 MB, free: 9.156 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.4645, allocations: 4 kB / 451.8 MB, free: 9.152 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.4645, allocations: 7.953 kB / 451.8 MB, free: 9.145 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.44e-06/0.4646, allocations: 0 / 451.8 MB, free: 9.145 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.194e-05/0.4647, allocations: 27.97 kB / 451.8 MB, free: 9.117 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004788/0.4651, allocations: 300.9 kB / 452.1 MB, free: 8.773 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.4653, allocations: 58.62 kB / 452.2 MB, free: 8.707 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.51e-05/0.4654, allocations: 20.98 kB / 452.2 MB, free: 8.684 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.4654, allocations: 7.953 kB / 452.2 MB, free: 8.676 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001604/0.4656, allocations: 71.3 kB / 452.3 MB, free: 8.594 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.539e-06/0.4656, allocations: 0 / 452.3 MB, free: 8.594 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005649/0.4662, allocations: 157.3 kB / 452.4 MB, free: 8.434 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.4663, allocations: 59.39 kB / 452.5 MB, free: 8.363 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.4665, allocations: 156.7 kB / 452.6 MB, free: 8.203 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.4665, allocations: 30.86 kB / 452.7 MB, free: 8.168 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.184e-05/0.4666, allocations: 166.5 kB / 452.8 MB, free: 8.004 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.4667, allocations: 23.73 kB / 452.9 MB, free: 7.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.326e-05/0.4667, allocations: 8 kB / 452.9 MB, free: 7.973 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.4669, allocations: 314.8 kB / 453.2 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.467, allocations: 39.94 kB / 453.2 MB, free: 7.617 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.4671, allocations: 51.53 kB / 453.3 MB, free: 7.562 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.4672, allocations: 69.69 kB / 453.3 MB, free: 7.488 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.049e-06/0.4673, allocations: 4 kB / 453.3 MB, free: 7.484 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003615/0.4676, allocations: 171.2 kB / 453.5 MB, free: 7.305 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.897e-05/0.4677, allocations: 39.56 kB / 453.5 MB, free: 7.262 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.399e-06/0.4677, allocations: 0 / 453.5 MB, free: 7.262 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.4677, allocations: 0.75 kB / 453.5 MB, free: 7.262 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.4679, allocations: 23.98 kB / 453.6 MB, free: 7.238 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.61e-06/0.4679, allocations: 0 / 453.6 MB, free: 7.238 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.119e-05/0.468, allocations: 4 kB / 453.6 MB, free: 7.234 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.468, allocations: 4 kB / 453.6 MB, free: 7.23 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 () * 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.0001077/0.4681, allocations: 117 kB / 453.7 MB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.978e-05/0.4682, allocations: 15.8 kB / 453.7 MB, free: 7.094 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003013/0.4685, allocations: 115.2 kB / 453.8 MB, free: 6.977 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.4685, allocations: 0 / 453.8 MB, free: 6.977 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.4685, allocations: 0 / 453.8 MB, free: 6.977 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.385e-06/0.4685, allocations: 3.938 kB / 453.8 MB, free: 6.973 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006084/0.4692, allocations: 403.3 kB / 454.2 MB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.4692, allocations: 4.031 kB / 454.2 MB, free: 6.516 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.057e-05/0.4693, allocations: 16.97 kB / 454.2 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.478e-06/0.4693, allocations: 4 kB / 454.2 MB, free: 6.496 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.4693, allocations: 0 / 454.2 MB, free: 6.496 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.14e-06/0.4693, allocations: 0 / 454.2 MB, free: 6.496 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.424e-06/0.4693, allocations: 4 kB / 454.2 MB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003056/0.4696, allocations: 222.8 kB / 454.5 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.4698, allocations: 96.98 kB / 454.6 MB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/0.4698, allocations: 4.188 kB / 454.6 MB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.4699, allocations: 7.938 kB / 454.6 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/0.47, allocations: 11.98 kB / 454.6 MB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.47, allocations: 4 kB / 454.6 MB, free: 6.109 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001423/0.4702, allocations: 122.5 kB / 454.7 MB, free: 5.992 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.58e-07/0.4702, allocations: 0 / 454.7 MB, free: 5.992 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003905/0.4706, allocations: 47.92 kB / 454.7 MB, free: 5.945 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) * 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.001413/0.472, allocations: 426.9 kB / 455.2 MB, free: 5.602 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000321/0.4724, allocations: 159.3 kB / 455.3 MB, free: 5.434 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.398e-06/0.4724, allocations: 4 kB / 455.3 MB, free: 5.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.631e-05/0.4725, allocations: 28 kB / 455.3 MB, free: 5.402 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.4728, allocations: 24.06 kB / 455.4 MB, free: 5.379 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000464/0.4733, allocations: 187.7 kB / 455.6 MB, free: 5.164 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.4737, allocations: 0.7082 MB / 456.3 MB, free: 4.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.837e-05/0.4738, allocations: 15.44 kB / 456.3 MB, free: 4.418 MB / 378.7 MB Notification: Performance of SimCode: time 1.595e-06/0.4738, allocations: 0 / 456.3 MB, free: 4.418 MB / 378.7 MB Notification: Performance of Templates: time 0.004677/0.4785, allocations: 1.892 MB / 458.2 MB, free: 2.527 MB / 378.7 MB