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.Test54.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.Test54,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.Test54") Notification: Performance of loadModel(ModelicaTest): time 2.259/2.259, allocations: 235 MB / 248.1 MB, free: 14.32 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.776e-05/2.785e-05, allocations: 4 kB / 309.7 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.438/0.438, allocations: 54.86 MB / 364.5 MB, free: 5.516 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1249/0.5629, allocations: 82.07 MB / 446.6 MB, free: 14.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/0.5632, allocations: 70.62 kB / 446.7 MB, free: 14.34 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.0199/0.5831, allocations: 4.734 MB / 451.4 MB, free: 9.633 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.271e-06/0.5831, allocations: 0 / 451.4 MB, free: 9.633 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.798e-05/0.5832, allocations: 7.984 kB / 451.4 MB, free: 9.625 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.0005852/0.5837, allocations: 457.5 kB / 451.9 MB, free: 9.121 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.5838, allocations: 15.97 kB / 451.9 MB, free: 9.105 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.228e-05/0.5839, allocations: 15.81 kB / 451.9 MB, free: 9.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.5843, allocations: 214.9 kB / 452.1 MB, free: 8.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.5843, allocations: 0 / 452.1 MB, free: 8.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.214e-05/0.5843, allocations: 12 kB / 452.1 MB, free: 8.828 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.5845, allocations: 57.61 kB / 452.2 MB, free: 8.766 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.5845, allocations: 0 / 452.2 MB, free: 8.766 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.5845, allocations: 3.953 kB / 452.2 MB, free: 8.762 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.192e-06/0.5846, allocations: 0 / 452.2 MB, free: 8.762 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.402e-05/0.5846, allocations: 16 kB / 452.2 MB, free: 8.746 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005034/0.5852, allocations: 320.9 kB / 452.5 MB, free: 8.383 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.5853, allocations: 58.62 kB / 452.6 MB, free: 8.316 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.849e-05/0.5854, allocations: 21.83 kB / 452.6 MB, free: 8.293 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.5855, allocations: 7.938 kB / 452.6 MB, free: 8.285 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001585/0.5856, allocations: 64.41 kB / 452.7 MB, free: 8.211 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.724e-06/0.5856, allocations: 0 / 452.7 MB, free: 8.211 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005691/0.5862, allocations: 177 kB / 452.8 MB, free: 8.031 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.5863, allocations: 51.41 kB / 452.9 MB, free: 7.969 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/0.5866, allocations: 198.6 kB / 453.1 MB, free: 7.766 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.5866, allocations: 25.7 kB / 453.1 MB, free: 7.734 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.5867, allocations: 166.6 kB / 453.3 MB, free: 7.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.378e-05/0.5868, allocations: 32.28 kB / 453.3 MB, free: 7.539 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.094e-05/0.5868, allocations: 11.94 kB / 453.3 MB, free: 7.527 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.587, allocations: 318.8 kB / 453.6 MB, free: 7.207 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.939e-05/0.5871, allocations: 32 kB / 453.7 MB, free: 7.176 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.5872, allocations: 53.66 kB / 453.7 MB, free: 7.117 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.5874, allocations: 73.67 kB / 453.8 MB, free: 7.039 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.066e-06/0.5874, allocations: 0 / 453.8 MB, free: 7.039 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003615/0.5878, allocations: 168 kB / 453.9 MB, free: 6.863 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.092e-05/0.5878, allocations: 45.66 kB / 454 MB, free: 6.812 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.5e-06/0.5879, allocations: 192 / 454 MB, free: 6.812 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.5879, allocations: 4 kB / 454 MB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.588, allocations: 16 kB / 454 MB, free: 6.793 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.295e-06/0.5881, allocations: 0 / 454 MB, free: 6.793 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.723e-05/0.5882, allocations: 11.98 kB / 454 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.5882, allocations: 9.312 kB / 454 MB, free: 6.773 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.0001039/0.5883, allocations: 110.7 kB / 454.1 MB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.761e-05/0.5884, allocations: 15.77 kB / 454.1 MB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003111/0.5887, allocations: 123.1 kB / 454.3 MB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.14e-06/0.5887, allocations: 0 / 454.3 MB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.256e-06/0.5887, allocations: 0 / 454.3 MB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.062e-06/0.5887, allocations: 0 / 454.3 MB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006432/0.5894, allocations: 415.3 kB / 454.7 MB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.213e-06/0.5894, allocations: 1.781 kB / 454.7 MB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.804e-05/0.5895, allocations: 19.92 kB / 454.7 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.622e-06/0.5895, allocations: 0 / 454.7 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.5895, allocations: 8.031 kB / 454.7 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.758e-06/0.5895, allocations: 4 kB / 454.7 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.313e-06/0.5896, allocations: 0 / 454.7 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.5899, allocations: 225.8 kB / 454.9 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.59, allocations: 97 kB / 455 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/0.5901, allocations: 7.984 kB / 455 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.5902, allocations: 8 kB / 455 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.5902, allocations: 4 kB / 455 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.5903, allocations: 7.984 kB / 455.1 MB, free: 5.637 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002035/0.5905, allocations: 168.2 kB / 455.2 MB, free: 5.473 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.13e-07/0.5905, allocations: 288 / 455.2 MB, free: 5.473 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003906/0.5909, allocations: 43.94 kB / 455.3 MB, free: 5.43 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.001458/0.5924, allocations: 428.4 kB / 455.7 MB, free: 5.086 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003242/0.5927, allocations: 155.3 kB / 455.8 MB, free: 4.922 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.283e-06/0.5927, allocations: 4 kB / 455.8 MB, free: 4.918 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.053e-05/0.5928, allocations: 35.92 kB / 455.9 MB, free: 4.883 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.5932, allocations: 19.94 kB / 455.9 MB, free: 4.863 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005466/0.5937, allocations: 232.8 kB / 456.1 MB, free: 4.598 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.5941, allocations: 0.7121 MB / 456.8 MB, free: 3.859 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.717e-05/0.5942, allocations: 19.44 kB / 456.8 MB, free: 3.844 MB / 378.7 MB Notification: Performance of SimCode: time 2.026e-06/0.5942, allocations: 0 / 456.8 MB, free: 3.844 MB / 378.7 MB Notification: Performance of Templates: time 0.00485/0.5991, allocations: 2.028 MB / 458.9 MB, free: 1.816 MB / 378.7 MB