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.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadModel(ModelicaTest): time 2.173/2.173, allocations: 235 MB / 248.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.086e-05/3.124e-05, allocations: 4 kB / 309.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3192, allocations: 54.86 MB / 364.5 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.14/0.4592, allocations: 82.06 MB / 446.6 MB, free: 14.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.4595, allocations: 75.95 kB / 446.7 MB, free: 14.35 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.02138/0.4809, allocations: 5.061 MB / 451.7 MB, free: 9.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.679e-06/0.4809, allocations: 0 / 451.7 MB, free: 9.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.694e-05/0.4809, allocations: 4 kB / 451.7 MB, free: 9.316 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006087/0.4815, allocations: 473.5 kB / 452.2 MB, free: 8.797 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.4816, allocations: 16.62 kB / 452.2 MB, free: 8.781 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.259e-05/0.4817, allocations: 15.81 kB / 452.2 MB, free: 8.766 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003744/0.4821, allocations: 214.9 kB / 452.5 MB, free: 8.516 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.4821, allocations: 4 kB / 452.5 MB, free: 8.512 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.4821, allocations: 7.906 kB / 452.5 MB, free: 8.504 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.4823, allocations: 69.56 kB / 452.5 MB, free: 8.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.4823, allocations: 0 / 452.5 MB, free: 8.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.4824, allocations: 5.156 kB / 452.5 MB, free: 8.426 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.29e-06/0.4824, allocations: 4 kB / 452.5 MB, free: 8.422 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.4825, allocations: 27.98 kB / 452.6 MB, free: 8.395 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005543/0.4831, allocations: 344.9 kB / 452.9 MB, free: 8.008 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.4833, allocations: 78.58 kB / 453 MB, free: 7.922 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.23e-05/0.4834, allocations: 24.98 kB / 453 MB, free: 7.895 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.4834, allocations: 0 / 453 MB, free: 7.895 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001783/0.4836, allocations: 83.38 kB / 453.1 MB, free: 7.801 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.536e-06/0.4836, allocations: 0 / 453.1 MB, free: 7.801 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006466/0.4843, allocations: 191 kB / 453.3 MB, free: 7.609 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.4844, allocations: 55.41 kB / 453.3 MB, free: 7.543 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000339/0.4847, allocations: 221.5 kB / 453.5 MB, free: 7.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.4848, allocations: 33.7 kB / 453.6 MB, free: 7.281 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.4849, allocations: 166.6 kB / 453.7 MB, free: 7.117 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.372e-05/0.4849, allocations: 31.69 kB / 453.8 MB, free: 7.086 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.865e-06/0.485, allocations: 4 kB / 453.8 MB, free: 7.082 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.4851, allocations: 314.8 kB / 454.1 MB, free: 6.766 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.4853, allocations: 47.92 kB / 454.1 MB, free: 6.719 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.4854, allocations: 53.72 kB / 454.2 MB, free: 6.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.4856, allocations: 81.67 kB / 454.3 MB, free: 6.574 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4856, allocations: 0 / 454.3 MB, free: 6.574 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004113/0.486, allocations: 191.2 kB / 454.4 MB, free: 6.375 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.702e-05/0.4861, allocations: 37.73 kB / 454.5 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.393e-06/0.4861, allocations: 3.984 kB / 454.5 MB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.4861, allocations: 0 / 454.5 MB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.4863, allocations: 16 kB / 454.5 MB, free: 6.312 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.153e-06/0.4863, allocations: 4.25 kB / 454.5 MB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.4864, allocations: 11.98 kB / 454.5 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.4864, allocations: 11.94 kB / 454.5 MB, free: 6.285 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 (12): * Single equations (assignments): 11 * 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.0001104/0.4866, allocations: 118.7 kB / 454.6 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/0.4866, allocations: 19.77 kB / 454.7 MB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003764/0.487, allocations: 143.8 kB / 454.8 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.487, allocations: 4 kB / 454.8 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.803e-06/0.487, allocations: 0 / 454.8 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.865e-06/0.4871, allocations: 3.984 kB / 454.8 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000766/0.4878, allocations: 459.2 kB / 455.3 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.608e-06/0.4879, allocations: 0 / 455.3 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.589e-05/0.4879, allocations: 15.98 kB / 455.3 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.219e-06/0.488, allocations: 8.031 kB / 455.3 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.488, allocations: 4 kB / 455.3 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.389e-06/0.488, allocations: 0 / 455.3 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.396e-06/0.488, allocations: 4 kB / 455.3 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003629/0.4884, allocations: 246.5 kB / 455.5 MB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.4885, allocations: 104.9 kB / 455.6 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.901e-05/0.4886, allocations: 8 kB / 455.6 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.4887, allocations: 7.984 kB / 455.7 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.4888, allocations: 4 kB / 455.7 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.4888, allocations: 7.984 kB / 455.7 MB, free: 5.031 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002411/0.4891, allocations: 180.3 kB / 455.8 MB, free: 4.855 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.46e-07/0.4891, allocations: 0 / 455.8 MB, free: 4.855 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004267/0.4895, allocations: 51.92 kB / 455.9 MB, free: 4.805 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 (11): * Single equations (assignments): 9 * 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.001437/0.491, allocations: 423.7 kB / 456.3 MB, free: 4.469 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000373/0.4914, allocations: 179.3 kB / 456.5 MB, free: 4.281 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.043e-06/0.4914, allocations: 0 / 456.5 MB, free: 4.281 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.4915, allocations: 47.92 kB / 456.5 MB, free: 4.234 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.4918, allocations: 24.11 kB / 456.6 MB, free: 4.207 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000607/0.4925, allocations: 256.4 kB / 456.8 MB, free: 3.922 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/0.4929, allocations: 0.7199 MB / 457.5 MB, free: 3.176 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.55e-05/0.493, allocations: 19.44 kB / 457.5 MB, free: 3.156 MB / 378.7 MB Notification: Performance of SimCode: time 1.712e-06/0.493, allocations: 0 / 457.5 MB, free: 3.156 MB / 378.7 MB Notification: Performance of Templates: time 0.005159/0.4982, allocations: 2.213 MB / 459.8 MB, free: 0.9492 MB / 378.7 MB