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.Test34.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.Test34,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.Test34") Notification: Performance of loadModel(ModelicaTest): time 2.077/2.077, allocations: 234.9 MB / 250.5 MB, free: 9.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000498/0.0004982, allocations: 15.98 kB / 314.4 MB, free: 9.688 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3318, allocations: 54.86 MB / 369.3 MB, free: 12.78 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1829/0.5148, allocations: 82.15 MB / 451.4 MB, free: 10.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002136/0.515, allocations: 75.97 kB / 451.5 MB, free: 10.44 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.01874/0.5338, allocations: 4.586 MB / 456.1 MB, free: 5.848 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5338, allocations: 0 / 456.1 MB, free: 5.848 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.405e-05/0.5338, allocations: 8 kB / 456.1 MB, free: 5.84 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.0006082/0.5344, allocations: 470.2 kB / 456.6 MB, free: 5.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.5345, allocations: 8.031 kB / 456.6 MB, free: 5.312 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.19e-05/0.5345, allocations: 11.81 kB / 456.6 MB, free: 5.301 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003232/0.5349, allocations: 213.9 kB / 456.8 MB, free: 5.055 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.5349, allocations: 3.938 kB / 456.8 MB, free: 5.051 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.535, allocations: 4 kB / 456.8 MB, free: 5.047 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.5351, allocations: 57.67 kB / 456.8 MB, free: 4.984 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.5352, allocations: 4 kB / 456.8 MB, free: 4.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.5352, allocations: 3.953 kB / 456.9 MB, free: 4.977 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.915e-06/0.5352, allocations: 0 / 456.9 MB, free: 4.977 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.5353, allocations: 23.98 kB / 456.9 MB, free: 4.953 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004741/0.5358, allocations: 304.9 kB / 457.2 MB, free: 4.605 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.536, allocations: 62.62 kB / 457.2 MB, free: 4.535 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.5361, allocations: 0 / 457.2 MB, free: 4.535 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001848/0.5363, allocations: 76.17 kB / 457.3 MB, free: 4.449 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.205e-06/0.5363, allocations: 3.938 kB / 457.3 MB, free: 4.445 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007191/0.537, allocations: 189.4 kB / 457.5 MB, free: 4.254 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.5371, allocations: 55.41 kB / 457.6 MB, free: 4.188 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.5373, allocations: 169.3 kB / 457.7 MB, free: 4.016 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.5373, allocations: 25.7 kB / 457.7 MB, free: 3.984 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.5375, allocations: 170.5 kB / 457.9 MB, free: 3.816 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.825e-05/0.5375, allocations: 23.66 kB / 457.9 MB, free: 3.793 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-05/0.5375, allocations: 4 kB / 457.9 MB, free: 3.789 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.5377, allocations: 318.8 kB / 458.2 MB, free: 3.469 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.5378, allocations: 35.98 kB / 458.3 MB, free: 3.434 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.538, allocations: 57.62 kB / 458.3 MB, free: 3.371 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.5382, allocations: 77.64 kB / 458.4 MB, free: 3.289 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.5382, allocations: 0 / 458.4 MB, free: 3.289 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004202/0.5386, allocations: 175.3 kB / 458.6 MB, free: 3.105 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.747e-05/0.5387, allocations: 37.66 kB / 458.6 MB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.588e-06/0.5387, allocations: 4.062 kB / 458.6 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.5387, allocations: 4 kB / 458.6 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.5388, allocations: 15.98 kB / 458.6 MB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.526e-06/0.5388, allocations: 0 / 458.6 MB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.542e-05/0.5389, allocations: 12.03 kB / 458.7 MB, free: 3.027 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.539, allocations: 8 kB / 458.7 MB, free: 3.02 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.0001367/0.5391, allocations: 123.7 kB / 458.8 MB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.145e-05/0.5392, allocations: 15.8 kB / 458.8 MB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003504/0.5395, allocations: 130.3 kB / 458.9 MB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.12e-06/0.5396, allocations: 0 / 458.9 MB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.955e-06/0.5396, allocations: 0 / 458.9 MB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.968e-06/0.5396, allocations: 3.984 kB / 458.9 MB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006847/0.5403, allocations: 411.3 kB / 459.3 MB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.264e-06/0.5403, allocations: 0 / 459.3 MB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.46e-05/0.5404, allocations: 19.92 kB / 459.4 MB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.932e-06/0.5404, allocations: 0 / 459.4 MB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.5404, allocations: 4 kB / 459.4 MB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.066e-06/0.5404, allocations: 0 / 459.4 MB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.808e-06/0.5404, allocations: 3.938 kB / 459.4 MB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003526/0.5408, allocations: 221.9 kB / 459.6 MB, free: 1.996 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.5409, allocations: 104.9 kB / 459.7 MB, free: 1.875 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.556e-05/0.541, allocations: 8 kB / 459.7 MB, free: 1.867 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.5411, allocations: 0 / 459.7 MB, free: 1.867 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.5411, allocations: 7.984 kB / 459.7 MB, free: 1.859 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.5412, allocations: 4 kB / 459.7 MB, free: 1.855 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001697/0.5414, allocations: 143.5 kB / 459.8 MB, free: 1.715 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.09e-07/0.5414, allocations: 0 / 459.8 MB, free: 1.715 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004029/0.5418, allocations: 39.92 kB / 459.9 MB, free: 1.676 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) * 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.00153/0.5433, allocations: 467.8 kB / 460.3 MB, free: 1.301 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004198/0.5438, allocations: 171.3 kB / 460.5 MB, free: 1.121 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.5438, allocations: 4.062 kB / 460.5 MB, free: 1.117 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.5439, allocations: 35.92 kB / 460.5 MB, free: 1.082 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.5442, allocations: 19.94 kB / 460.6 MB, free: 1.062 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006391/0.5449, allocations: 279.7 kB / 460.8 MB, free: 0.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.5453, allocations: 0.7043 MB / 461.5 MB, free: 20 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.358e-05/0.5454, allocations: 19.42 kB / 461.6 MB, free: 4 kB / 378.7 MB Notification: Performance of SimCode: time 1.744e-06/0.5454, allocations: 0 / 461.6 MB, free: 4 kB / 378.7 MB Notification: Performance of Templates: time 0.004723/0.5501, allocations: 1.932 MB / 463.5 MB, free: 14.08 MB / 394.7 MB