Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadModel(ModelicaTest): time 2.357/2.357, allocations: 234.9 MB / 251.1 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004649/0.0004651, allocations: 12 kB / 314.9 MB, free: 9.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3472, allocations: 54.87 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1478/0.4951, allocations: 82.24 MB / 452.1 MB, free: 8.375 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/0.4954, allocations: 79.95 kB / 452.1 MB, free: 8.297 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new_2.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_2.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_2.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_2.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.03576/0.5312, allocations: 7.104 MB / 459.2 MB, free: 1.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.188e-06/0.5313, allocations: 4 kB / 459.2 MB, free: 1.176 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.038e-05/0.5313, allocations: 11.88 kB / 459.3 MB, free: 1.164 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001299/0.5327, allocations: 0.6761 MB / 459.9 MB, free: 424 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/0.5327, allocations: 12.02 kB / 459.9 MB, free: 412 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.5329, allocations: 31.62 kB / 460 MB, free: 380 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007693/0.5337, allocations: 287 kB / 460.3 MB, free: 48 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/0.5338, allocations: 4 kB / 460.3 MB, free: 44 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.092e-05/0.5338, allocations: 19.95 kB / 460.3 MB, free: 24 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003948/0.5342, allocations: 103.4 kB / 460.4 MB, free: 15.91 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.5343, allocations: 3.906 kB / 460.4 MB, free: 15.9 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.5343, allocations: 0 / 460.4 MB, free: 15.9 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.5343, allocations: 0 / 460.4 MB, free: 15.9 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002311/0.5346, allocations: 47.91 kB / 460.4 MB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.5357, allocations: 0.5163 MB / 460.9 MB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005352/0.5363, allocations: 121.3 kB / 461.1 MB, free: 15.15 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.5363, allocations: 0 / 461.1 MB, free: 15.15 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003859/0.5367, allocations: 132.9 kB / 461.2 MB, free: 15 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 2.435e-06/0.5368, allocations: 0 / 461.2 MB, free: 15 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001714/0.5385, allocations: 399.8 kB / 461.6 MB, free: 14.61 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.936e-05/0.5386, allocations: 77.11 kB / 461.7 MB, free: 14.51 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.5396, allocations: 468.3 kB / 462.1 MB, free: 14.05 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.349e-05/0.5398, allocations: 33.7 kB / 462.1 MB, free: 14.01 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/0.54, allocations: 207 kB / 462.4 MB, free: 13.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.863e-05/0.5401, allocations: 47.3 kB / 462.4 MB, free: 13.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.006e-05/0.5401, allocations: 4 kB / 462.4 MB, free: 13.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.5403, allocations: 326.8 kB / 462.7 MB, free: 13.42 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003262/0.5406, allocations: 72.16 kB / 462.8 MB, free: 13.35 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/0.541, allocations: 107.8 kB / 462.9 MB, free: 13.23 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004006/0.5414, allocations: 159.4 kB / 463.1 MB, free: 13.06 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5414, allocations: 0 / 463.1 MB, free: 13.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009736/0.5424, allocations: 316.8 kB / 463.4 MB, free: 12.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.806e-05/0.5425, allocations: 67.39 kB / 463.4 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.5425, allocations: 0 / 463.4 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.5426, allocations: 0 / 463.4 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/0.5429, allocations: 35.98 kB / 463.5 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.5429, allocations: 8 kB / 463.5 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/0.5432, allocations: 15.98 kB / 463.5 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.64e-05/0.5433, allocations: 12 kB / 463.5 MB, free: 12.59 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * 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.0003486/0.5436, allocations: 173.8 kB / 463.7 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.5437, allocations: 27.62 kB / 463.7 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008759/0.5446, allocations: 236.3 kB / 463.9 MB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.5447, allocations: 4 kB / 463.9 MB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.5447, allocations: 0 / 463.9 MB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.5447, allocations: 4 kB / 463.9 MB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/0.5464, allocations: 0.6985 MB / 464.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.5465, allocations: 4 kB / 464.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.5466, allocations: 27.86 kB / 464.7 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/0.5467, allocations: 8.062 kB / 464.7 MB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.5467, allocations: 4 kB / 464.7 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.5467, allocations: 0 / 464.7 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.5467, allocations: 0 / 464.7 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008345/0.5476, allocations: 390 kB / 465.1 MB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002405/0.5478, allocations: 140.7 kB / 465.2 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.472e-05/0.5479, allocations: 12.73 kB / 465.2 MB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.5482, allocations: 7.938 kB / 465.2 MB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.367e-05/0.5483, allocations: 19.94 kB / 465.2 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.5483, allocations: 7.984 kB / 465.2 MB, free: 10.72 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006596/0.549, allocations: 339 kB / 465.6 MB, free: 10.39 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.72e-07/0.549, allocations: 0 / 465.6 MB, free: 10.39 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007422/0.5498, allocations: 95.86 kB / 465.7 MB, free: 10.3 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002239/0.552, allocations: 0.699 MB / 466.4 MB, free: 9.672 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009703/0.5531, allocations: 342.6 kB / 466.7 MB, free: 9.312 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.5531, allocations: 0 / 466.7 MB, free: 9.312 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002723/0.5534, allocations: 63.91 kB / 466.8 MB, free: 9.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006481/0.5541, allocations: 53.11 kB / 466.8 MB, free: 9.203 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.5558, allocations: 0.6366 MB / 467.4 MB, free: 8.523 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004811/0.5564, allocations: 0.779 MB / 468.2 MB, free: 7.719 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.5566, allocations: 27.44 kB / 468.3 MB, free: 7.691 MB / 394.7 MB Notification: Performance of SimCode: time 1.734e-06/0.5566, allocations: 0 / 468.3 MB, free: 7.691 MB / 394.7 MB Notification: Performance of Templates: time 0.01159/0.5682, allocations: 3.979 MB / 472.2 MB, free: 3.715 MB / 394.7 MB