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.Test40.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.Test40,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.Test40") Notification: Performance of loadModel(ModelicaTest): time 2.099/2.099, allocations: 234.9 MB / 250.5 MB, free: 9.453 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004426/0.0004429, allocations: 12 kB / 314.4 MB, free: 9.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2733, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1387/0.412, allocations: 82.14 MB / 451.4 MB, free: 8.441 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/0.4123, allocations: 71.95 kB / 451.5 MB, free: 8.371 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.0196/0.4319, allocations: 4.703 MB / 456.2 MB, free: 3.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.011e-06/0.432, allocations: 4 kB / 456.2 MB, free: 3.656 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.7e-05/0.432, allocations: 0 / 456.2 MB, free: 3.656 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.0009281/0.4329, allocations: 486 kB / 456.7 MB, free: 3.121 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.468e-05/0.433, allocations: 12.03 kB / 456.7 MB, free: 3.109 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.548e-05/0.4332, allocations: 7.906 kB / 456.7 MB, free: 3.102 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006499/0.4338, allocations: 219.5 kB / 456.9 MB, free: 2.844 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.562e-05/0.4339, allocations: 4 kB / 456.9 MB, free: 2.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.808e-05/0.434, allocations: 4 kB / 456.9 MB, free: 2.836 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003011/0.4343, allocations: 53.67 kB / 457 MB, free: 2.777 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.4343, allocations: 0 / 457 MB, free: 2.777 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.076e-05/0.4344, allocations: 7.938 kB / 457 MB, free: 2.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.4344, allocations: 4 kB / 457 MB, free: 2.766 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/0.4346, allocations: 23.98 kB / 457 MB, free: 2.742 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009475/0.4356, allocations: 320.8 kB / 457.3 MB, free: 2.379 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004248/0.4361, allocations: 66.55 kB / 457.4 MB, free: 2.305 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.4361, allocations: 4 kB / 457.4 MB, free: 2.301 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003243/0.4365, allocations: 68.19 kB / 457.4 MB, free: 2.223 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 4.06e-06/0.4365, allocations: 4 kB / 457.5 MB, free: 2.219 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001227/0.4378, allocations: 189.4 kB / 457.6 MB, free: 2.027 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.33e-05/0.4379, allocations: 55.41 kB / 457.7 MB, free: 1.961 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004837/0.4384, allocations: 185.5 kB / 457.9 MB, free: 1.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.719e-05/0.4384, allocations: 25.7 kB / 457.9 MB, free: 1.738 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.4386, allocations: 170.5 kB / 458.1 MB, free: 1.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.806e-05/0.4387, allocations: 27.64 kB / 458.1 MB, free: 1.543 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.727e-05/0.4388, allocations: 0 / 458.1 MB, free: 1.543 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002504/0.439, allocations: 322.8 kB / 458.4 MB, free: 1.219 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/0.4393, allocations: 39.92 kB / 458.4 MB, free: 1.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002596/0.4396, allocations: 53.69 kB / 458.5 MB, free: 1.121 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.4399, allocations: 73.69 kB / 458.6 MB, free: 1.043 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.208e-06/0.4399, allocations: 0 / 458.6 MB, free: 1.043 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007852/0.4407, allocations: 171.3 kB / 458.7 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.12e-05/0.4408, allocations: 41.64 kB / 458.8 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.61e-06/0.4409, allocations: 4.125 kB / 458.8 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.4409, allocations: 3.938 kB / 458.8 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.4411, allocations: 19.98 kB / 458.8 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.076e-06/0.4412, allocations: 0 / 458.8 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.4413, allocations: 8 kB / 458.8 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.648e-05/0.4414, allocations: 4 kB / 458.8 MB, free: 0.7773 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.0002539/0.4417, allocations: 137.8 kB / 459 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.009e-05/0.4417, allocations: 11.81 kB / 459 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006227/0.4424, allocations: 123 kB / 459.1 MB, free: 496 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.841e-06/0.4424, allocations: 7.938 kB / 459.1 MB, free: 488 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.495e-06/0.4425, allocations: 0 / 459.1 MB, free: 488 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.707e-06/0.4425, allocations: 0 / 459.1 MB, free: 488 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.4437, allocations: 419.2 kB / 459.5 MB, free: 8 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.117e-06/0.4437, allocations: 4 kB / 459.5 MB, free: 4 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.4439, allocations: 8.047 kB / 459.5 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.4439, allocations: 7.969 kB / 459.5 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.43e-05/0.444, allocations: 11.98 kB / 459.5 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.242e-06/0.444, allocations: 0 / 459.5 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.178e-06/0.444, allocations: 160 / 459.5 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000653/0.4447, allocations: 229.7 kB / 459.8 MB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001916/0.4449, allocations: 101 kB / 459.9 MB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.282e-05/0.445, allocations: 8 kB / 459.9 MB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.4452, allocations: 4 kB / 459.9 MB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.338e-05/0.4453, allocations: 7.984 kB / 459.9 MB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.4454, allocations: 0 / 459.9 MB, free: 15.59 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003502/0.4457, allocations: 155.2 kB / 460 MB, free: 15.44 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.11e-06/0.4457, allocations: 0 / 460 MB, free: 15.44 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008598/0.4466, allocations: 43.92 kB / 460.1 MB, free: 15.39 MB / 394.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.002737/0.4494, allocations: 468.1 kB / 460.5 MB, free: 15.02 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006675/0.4501, allocations: 167.4 kB / 460.7 MB, free: 14.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.511e-06/0.4501, allocations: 0 / 460.7 MB, free: 14.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002087/0.4503, allocations: 39.91 kB / 460.7 MB, free: 14.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005543/0.4509, allocations: 27.84 kB / 460.8 MB, free: 14.78 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.452, allocations: 296.4 kB / 461 MB, free: 14.45 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006569/0.4527, allocations: 0.7121 MB / 461.8 MB, free: 13.71 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.774e-05/0.4528, allocations: 23.36 kB / 461.8 MB, free: 13.69 MB / 394.7 MB Notification: Performance of SimCode: time 2.052e-06/0.4529, allocations: 0 / 461.8 MB, free: 13.69 MB / 394.7 MB Notification: Performance of Templates: time 0.008435/0.4613, allocations: 2.005 MB / 463.8 MB, free: 11.69 MB / 394.7 MB