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.Test73.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.Test73,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.Test73") Notification: Performance of loadModel(ModelicaTest): time 2.345/2.345, allocations: 234.9 MB / 250.5 MB, free: 10.52 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004353/0.0004354, allocations: 16 kB / 314.4 MB, free: 10.53 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.279, allocations: 54.87 MB / 369.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1267/0.4057, allocations: 82.26 MB / 451.5 MB, free: 8.465 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.406, allocations: 75.91 kB / 451.6 MB, free: 8.391 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.02819/0.4343, allocations: 6.784 MB / 458.4 MB, free: 1.586 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.258e-06/0.4343, allocations: 0 / 458.4 MB, free: 1.586 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.436e-05/0.4343, allocations: 8 kB / 458.4 MB, free: 1.578 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.0009254/0.4353, allocations: 0.6335 MB / 459 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.4353, allocations: 12.03 kB / 459 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.877e-05/0.4354, allocations: 23.72 kB / 459.1 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005072/0.4359, allocations: 262.5 kB / 459.3 MB, free: 0.543 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.436, allocations: 8 kB / 459.3 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.337e-05/0.436, allocations: 12 kB / 459.3 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002725/0.4363, allocations: 103.3 kB / 459.4 MB, free: 420 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.4363, allocations: 3.953 kB / 459.5 MB, free: 416 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.885e-05/0.4364, allocations: 8 kB / 459.5 MB, free: 408 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.304e-06/0.4364, allocations: 3.938 kB / 459.5 MB, free: 404 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001752/0.4366, allocations: 43.91 kB / 459.5 MB, free: 360 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008047/0.4374, allocations: 496.8 kB / 460 MB, free: 15.81 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004037/0.4378, allocations: 133.4 kB / 460.1 MB, free: 15.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.4379, allocations: 4 kB / 460.1 MB, free: 15.66 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003036/0.4382, allocations: 125 kB / 460.2 MB, free: 15.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 3.373e-06/0.4382, allocations: 0 / 460.2 MB, free: 15.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001308/0.4395, allocations: 376.2 kB / 460.6 MB, free: 15.14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.39e-05/0.4396, allocations: 81.11 kB / 460.7 MB, free: 15.05 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005109/0.4401, allocations: 313.8 kB / 461 MB, free: 14.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.165e-05/0.4402, allocations: 29.7 kB / 461 MB, free: 14.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.4403, allocations: 190.9 kB / 461.2 MB, free: 14.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.42e-05/0.4404, allocations: 47.34 kB / 461.3 MB, free: 14.46 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.956e-05/0.4404, allocations: 12 kB / 461.3 MB, free: 14.45 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.4406, allocations: 314.8 kB / 461.6 MB, free: 14.13 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.4409, allocations: 80.14 kB / 461.7 MB, free: 14.05 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.4411, allocations: 105.8 kB / 461.8 MB, free: 13.93 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003048/0.4415, allocations: 143.4 kB / 461.9 MB, free: 13.78 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.755e-06/0.4415, allocations: 7.953 kB / 461.9 MB, free: 13.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000777/0.4423, allocations: 328.8 kB / 462.2 MB, free: 13.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.252e-05/0.4424, allocations: 67.39 kB / 462.3 MB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.257e-06/0.4424, allocations: 0 / 462.3 MB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.4424, allocations: 0 / 462.3 MB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.4426, allocations: 39.92 kB / 462.3 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.559e-06/0.4426, allocations: 0 / 462.3 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.4428, allocations: 12.06 kB / 462.3 MB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-05/0.4429, allocations: 19.98 kB / 462.4 MB, free: 13.29 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.0002318/0.4431, allocations: 153.8 kB / 462.5 MB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.167e-05/0.4432, allocations: 27.67 kB / 462.5 MB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006488/0.4439, allocations: 219.3 kB / 462.8 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.4439, allocations: 4 kB / 462.8 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.4439, allocations: 0 / 462.8 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.424e-06/0.4439, allocations: 3.984 kB / 462.8 MB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.4451, allocations: 0.6593 MB / 463.4 MB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.445e-06/0.4452, allocations: 0 / 463.4 MB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.4453, allocations: 31.92 kB / 463.5 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.561e-06/0.4453, allocations: 0 / 463.5 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.4453, allocations: 4.75 kB / 463.5 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.603e-06/0.4454, allocations: 16.3 kB / 463.5 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.606e-06/0.4454, allocations: 0 / 463.5 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006473/0.446, allocations: 417.2 kB / 463.9 MB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001829/0.4462, allocations: 128.7 kB / 464 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.972e-05/0.4463, allocations: 11.95 kB / 464 MB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.4465, allocations: 11.98 kB / 464 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.693e-05/0.4466, allocations: 19.97 kB / 464.1 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/0.4467, allocations: 4 kB / 464.1 MB, free: 11.46 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003854/0.447, allocations: 253.9 kB / 464.3 MB, free: 11.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.63e-07/0.4471, allocations: 0 / 464.3 MB, free: 11.21 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005875/0.4477, allocations: 87.92 kB / 464.4 MB, free: 11.12 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.002516/0.4502, allocations: 0.6907 MB / 465.1 MB, free: 10.51 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007819/0.451, allocations: 338.7 kB / 465.4 MB, free: 10.15 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.322e-06/0.451, allocations: 0 / 465.4 MB, free: 10.15 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002063/0.4513, allocations: 67.91 kB / 465.5 MB, free: 10.09 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005028/0.4518, allocations: 44.8 kB / 465.5 MB, free: 10.04 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.4529, allocations: 0.5149 MB / 466 MB, free: 9.484 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004717/0.4534, allocations: 0.7595 MB / 466.8 MB, free: 8.699 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.839e-05/0.4535, allocations: 19.44 kB / 466.8 MB, free: 8.68 MB / 394.7 MB Notification: Performance of SimCode: time 1.541e-06/0.4535, allocations: 384 / 466.8 MB, free: 8.68 MB / 394.7 MB Notification: Performance of Templates: time 0.007968/0.4615, allocations: 3.601 MB / 470.4 MB, free: 5.086 MB / 394.7 MB