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.Test21.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.Test21,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.Test21") Notification: Performance of loadModel(ModelicaTest): time 2.13/2.13, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.337e-05/3.355e-05, allocations: 4 kB / 309.7 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3182, allocations: 54.86 MB / 364.5 MB, free: 5.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1242/0.4425, allocations: 82.06 MB / 446.6 MB, free: 14.39 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.4427, allocations: 72.72 kB / 446.7 MB, free: 14.32 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.01945/0.4622, allocations: 4.551 MB / 451.2 MB, free: 9.801 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4622, allocations: 0 / 451.2 MB, free: 9.801 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.4623, allocations: 0 / 451.2 MB, free: 9.801 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.0005913/0.4629, allocations: 457.6 kB / 451.7 MB, free: 9.297 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.4629, allocations: 14.12 kB / 451.7 MB, free: 9.285 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.142e-05/0.463, allocations: 7.906 kB / 451.7 MB, free: 9.277 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/0.4633, allocations: 202.9 kB / 451.9 MB, free: 9.039 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.4634, allocations: 7.984 kB / 451.9 MB, free: 9.031 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.18e-05/0.4634, allocations: 8 kB / 451.9 MB, free: 9.023 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.4636, allocations: 49.69 kB / 452 MB, free: 8.969 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.4636, allocations: 3.938 kB / 452 MB, free: 8.965 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.4636, allocations: 3.953 kB / 452 MB, free: 8.961 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-06/0.4636, allocations: 0 / 452 MB, free: 8.961 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.093e-05/0.4637, allocations: 23.98 kB / 452 MB, free: 8.938 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004964/0.4642, allocations: 316.7 kB / 452.3 MB, free: 8.578 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.4644, allocations: 58.64 kB / 452.4 MB, free: 8.512 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.461e-05/0.4645, allocations: 28.95 kB / 452.4 MB, free: 8.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.4645, allocations: 3.953 kB / 452.4 MB, free: 8.477 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/0.4647, allocations: 63.52 kB / 452.5 MB, free: 8.402 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.801e-06/0.4647, allocations: 0 / 452.5 MB, free: 8.402 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005727/0.4653, allocations: 166.2 kB / 452.6 MB, free: 8.234 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.4654, allocations: 51.41 kB / 452.7 MB, free: 8.172 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.4656, allocations: 169.2 kB / 452.8 MB, free: 8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.4657, allocations: 33.7 kB / 452.9 MB, free: 7.961 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.4658, allocations: 162.5 kB / 453 MB, free: 7.801 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/0.4658, allocations: 23.66 kB / 453 MB, free: 7.777 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.191e-05/0.4658, allocations: 4 kB / 453.1 MB, free: 7.773 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.466, allocations: 319.7 kB / 453.4 MB, free: 7.453 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.4661, allocations: 36 kB / 453.4 MB, free: 7.418 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.4663, allocations: 53.7 kB / 453.5 MB, free: 7.359 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.4664, allocations: 65.69 kB / 453.5 MB, free: 7.289 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.068e-06/0.4664, allocations: 4 kB / 453.5 MB, free: 7.285 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000368/0.4668, allocations: 175.2 kB / 453.7 MB, free: 7.102 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.015e-05/0.4669, allocations: 37.69 kB / 453.7 MB, free: 7.059 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.446e-06/0.4669, allocations: 0 / 453.7 MB, free: 7.059 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.4669, allocations: 0.6562 kB / 453.7 MB, free: 7.059 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.4671, allocations: 24.14 kB / 453.8 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.4671, allocations: 4 kB / 453.8 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.283e-05/0.4672, allocations: 12 kB / 453.8 MB, free: 7.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.4672, allocations: 4 kB / 453.8 MB, free: 7.016 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.0001047/0.4673, allocations: 110.5 kB / 453.9 MB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.4674, allocations: 11.86 kB / 453.9 MB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003167/0.4677, allocations: 119 kB / 454 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.4677, allocations: 0 / 454 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.314e-06/0.4678, allocations: 5.312 kB / 454 MB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.372e-06/0.4678, allocations: 0 / 454 MB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006289/0.4684, allocations: 415.2 kB / 454.4 MB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.5e-06/0.4684, allocations: 0 / 454.4 MB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.006e-05/0.4685, allocations: 12 kB / 454.4 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.4685, allocations: 0 / 454.4 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.4685, allocations: 0 / 454.4 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.072e-06/0.4686, allocations: 7.984 kB / 454.4 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.262e-06/0.4686, allocations: 3.938 kB / 454.4 MB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/0.4689, allocations: 223.8 kB / 454.7 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.469, allocations: 97 kB / 454.8 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.4691, allocations: 3.938 kB / 454.8 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.4692, allocations: 8 kB / 454.8 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.4692, allocations: 7.984 kB / 454.8 MB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.4693, allocations: 11.94 kB / 454.8 MB, free: 5.891 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001654/0.4694, allocations: 135.2 kB / 454.9 MB, free: 5.758 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.44e-07/0.4695, allocations: 0 / 454.9 MB, free: 5.758 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004023/0.4699, allocations: 36 kB / 455 MB, free: 5.723 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.001451/0.4713, allocations: 420.8 kB / 455.4 MB, free: 5.387 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003297/0.4717, allocations: 167.3 kB / 455.5 MB, free: 5.211 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4717, allocations: 4 kB / 455.5 MB, free: 5.207 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.554e-05/0.4718, allocations: 31.94 kB / 455.6 MB, free: 5.176 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.4721, allocations: 27.91 kB / 455.6 MB, free: 5.148 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004813/0.4726, allocations: 184.5 kB / 455.8 MB, free: 4.938 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/0.473, allocations: 0.7123 MB / 456.5 MB, free: 4.199 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.143e-05/0.4731, allocations: 15.44 kB / 456.5 MB, free: 4.188 MB / 378.7 MB Notification: Performance of SimCode: time 1.664e-06/0.4731, allocations: 0 / 456.5 MB, free: 4.188 MB / 378.7 MB Notification: Performance of Templates: time 0.004611/0.4777, allocations: 1.925 MB / 458.4 MB, free: 2.27 MB / 378.7 MB