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.Test22.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.Test22,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.Test22") Notification: Performance of loadModel(ModelicaTest): time 2.207/2.207, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.265e-05/3.285e-05, allocations: 8 kB / 309.7 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3214, allocations: 54.86 MB / 364.5 MB, free: 5.379 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1261/0.4476, allocations: 82.07 MB / 446.6 MB, free: 14.29 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/0.4479, allocations: 69.97 kB / 446.7 MB, free: 14.22 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.01982/0.4678, allocations: 4.56 MB / 451.2 MB, free: 9.688 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.878e-06/0.4678, allocations: 0 / 451.2 MB, free: 9.688 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.4678, allocations: 0 / 451.2 MB, free: 9.688 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.0006075/0.4685, allocations: 445.6 kB / 451.7 MB, free: 9.195 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.4685, allocations: 15.97 kB / 451.7 MB, free: 9.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.324e-05/0.4686, allocations: 7.906 kB / 451.7 MB, free: 9.172 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003485/0.4689, allocations: 210.8 kB / 451.9 MB, free: 8.926 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.469, allocations: 4 kB / 451.9 MB, free: 8.922 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.469, allocations: 8 kB / 451.9 MB, free: 8.914 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.4692, allocations: 57.67 kB / 452 MB, free: 8.852 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.4692, allocations: 0.5625 kB / 452 MB, free: 8.852 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.4692, allocations: 7.938 kB / 452 MB, free: 8.844 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.421e-06/0.4692, allocations: 0 / 452 MB, free: 8.844 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.432e-05/0.4693, allocations: 16 kB / 452 MB, free: 8.828 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005021/0.4698, allocations: 316.8 kB / 452.3 MB, free: 8.469 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.47, allocations: 62.62 kB / 452.4 MB, free: 8.398 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.781e-05/0.4701, allocations: 18.02 kB / 452.4 MB, free: 8.379 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.4701, allocations: 7.953 kB / 452.4 MB, free: 8.371 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.4703, allocations: 63.52 kB / 452.5 MB, free: 8.297 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.8e-06/0.4703, allocations: 0 / 452.5 MB, free: 8.297 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005862/0.4709, allocations: 158.2 kB / 452.6 MB, free: 8.137 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.471, allocations: 59.41 kB / 452.7 MB, free: 8.066 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.4712, allocations: 169.2 kB / 452.8 MB, free: 7.895 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/0.4713, allocations: 29.7 kB / 452.9 MB, free: 7.859 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.4714, allocations: 170.4 kB / 453 MB, free: 7.691 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.027e-05/0.4715, allocations: 23.7 kB / 453.1 MB, free: 7.668 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.393e-05/0.4715, allocations: 0 / 453.1 MB, free: 7.668 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.4717, allocations: 320.2 kB / 453.4 MB, free: 7.348 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.4718, allocations: 39.94 kB / 453.4 MB, free: 7.309 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.4719, allocations: 59.53 kB / 453.5 MB, free: 7.246 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.4721, allocations: 65.69 kB / 453.5 MB, free: 7.176 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.991e-06/0.4721, allocations: 0 / 453.5 MB, free: 7.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003858/0.4725, allocations: 179.2 kB / 453.7 MB, free: 6.988 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.339e-05/0.4726, allocations: 35.56 kB / 453.7 MB, free: 6.949 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.323e-06/0.4726, allocations: 4 kB / 453.7 MB, free: 6.945 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.4726, allocations: 0 / 453.7 MB, free: 6.945 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.4727, allocations: 15.98 kB / 453.8 MB, free: 6.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.664e-06/0.4728, allocations: 4.031 kB / 453.8 MB, free: 6.926 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.992e-05/0.4729, allocations: 12 kB / 453.8 MB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.4729, allocations: 4.188 kB / 453.8 MB, free: 6.91 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.0001083/0.473, allocations: 112.9 kB / 453.9 MB, free: 6.793 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/0.4731, allocations: 11.95 kB / 453.9 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003063/0.4734, allocations: 118.2 kB / 454 MB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.002e-06/0.4734, allocations: 4 kB / 454 MB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.377e-06/0.4734, allocations: 3.938 kB / 454 MB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.555e-06/0.4734, allocations: 4 kB / 454 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006407/0.4741, allocations: 407.3 kB / 454.4 MB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.4741, allocations: 3.938 kB / 454.4 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.341e-05/0.4742, allocations: 12 kB / 454.4 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.4742, allocations: 0 / 454.4 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.4742, allocations: 7.984 kB / 454.4 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.339e-06/0.4743, allocations: 4 kB / 454.4 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.971e-06/0.4743, allocations: 0 / 454.4 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003091/0.4746, allocations: 225.8 kB / 454.7 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.4747, allocations: 97 kB / 454.8 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.4747, allocations: 0 / 454.8 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.4749, allocations: 4 kB / 454.8 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.4749, allocations: 15.92 kB / 454.8 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.475, allocations: 8 kB / 454.8 MB, free: 5.777 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000162/0.4751, allocations: 135.2 kB / 454.9 MB, free: 5.645 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.8e-07/0.4752, allocations: 0 / 454.9 MB, free: 5.645 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003934/0.4756, allocations: 36 kB / 455 MB, free: 5.609 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.00148/0.477, allocations: 419.2 kB / 455.4 MB, free: 5.273 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003447/0.4774, allocations: 171.3 kB / 455.5 MB, free: 5.094 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.4774, allocations: 4.062 kB / 455.5 MB, free: 5.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.811e-05/0.4775, allocations: 31.98 kB / 455.6 MB, free: 5.059 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.4779, allocations: 23.94 kB / 455.6 MB, free: 5.035 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004858/0.4784, allocations: 184.4 kB / 455.8 MB, free: 4.824 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.4788, allocations: 0.7083 MB / 456.5 MB, free: 4.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.654e-05/0.4789, allocations: 19.44 kB / 456.5 MB, free: 4.074 MB / 378.7 MB Notification: Performance of SimCode: time 1.593e-06/0.4789, allocations: 0 / 456.5 MB, free: 4.074 MB / 378.7 MB Notification: Performance of Templates: time 0.00485/0.4837, allocations: 1.919 MB / 458.4 MB, free: 2.16 MB / 378.7 MB