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.Test28.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") Notification: Performance of loadModel(ModelicaTest): time 2.254/2.254, allocations: 235.1 MB / 243 MB, free: 9.492 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.111e-05/2.116e-05, allocations: 8 kB / 303.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3224, allocations: 54.85 MB / 358.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1276/0.4501, allocations: 81.35 MB / 439.4 MB, free: 13.47 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/0.4503, allocations: 67.95 kB / 439.5 MB, free: 13.41 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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/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/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.01921/0.4696, allocations: 4.438 MB / 443.9 MB, free: 8.965 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4696, allocations: 0 / 443.9 MB, free: 8.965 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.4696, allocations: 0 / 443.9 MB, free: 8.965 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.0006042/0.4702, allocations: 453.5 kB / 444.4 MB, free: 8.465 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.4703, allocations: 8.031 kB / 444.4 MB, free: 8.457 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.306e-05/0.4704, allocations: 15.84 kB / 444.4 MB, free: 8.441 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.4707, allocations: 211.4 kB / 444.6 MB, free: 8.195 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.4708, allocations: 4 kB / 444.6 MB, free: 8.191 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.4708, allocations: 4 kB / 444.6 MB, free: 8.188 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.416e-05/0.4709, allocations: 19.98 kB / 444.6 MB, free: 8.168 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.471, allocations: 53.62 kB / 444.7 MB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.4711, allocations: 3.953 kB / 444.7 MB, free: 8.105 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.4711, allocations: 4 kB / 444.7 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.199e-06/0.4711, allocations: 0 / 444.7 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004682/0.4716, allocations: 297.3 kB / 445 MB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.4717, allocations: 42.7 kB / 445 MB, free: 7.723 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.689e-05/0.4718, allocations: 24.97 kB / 445 MB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.4718, allocations: 0 / 445 MB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.472, allocations: 75.3 kB / 445.1 MB, free: 7.609 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.601e-06/0.472, allocations: 0 / 445.1 MB, free: 7.609 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005764/0.4726, allocations: 141.4 kB / 445.2 MB, free: 7.465 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.4727, allocations: 59.34 kB / 445.3 MB, free: 7.395 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.4729, allocations: 158 kB / 445.4 MB, free: 7.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.473, allocations: 29.7 kB / 445.5 MB, free: 7.195 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.4731, allocations: 170.5 kB / 445.6 MB, free: 7.027 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.488e-05/0.4731, allocations: 15.72 kB / 445.7 MB, free: 7.012 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.678e-06/0.4732, allocations: 4 kB / 445.7 MB, free: 7.008 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.4733, allocations: 319.5 kB / 446 MB, free: 6.688 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.474e-05/0.4734, allocations: 36 kB / 446 MB, free: 6.652 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.4736, allocations: 45.66 kB / 446.1 MB, free: 6.602 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.4737, allocations: 39.97 kB / 446.1 MB, free: 6.562 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.4737, allocations: 0 / 446.1 MB, free: 6.562 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003378/0.474, allocations: 129.6 kB / 446.2 MB, free: 6.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.568e-05/0.4741, allocations: 33.7 kB / 446.3 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.4741, allocations: 7.984 kB / 446.3 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.4742, allocations: 0 / 446.3 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.4743, allocations: 19.98 kB / 446.3 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.333e-06/0.4743, allocations: 0 / 446.3 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.242e-05/0.4744, allocations: 4 kB / 446.3 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.4745, allocations: 4 kB / 446.3 MB, free: 6.355 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.0001105/0.4746, allocations: 116.9 kB / 446.4 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.4746, allocations: 19.8 kB / 446.4 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003022/0.4749, allocations: 106.3 kB / 446.5 MB, free: 6.102 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.001e-06/0.475, allocations: 7.891 kB / 446.5 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.82e-06/0.475, allocations: 0 / 446.5 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.784e-06/0.475, allocations: 3.984 kB / 446.5 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005953/0.4756, allocations: 375.9 kB / 446.9 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.415e-06/0.4756, allocations: 7.984 kB / 446.9 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.482e-05/0.4757, allocations: 11.94 kB / 446.9 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.4757, allocations: 3.953 kB / 446.9 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.4758, allocations: 8.031 kB / 446.9 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.768e-06/0.4758, allocations: 0 / 446.9 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.857e-06/0.4758, allocations: 0 / 446.9 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002996/0.4761, allocations: 209.9 kB / 447.1 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.4762, allocations: 101.1 kB / 447.2 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.969e-05/0.4763, allocations: 11.98 kB / 447.3 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.4764, allocations: 4 kB / 447.3 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/0.4765, allocations: 15.97 kB / 447.3 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.4765, allocations: 4 kB / 447.3 MB, free: 5.262 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001528/0.4767, allocations: 131.4 kB / 447.4 MB, free: 5.133 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.64e-07/0.4767, allocations: 0 / 447.4 MB, free: 5.133 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004044/0.4771, allocations: 35.98 kB / 447.4 MB, free: 5.098 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.001301/0.4784, allocations: 384.9 kB / 447.8 MB, free: 4.777 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003316/0.4788, allocations: 155.3 kB / 448 MB, free: 4.613 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.282e-06/0.4788, allocations: 0 / 448 MB, free: 4.613 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.528e-05/0.4789, allocations: 31.94 kB / 448 MB, free: 4.582 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.4792, allocations: 16.59 kB / 448 MB, free: 4.566 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004867/0.4797, allocations: 184.2 kB / 448.2 MB, free: 4.355 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.4802, allocations: 0.7119 MB / 448.9 MB, free: 3.617 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.692e-05/0.4802, allocations: 15.42 kB / 448.9 MB, free: 3.602 MB / 378.7 MB Notification: Performance of SimCode: time 1.698e-06/0.4802, allocations: 0 / 448.9 MB, free: 3.602 MB / 378.7 MB Notification: Performance of Templates: time 0.004922/0.4852, allocations: 1.926 MB / 450.8 MB, free: 1.672 MB / 378.7 MB