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.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadModel(ModelicaTest): time 2.36/2.36, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004605/0.0004606, allocations: 16 kB / 314.4 MB, free: 9.547 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2893, allocations: 54.87 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1292/0.4185, allocations: 82.36 MB / 451.7 MB, free: 8.238 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/0.4188, allocations: 79.91 kB / 451.7 MB, free: 8.16 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.02271/0.4416, allocations: 5.413 MB / 457.1 MB, free: 2.734 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.589e-06/0.4416, allocations: 3.938 kB / 457.1 MB, free: 2.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.759e-05/0.4416, allocations: 0 / 457.1 MB, free: 2.73 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007013/0.4424, allocations: 475.1 kB / 457.6 MB, free: 2.207 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.4424, allocations: 8.031 kB / 457.6 MB, free: 2.199 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.921e-05/0.4425, allocations: 15.89 kB / 457.6 MB, free: 2.184 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003547/0.4429, allocations: 206.9 kB / 457.8 MB, free: 1.941 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.4429, allocations: 0 / 457.8 MB, free: 1.941 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.4429, allocations: 7.984 kB / 457.8 MB, free: 1.934 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/0.4432, allocations: 91.27 kB / 457.9 MB, free: 1.832 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.4432, allocations: 0 / 457.9 MB, free: 1.832 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.4432, allocations: 3.984 kB / 457.9 MB, free: 1.828 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.403e-06/0.4432, allocations: 0 / 457.9 MB, free: 1.828 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.4434, allocations: 31.98 kB / 458 MB, free: 1.797 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005719/0.444, allocations: 312.8 kB / 458.3 MB, free: 1.441 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.4443, allocations: 78.61 kB / 458.3 MB, free: 1.355 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.4443, allocations: 4 kB / 458.4 MB, free: 1.352 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.4446, allocations: 79.47 kB / 458.4 MB, free: 1.262 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 3.074e-06/0.4446, allocations: 0 / 458.4 MB, free: 1.262 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008494/0.4455, allocations: 217.2 kB / 458.6 MB, free: 1.043 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.976e-05/0.4455, allocations: 81.05 kB / 458.7 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.4458, allocations: 149.5 kB / 458.9 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.4458, allocations: 25.7 kB / 458.9 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.4459, allocations: 158.6 kB / 459 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.075e-05/0.446, allocations: 31.55 kB / 459.1 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.206e-05/0.446, allocations: 4 kB / 459.1 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.4462, allocations: 314.8 kB / 459.4 MB, free: 256 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.4463, allocations: 43.97 kB / 459.4 MB, free: 212 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.4465, allocations: 62.56 kB / 459.5 MB, free: 140 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.4467, allocations: 73.62 kB / 459.6 MB, free: 60 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.273e-06/0.4467, allocations: 3.953 kB / 459.6 MB, free: 56 kB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004574/0.4472, allocations: 171.4 kB / 459.7 MB, free: 15.87 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.729e-05/0.4473, allocations: 33.7 kB / 459.8 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.47e-06/0.4473, allocations: 0 / 459.8 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.4473, allocations: 0 / 459.8 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.4474, allocations: 23.98 kB / 459.8 MB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.67e-06/0.4475, allocations: 8 kB / 459.8 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.526e-05/0.4476, allocations: 4 kB / 459.8 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.4476, allocations: 8 kB / 459.8 MB, free: 15.79 MB / 394.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 (12): * Single equations (assignments): 11 * 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.000154/0.4478, allocations: 125.8 kB / 459.9 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.713e-05/0.4478, allocations: 15.77 kB / 460 MB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004156/0.4483, allocations: 134.4 kB / 460.1 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.533e-06/0.4483, allocations: 0 / 460.1 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.557e-06/0.4483, allocations: 4 kB / 460.1 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.4483, allocations: 4 kB / 460.1 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007816/0.4491, allocations: 443 kB / 460.5 MB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.299e-06/0.4491, allocations: 0 / 460.5 MB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.432e-05/0.4492, allocations: 19.98 kB / 460.5 MB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.107e-06/0.4493, allocations: 0 / 460.5 MB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.4493, allocations: 8 kB / 460.6 MB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.66e-06/0.4493, allocations: 0 / 460.6 MB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.558e-06/0.4493, allocations: 0 / 460.6 MB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004333/0.4498, allocations: 250.1 kB / 460.8 MB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.4499, allocations: 100.9 kB / 460.9 MB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.979e-05/0.4499, allocations: 3.984 kB / 460.9 MB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.4501, allocations: 8 kB / 460.9 MB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.4501, allocations: 7.984 kB / 460.9 MB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.4502, allocations: 11.98 kB / 460.9 MB, free: 14.56 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001528/0.4503, allocations: 118.4 kB / 461 MB, free: 14.45 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.96e-07/0.4504, allocations: 4 kB / 461 MB, free: 14.45 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004699/0.4508, allocations: 59.86 kB / 461.1 MB, free: 14.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 (11): * Single equations (assignments): 9 * 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.00195/0.4528, allocations: 0.5419 MB / 461.6 MB, free: 13.93 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004896/0.4533, allocations: 171.3 kB / 461.8 MB, free: 13.75 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.082e-06/0.4534, allocations: 0 / 461.8 MB, free: 13.75 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.4535, allocations: 40.05 kB / 461.9 MB, free: 13.71 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.4539, allocations: 20.36 kB / 461.9 MB, free: 13.69 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006477/0.4545, allocations: 267.7 kB / 462.1 MB, free: 13.39 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/0.455, allocations: 0.7043 MB / 462.8 MB, free: 12.66 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.968e-05/0.4551, allocations: 23.42 kB / 462.9 MB, free: 12.63 MB / 394.7 MB Notification: Performance of SimCode: time 1.651e-06/0.4551, allocations: 0 / 462.9 MB, free: 12.63 MB / 394.7 MB Notification: Performance of Templates: time 0.005535/0.4606, allocations: 2.245 MB / 465.1 MB, free: 10.39 MB / 394.7 MB