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.Test31.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.Test31,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.Test31") Notification: Performance of loadModel(ModelicaTest): time 2.276/2.276, allocations: 235 MB / 248.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.038e-05/3.058e-05, allocations: 4 kB / 309.7 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3196, allocations: 54.85 MB / 364.5 MB, free: 5.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.124/0.4437, allocations: 82.03 MB / 446.6 MB, free: 14.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.444, allocations: 71.97 kB / 446.6 MB, free: 14.39 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.01963/0.4636, allocations: 4.471 MB / 451.1 MB, free: 9.945 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.342e-06/0.4637, allocations: 0 / 451.1 MB, free: 9.945 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.605e-05/0.4637, allocations: 4 kB / 451.1 MB, free: 9.941 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.4643, allocations: 445.7 kB / 451.6 MB, free: 9.449 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.4643, allocations: 11.97 kB / 451.6 MB, free: 9.438 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/0.4644, allocations: 11.91 kB / 451.6 MB, free: 9.426 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/0.4648, allocations: 210.8 kB / 451.8 MB, free: 9.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.4648, allocations: 0.875 kB / 451.8 MB, free: 9.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.4648, allocations: 12.75 kB / 451.8 MB, free: 9.168 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.465, allocations: 53.67 kB / 451.8 MB, free: 9.109 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.465, allocations: 0 / 451.8 MB, free: 9.109 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.4651, allocations: 3.953 kB / 451.9 MB, free: 9.105 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.285e-06/0.4651, allocations: 0 / 451.9 MB, free: 9.105 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.299e-05/0.4652, allocations: 16 kB / 451.9 MB, free: 9.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004942/0.4657, allocations: 328.7 kB / 452.2 MB, free: 8.719 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.4658, allocations: 54.69 kB / 452.2 MB, free: 8.656 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.164e-05/0.4659, allocations: 22.02 kB / 452.3 MB, free: 8.633 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.4659, allocations: 3.953 kB / 452.3 MB, free: 8.629 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001592/0.4661, allocations: 71.33 kB / 452.3 MB, free: 8.547 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.022e-06/0.4661, allocations: 4 kB / 452.3 MB, free: 8.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005701/0.4667, allocations: 153.5 kB / 452.5 MB, free: 8.387 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.4668, allocations: 63.33 kB / 452.6 MB, free: 8.312 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.467, allocations: 169.2 kB / 452.7 MB, free: 8.141 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.4671, allocations: 25.7 kB / 452.7 MB, free: 8.109 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.4672, allocations: 170.5 kB / 452.9 MB, free: 7.941 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.4672, allocations: 27.64 kB / 452.9 MB, free: 7.914 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.819e-06/0.4673, allocations: 4 kB / 452.9 MB, free: 7.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.4674, allocations: 320.2 kB / 453.3 MB, free: 7.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.88e-05/0.4676, allocations: 32 kB / 453.3 MB, free: 7.559 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.4677, allocations: 55.53 kB / 453.3 MB, free: 7.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.4678, allocations: 69.69 kB / 453.4 MB, free: 7.426 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.098e-06/0.4679, allocations: 0 / 453.4 MB, free: 7.426 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003713/0.4682, allocations: 175.2 kB / 453.6 MB, free: 7.242 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.262e-05/0.4683, allocations: 43.14 kB / 453.6 MB, free: 7.195 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.183e-06/0.4683, allocations: 0 / 453.6 MB, free: 7.195 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.4683, allocations: 0 / 453.6 MB, free: 7.195 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.4685, allocations: 15.98 kB / 453.6 MB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.43e-06/0.4685, allocations: 4 kB / 453.6 MB, free: 7.176 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.069e-05/0.4686, allocations: 4 kB / 453.6 MB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.4686, allocations: 4 kB / 453.6 MB, free: 7.168 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.0001109/0.4688, allocations: 116.9 kB / 453.8 MB, free: 7.047 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.404e-05/0.4688, allocations: 11.95 kB / 453.8 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003119/0.4691, allocations: 130.2 kB / 453.9 MB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.482e-06/0.4692, allocations: 0 / 453.9 MB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.259e-06/0.4692, allocations: 0 / 453.9 MB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.516e-06/0.4692, allocations: 0 / 453.9 MB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006356/0.4698, allocations: 407.2 kB / 454.3 MB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.054e-06/0.4699, allocations: 4 kB / 454.3 MB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.728e-05/0.4699, allocations: 11.98 kB / 454.3 MB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.806e-06/0.47, allocations: 0 / 454.3 MB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.47, allocations: 8.031 kB / 454.3 MB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.023e-06/0.47, allocations: 0 / 454.3 MB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.47, allocations: 0 / 454.3 MB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.4703, allocations: 222 kB / 454.5 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.4704, allocations: 97 kB / 454.6 MB, free: 6.066 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/0.4705, allocations: 8 kB / 454.6 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.4706, allocations: 11.98 kB / 454.7 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.4707, allocations: 4 kB / 454.7 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.4707, allocations: 7.938 kB / 454.7 MB, free: 6.035 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001648/0.4709, allocations: 139.2 kB / 454.8 MB, free: 5.898 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.17e-07/0.4709, allocations: 0 / 454.8 MB, free: 5.898 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004028/0.4713, allocations: 32 kB / 454.8 MB, free: 5.867 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.001455/0.4728, allocations: 431.9 kB / 455.3 MB, free: 5.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00036/0.4732, allocations: 167.3 kB / 455.4 MB, free: 5.344 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.294e-06/0.4732, allocations: 0 / 455.4 MB, free: 5.344 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.911e-05/0.4733, allocations: 28 kB / 455.4 MB, free: 5.316 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.4736, allocations: 23.88 kB / 455.5 MB, free: 5.293 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005006/0.4741, allocations: 196.5 kB / 455.7 MB, free: 5.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.4745, allocations: 0.7004 MB / 456.4 MB, free: 4.344 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.468e-05/0.4746, allocations: 19.42 kB / 456.4 MB, free: 4.328 MB / 378.7 MB Notification: Performance of SimCode: time 1.718e-06/0.4746, allocations: 0 / 456.4 MB, free: 4.328 MB / 378.7 MB Notification: Performance of Templates: time 0.004685/0.4793, allocations: 1.93 MB / 458.3 MB, free: 2.402 MB / 378.7 MB