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.Test77.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.Test77,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.Test77") Notification: Performance of loadModel(ModelicaTest): time 2.352/2.352, allocations: 234.9 MB / 250.5 MB, free: 9.461 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004604/0.0004604, allocations: 16 kB / 314.4 MB, free: 9.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2808, allocations: 54.85 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1291/0.41, allocations: 82.26 MB / 451.5 MB, free: 8.324 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.4102, allocations: 79.94 kB / 451.6 MB, free: 8.246 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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@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_2.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_2.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_2.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02836/0.4386, allocations: 6.788 MB / 458.4 MB, free: 1.438 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.229e-06/0.4386, allocations: 0 / 458.4 MB, free: 1.438 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.369e-05/0.4387, allocations: 12 kB / 458.4 MB, free: 1.426 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.000924/0.4396, allocations: 0.6296 MB / 459 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.4397, allocations: 8.031 kB / 459 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.706e-05/0.4398, allocations: 23.72 kB / 459.1 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005078/0.4403, allocations: 258.6 kB / 459.3 MB, free: 412 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.4403, allocations: 12 kB / 459.3 MB, free: 400 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.845e-05/0.4404, allocations: 8 kB / 459.3 MB, free: 392 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.4407, allocations: 111.2 kB / 459.4 MB, free: 268 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.4407, allocations: 3.953 kB / 459.5 MB, free: 264 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.4407, allocations: 4 kB / 459.5 MB, free: 260 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.4407, allocations: 4 kB / 459.5 MB, free: 256 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.4409, allocations: 39.97 kB / 459.5 MB, free: 216 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008167/0.4417, allocations: 0.4929 MB / 460 MB, free: 15.66 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003948/0.4422, allocations: 129.3 kB / 460.1 MB, free: 15.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.4422, allocations: 0 / 460.1 MB, free: 15.52 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002957/0.4425, allocations: 129 kB / 460.2 MB, free: 15.38 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 2.32e-06/0.4425, allocations: 0 / 460.2 MB, free: 15.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001296/0.4438, allocations: 372.2 kB / 460.6 MB, free: 15 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.318e-05/0.4439, allocations: 77.11 kB / 460.7 MB, free: 14.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005295/0.4445, allocations: 321.8 kB / 461 MB, free: 14.59 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/0.4445, allocations: 29.7 kB / 461 MB, free: 14.55 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.4447, allocations: 194.9 kB / 461.2 MB, free: 14.36 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.907e-05/0.4448, allocations: 47.36 kB / 461.3 MB, free: 14.31 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.716e-05/0.4448, allocations: 4 kB / 461.3 MB, free: 14.3 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.445, allocations: 322.8 kB / 461.6 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002366/0.4452, allocations: 72.16 kB / 461.7 MB, free: 13.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002666/0.4455, allocations: 121.8 kB / 461.8 MB, free: 13.78 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.4458, allocations: 143.4 kB / 461.9 MB, free: 13.62 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.197e-06/0.4458, allocations: 3.953 kB / 461.9 MB, free: 13.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007732/0.4466, allocations: 316.9 kB / 462.2 MB, free: 13.29 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.577e-05/0.4467, allocations: 71.33 kB / 462.3 MB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.4467, allocations: 0 / 462.3 MB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.4468, allocations: 8.062 kB / 462.3 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.447, allocations: 31.98 kB / 462.3 MB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.447, allocations: 4 kB / 462.3 MB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.4472, allocations: 11.98 kB / 462.3 MB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/0.4472, allocations: 12 kB / 462.4 MB, free: 13.14 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.0002399/0.4475, allocations: 157.8 kB / 462.5 MB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.063e-05/0.4476, allocations: 31.66 kB / 462.5 MB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006475/0.4482, allocations: 231.5 kB / 462.8 MB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.48e-06/0.4482, allocations: 4 kB / 462.8 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.547e-05/0.4483, allocations: 0 / 462.8 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.687e-06/0.4483, allocations: 0 / 462.8 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.4495, allocations: 0.6593 MB / 463.4 MB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.277e-06/0.4496, allocations: 8.062 kB / 463.4 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.4497, allocations: 20 kB / 463.5 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.144e-05/0.4497, allocations: 7.984 kB / 463.5 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.4497, allocations: 0 / 463.5 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.569e-06/0.4497, allocations: 4 kB / 463.5 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.755e-06/0.4497, allocations: 7.875 kB / 463.5 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006547/0.4504, allocations: 413.2 kB / 463.9 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001817/0.4506, allocations: 128.7 kB / 464 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.885e-05/0.4507, allocations: 12.7 kB / 464 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003471/0.451, allocations: 8 kB / 464 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.785e-05/0.4511, allocations: 19.97 kB / 464.1 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.4512, allocations: 8 kB / 464.1 MB, free: 11.31 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003896/0.4516, allocations: 249.9 kB / 464.3 MB, free: 11.06 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.15e-06/0.4516, allocations: 0 / 464.3 MB, free: 11.06 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005856/0.4522, allocations: 87.86 kB / 464.4 MB, free: 10.98 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.002505/0.4547, allocations: 0.6955 MB / 465.1 MB, free: 10.36 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007641/0.4555, allocations: 342.6 kB / 465.4 MB, free: 10 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.856e-06/0.4555, allocations: 0 / 465.4 MB, free: 10 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.4558, allocations: 67.91 kB / 465.5 MB, free: 9.934 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005339/0.4563, allocations: 33.11 kB / 465.5 MB, free: 9.898 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.4574, allocations: 0.5109 MB / 466 MB, free: 9.348 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005063/0.458, allocations: 0.7634 MB / 466.8 MB, free: 8.559 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.518e-05/0.4581, allocations: 31.36 kB / 466.8 MB, free: 8.527 MB / 394.7 MB Notification: Performance of SimCode: time 1.663e-06/0.4581, allocations: 0 / 466.8 MB, free: 8.527 MB / 394.7 MB Notification: Performance of Templates: time 0.008073/0.4662, allocations: 3.609 MB / 470.4 MB, free: 4.926 MB / 394.7 MB