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.Test20.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.Test20,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.Test20") Notification: Performance of loadModel(ModelicaTest): time 2.12/2.12, allocations: 234.9 MB / 250.5 MB, free: 9.531 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004326/0.0004329, allocations: 16 kB / 314.4 MB, free: 9.539 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2747, allocations: 54.86 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1666/0.4413, allocations: 82.12 MB / 451.4 MB, free: 8.484 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/0.4416, allocations: 83.89 kB / 451.5 MB, free: 8.402 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.02244/0.464, allocations: 4.477 MB / 456 MB, free: 3.918 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.303e-06/0.4641, allocations: 0 / 456 MB, free: 3.918 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.4641, allocations: 0 / 456 MB, free: 3.918 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.0006126/0.4647, allocations: 470.2 kB / 456.4 MB, free: 3.398 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.4647, allocations: 8.031 kB / 456.4 MB, free: 3.391 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.41e-05/0.4648, allocations: 15.81 kB / 456.4 MB, free: 3.375 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.4651, allocations: 210.8 kB / 456.6 MB, free: 3.129 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.4652, allocations: 4 kB / 456.6 MB, free: 3.125 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.4652, allocations: 4 kB / 456.6 MB, free: 3.121 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.4654, allocations: 53.67 kB / 456.7 MB, free: 3.062 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.4654, allocations: 0 / 456.7 MB, free: 3.062 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.4654, allocations: 7.953 kB / 456.7 MB, free: 3.055 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.135e-06/0.4655, allocations: 0 / 456.7 MB, free: 3.055 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.938e-05/0.4656, allocations: 23.97 kB / 456.7 MB, free: 3.031 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004741/0.4661, allocations: 316.8 kB / 457 MB, free: 2.672 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.4663, allocations: 62.67 kB / 457.1 MB, free: 2.602 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.4663, allocations: 0 / 457.1 MB, free: 2.602 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.4665, allocations: 76.06 kB / 457.2 MB, free: 2.516 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.229e-06/0.4665, allocations: 0 / 457.2 MB, free: 2.516 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006907/0.4672, allocations: 185.5 kB / 457.4 MB, free: 2.328 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.4673, allocations: 55.34 kB / 457.4 MB, free: 2.262 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.4675, allocations: 169.3 kB / 457.6 MB, free: 2.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.4676, allocations: 29.7 kB / 457.6 MB, free: 2.055 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.721e-05/0.4677, allocations: 166.5 kB / 457.8 MB, free: 1.891 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.4677, allocations: 27.64 kB / 457.8 MB, free: 1.863 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.828e-06/0.4678, allocations: 0 / 457.8 MB, free: 1.863 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.4679, allocations: 314.8 kB / 458.1 MB, free: 1.547 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.4681, allocations: 39.98 kB / 458.1 MB, free: 1.508 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.4682, allocations: 57.69 kB / 458.2 MB, free: 1.445 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.4684, allocations: 73.69 kB / 458.3 MB, free: 1.367 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.878e-06/0.4684, allocations: 0 / 458.3 MB, free: 1.367 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003934/0.4688, allocations: 171.4 kB / 458.4 MB, free: 1.188 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.048e-05/0.4689, allocations: 41.64 kB / 458.5 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.549e-06/0.4689, allocations: 4.094 kB / 458.5 MB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.4689, allocations: 7.969 kB / 458.5 MB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.469, allocations: 15.98 kB / 458.5 MB, free: 1.113 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.872e-06/0.4691, allocations: 4 kB / 458.5 MB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.103e-05/0.4691, allocations: 8 kB / 458.5 MB, free: 1.102 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.4692, allocations: 4 kB / 458.5 MB, free: 1.098 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.0001421/0.4693, allocations: 133.8 kB / 458.7 MB, free: 0.957 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.4694, allocations: 11.81 kB / 458.7 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003489/0.4697, allocations: 126.3 kB / 458.8 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.593e-06/0.4697, allocations: 0 / 458.8 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.422e-06/0.4698, allocations: 4 kB / 458.8 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.4698, allocations: 0 / 458.8 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006499/0.4704, allocations: 411.3 kB / 459.2 MB, free: 348 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.027e-06/0.4705, allocations: 0 / 459.2 MB, free: 348 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.526e-05/0.4705, allocations: 8 kB / 459.2 MB, free: 340 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.12e-06/0.4705, allocations: 4 kB / 459.2 MB, free: 336 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.4706, allocations: 4.031 kB / 459.2 MB, free: 332 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.521e-06/0.4706, allocations: 3.938 kB / 459.2 MB, free: 328 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.854e-06/0.4706, allocations: 4 kB / 459.2 MB, free: 324 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003472/0.4709, allocations: 225.9 kB / 459.4 MB, free: 72 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.4711, allocations: 104.9 kB / 459.5 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.4711, allocations: 0 / 459.5 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.4713, allocations: 8 kB / 459.5 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.4713, allocations: 7.984 kB / 459.6 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.4713, allocations: 4 kB / 459.6 MB, free: 15.93 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001573/0.4715, allocations: 139.2 kB / 459.7 MB, free: 15.79 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.67e-07/0.4715, allocations: 0 / 459.7 MB, free: 15.79 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003865/0.4719, allocations: 39.94 kB / 459.7 MB, free: 15.75 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.00152/0.4734, allocations: 465 kB / 460.2 MB, free: 15.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000376/0.4738, allocations: 167.3 kB / 460.4 MB, free: 15.2 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.352e-06/0.4739, allocations: 4 kB / 460.4 MB, free: 15.2 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.474, allocations: 35.97 kB / 460.4 MB, free: 15.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.4743, allocations: 23.94 kB / 460.4 MB, free: 15.14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005859/0.4749, allocations: 283.7 kB / 460.7 MB, free: 14.82 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.4753, allocations: 0.7043 MB / 461.4 MB, free: 14.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.032e-05/0.4754, allocations: 19.44 kB / 461.4 MB, free: 14.08 MB / 394.7 MB Notification: Performance of SimCode: time 1.267e-06/0.4754, allocations: 4 kB / 461.4 MB, free: 14.07 MB / 394.7 MB Notification: Performance of Templates: time 0.004598/0.48, allocations: 1.924 MB / 463.3 MB, free: 12.16 MB / 394.7 MB