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.Test59.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.Test59,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.Test59") Notification: Performance of loadModel(ModelicaTest): time 2.267/2.267, allocations: 234.9 MB / 250.5 MB, free: 9.461 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004406/0.0004408, allocations: 12 kB / 314.4 MB, free: 9.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2802, allocations: 54.86 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1346/0.4149, allocations: 82.36 MB / 451.6 MB, free: 8.23 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004174/0.4154, allocations: 83.89 kB / 451.7 MB, free: 8.148 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.03194/0.4473, allocations: 5.152 MB / 456.9 MB, free: 2.984 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.077e-06/0.4474, allocations: 0 / 456.9 MB, free: 2.984 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.613e-05/0.4474, allocations: 4 kB / 456.9 MB, free: 2.98 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.000618/0.448, allocations: 474.1 kB / 457.3 MB, free: 2.457 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.4481, allocations: 12.03 kB / 457.3 MB, free: 2.445 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.257e-05/0.4481, allocations: 11.91 kB / 457.4 MB, free: 2.434 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.4485, allocations: 187 kB / 457.5 MB, free: 2.211 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.4485, allocations: 4 kB / 457.5 MB, free: 2.207 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.4486, allocations: 7.906 kB / 457.6 MB, free: 2.199 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.4488, allocations: 72.22 kB / 457.6 MB, free: 2.117 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.4488, allocations: 0 / 457.6 MB, free: 2.117 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.4488, allocations: 11.88 kB / 457.6 MB, free: 2.105 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.37e-06/0.4488, allocations: 8 kB / 457.6 MB, free: 2.098 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.449, allocations: 27.92 kB / 457.7 MB, free: 2.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004485/0.4494, allocations: 288.9 kB / 458 MB, free: 1.738 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.4497, allocations: 58.67 kB / 458 MB, free: 1.672 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.4497, allocations: 0 / 458 MB, free: 1.672 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001856/0.4499, allocations: 83.41 kB / 458.1 MB, free: 1.578 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.388e-06/0.4499, allocations: 0 / 458.1 MB, free: 1.578 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007002/0.4506, allocations: 177.3 kB / 458.3 MB, free: 1.398 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.4507, allocations: 85.11 kB / 458.3 MB, free: 1.297 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.4509, allocations: 136.4 kB / 458.5 MB, free: 1.156 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.4509, allocations: 25.7 kB / 458.5 MB, free: 1.125 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.462e-05/0.451, allocations: 170.4 kB / 458.7 MB, free: 0.957 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/0.4511, allocations: 27.64 kB / 458.7 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.181e-05/0.4511, allocations: 4 kB / 458.7 MB, free: 0.9258 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.4513, allocations: 314.8 kB / 459 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.4514, allocations: 31.98 kB / 459 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.4515, allocations: 54.55 kB / 459.1 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.4517, allocations: 61.7 kB / 459.2 MB, free: 460 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.133e-06/0.4517, allocations: 4.031 kB / 459.2 MB, free: 456 kB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003633/0.4521, allocations: 163.2 kB / 459.3 MB, free: 280 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.574e-05/0.4521, allocations: 33.7 kB / 459.4 MB, free: 240 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.047e-06/0.4522, allocations: 0 / 459.4 MB, free: 240 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.4522, allocations: 0 / 459.4 MB, free: 240 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.4523, allocations: 19.92 kB / 459.4 MB, free: 220 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.567e-06/0.4523, allocations: 4 kB / 459.4 MB, free: 216 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.123e-05/0.4524, allocations: 8 kB / 459.4 MB, free: 208 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.4525, allocations: 4 kB / 459.4 MB, free: 204 kB / 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.0001311/0.4526, allocations: 121.9 kB / 459.5 MB, free: 72 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.137e-05/0.4526, allocations: 15.84 kB / 459.5 MB, free: 56 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003732/0.453, allocations: 126.3 kB / 459.6 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.333e-06/0.453, allocations: 0 / 459.6 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.268e-06/0.4531, allocations: 0 / 459.6 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.321e-06/0.4531, allocations: 3.938 kB / 459.6 MB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006566/0.4537, allocations: 411.2 kB / 460.1 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.001e-06/0.4538, allocations: 0 / 460.1 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.713e-05/0.4538, allocations: 11.98 kB / 460.1 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.721e-06/0.4539, allocations: 4 kB / 460.1 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.4539, allocations: 0 / 460.1 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.79e-06/0.4539, allocations: 0 / 460.1 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.404e-06/0.4539, allocations: 4 kB / 460.1 MB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003493/0.4543, allocations: 230.1 kB / 460.3 MB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.491e-05/0.4544, allocations: 93 kB / 460.4 MB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.4544, allocations: 96 / 460.4 MB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.4545, allocations: 12.31 kB / 460.4 MB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.4546, allocations: 11.92 kB / 460.4 MB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.4546, allocations: 4 kB / 460.4 MB, free: 15.05 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001289/0.4548, allocations: 111.2 kB / 460.5 MB, free: 14.95 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.52e-07/0.4548, allocations: 0 / 460.5 MB, free: 14.95 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00042/0.4552, allocations: 55.95 kB / 460.6 MB, free: 14.89 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.001845/0.4571, allocations: 0.5474 MB / 461.1 MB, free: 14.42 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000365/0.4575, allocations: 147.3 kB / 461.3 MB, free: 14.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.735e-06/0.4575, allocations: 0 / 461.3 MB, free: 14.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.4576, allocations: 35.92 kB / 461.3 MB, free: 14.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.4579, allocations: 19.98 kB / 461.3 MB, free: 14.21 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005446/0.4585, allocations: 236.2 kB / 461.6 MB, free: 13.94 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.4589, allocations: 0.7045 MB / 462.3 MB, free: 13.21 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.557e-05/0.459, allocations: 23.42 kB / 462.3 MB, free: 13.18 MB / 394.7 MB Notification: Performance of SimCode: time 1.432e-06/0.459, allocations: 3.938 kB / 462.3 MB, free: 13.18 MB / 394.7 MB Notification: Performance of Templates: time 0.00499/0.464, allocations: 2.096 MB / 464.4 MB, free: 11.09 MB / 394.7 MB