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.Test30.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.Test30,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.Test30") Notification: Performance of loadModel(ModelicaTest): time 2.099/2.099, allocations: 234.9 MB / 250.5 MB, free: 9.535 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007193/0.0007195, allocations: 16 kB / 314.4 MB, free: 9.543 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.309, allocations: 54.87 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1248/0.4339, allocations: 82.14 MB / 451.4 MB, free: 8.449 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/0.4342, allocations: 75.91 kB / 451.5 MB, free: 8.375 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.03217/0.4664, allocations: 4.586 MB / 456.1 MB, free: 3.781 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.702e-06/0.4664, allocations: 0 / 456.1 MB, free: 3.781 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.708e-05/0.4665, allocations: 4 kB / 456.1 MB, free: 3.777 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.001105/0.4676, allocations: 470.2 kB / 456.6 MB, free: 3.258 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.343e-05/0.4677, allocations: 8.031 kB / 456.6 MB, free: 3.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.4678, allocations: 11.81 kB / 456.6 MB, free: 3.238 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000642/0.4685, allocations: 206.9 kB / 456.8 MB, free: 2.996 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.348e-05/0.4685, allocations: 11.98 kB / 456.8 MB, free: 2.984 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.176e-05/0.4686, allocations: 7.938 kB / 456.8 MB, free: 2.977 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003202/0.469, allocations: 57.67 kB / 456.8 MB, free: 2.914 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.469, allocations: 0 / 456.8 MB, free: 2.914 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.4691, allocations: 3.953 kB / 456.9 MB, free: 2.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.736e-06/0.4691, allocations: 0 / 456.9 MB, free: 2.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002017/0.4693, allocations: 19.98 kB / 456.9 MB, free: 2.891 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000927/0.4703, allocations: 312.9 kB / 457.2 MB, free: 2.535 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000442/0.4707, allocations: 62.61 kB / 457.2 MB, free: 2.465 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.4708, allocations: 0 / 457.2 MB, free: 2.465 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003477/0.4712, allocations: 72.19 kB / 457.3 MB, free: 2.383 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 4.096e-06/0.4712, allocations: 3.938 kB / 457.3 MB, free: 2.379 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001389/0.4726, allocations: 197.1 kB / 457.5 MB, free: 2.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.932e-05/0.4727, allocations: 51.41 kB / 457.6 MB, free: 2.117 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004617/0.4732, allocations: 169.3 kB / 457.7 MB, free: 1.945 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.82e-05/0.4733, allocations: 29.7 kB / 457.7 MB, free: 1.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.4735, allocations: 166.4 kB / 457.9 MB, free: 1.746 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.461e-05/0.4736, allocations: 23.66 kB / 457.9 MB, free: 1.723 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/0.4736, allocations: 8 kB / 457.9 MB, free: 1.715 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002589/0.4739, allocations: 314.8 kB / 458.3 MB, free: 1.398 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002716/0.4742, allocations: 39.98 kB / 458.3 MB, free: 1.359 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003014/0.4745, allocations: 57.62 kB / 458.3 MB, free: 1.297 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003401/0.4749, allocations: 69.7 kB / 458.4 MB, free: 1.223 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.4749, allocations: 0 / 458.4 MB, free: 1.223 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008815/0.4758, allocations: 175.3 kB / 458.6 MB, free: 1.039 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.459e-05/0.476, allocations: 45.64 kB / 458.6 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.476, allocations: 0 / 458.6 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.476, allocations: 8.031 kB / 458.6 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.4763, allocations: 12 kB / 458.6 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.4763, allocations: 4.062 kB / 458.7 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.4765, allocations: 7.984 kB / 458.7 MB, free: 0.957 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.653e-05/0.4766, allocations: 8 kB / 458.7 MB, free: 0.9492 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.0002521/0.4769, allocations: 121.8 kB / 458.8 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.712e-05/0.477, allocations: 15.81 kB / 458.8 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000711/0.4777, allocations: 126.2 kB / 458.9 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.992e-06/0.4778, allocations: 4 kB / 458.9 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.059e-06/0.4778, allocations: 0 / 458.9 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.681e-06/0.4778, allocations: 0 / 458.9 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.4791, allocations: 415.3 kB / 459.3 MB, free: 200 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.798e-06/0.4792, allocations: 0 / 459.3 MB, free: 200 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.4793, allocations: 11.94 kB / 459.3 MB, free: 188 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.132e-06/0.4793, allocations: 0 / 459.3 MB, free: 188 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.4794, allocations: 4 kB / 459.4 MB, free: 184 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.087e-05/0.4794, allocations: 4.031 kB / 459.4 MB, free: 180 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.364e-06/0.4795, allocations: 3.938 kB / 459.4 MB, free: 176 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000751/0.4802, allocations: 226.1 kB / 459.6 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000204/0.4805, allocations: 100.9 kB / 459.7 MB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.11e-05/0.4806, allocations: 4.094 kB / 459.7 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002638/0.4808, allocations: 11.94 kB / 459.7 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.509e-05/0.481, allocations: 7.984 kB / 459.7 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/0.481, allocations: 4 kB / 459.7 MB, free: 15.78 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003386/0.4814, allocations: 139.2 kB / 459.8 MB, free: 15.64 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.109e-06/0.4814, allocations: 0 / 459.8 MB, free: 15.64 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009465/0.4824, allocations: 39.94 kB / 459.9 MB, free: 15.61 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.003071/0.4855, allocations: 464.6 kB / 460.3 MB, free: 15.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007738/0.4863, allocations: 171.3 kB / 460.5 MB, free: 15.05 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.53e-06/0.4863, allocations: 0 / 460.5 MB, free: 15.05 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002352/0.4866, allocations: 35.92 kB / 460.5 MB, free: 15.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006174/0.4872, allocations: 23.88 kB / 460.6 MB, free: 14.99 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.4884, allocations: 279.7 kB / 460.8 MB, free: 14.68 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006831/0.4891, allocations: 0.7082 MB / 461.5 MB, free: 13.95 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.4892, allocations: 15.44 kB / 461.6 MB, free: 13.93 MB / 394.7 MB Notification: Performance of SimCode: time 2.201e-06/0.4892, allocations: 0 / 461.6 MB, free: 13.93 MB / 394.7 MB Notification: Performance of Templates: time 0.00932/0.4986, allocations: 1.93 MB / 463.5 MB, free: 12.01 MB / 394.7 MB