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.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadModel(ModelicaTest): time 2.115/2.115, allocations: 234.9 MB / 250.5 MB, free: 10.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000436/0.0004361, allocations: 12 kB / 314.4 MB, free: 10.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2947, allocations: 54.86 MB / 369.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1269/0.4217, allocations: 81.99 MB / 451.3 MB, free: 8.734 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/0.422, allocations: 71.97 kB / 451.3 MB, free: 8.664 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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.02589/0.4479, allocations: 4.733 MB / 456.1 MB, free: 3.918 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.737e-06/0.4479, allocations: 0 / 456.1 MB, free: 3.918 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.667e-05/0.448, allocations: 0 / 456.1 MB, free: 3.918 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0008511/0.4488, allocations: 0.4901 MB / 456.6 MB, free: 3.367 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.4489, allocations: 8.031 kB / 456.6 MB, free: 3.359 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.877e-05/0.449, allocations: 11.91 kB / 456.6 MB, free: 3.348 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005044/0.4495, allocations: 218.7 kB / 456.8 MB, free: 3.094 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.4496, allocations: 4 kB / 456.8 MB, free: 3.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.4496, allocations: 4 kB / 456.8 MB, free: 3.086 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.4498, allocations: 53.67 kB / 456.9 MB, free: 3.027 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.4499, allocations: 0 / 456.9 MB, free: 3.027 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.4499, allocations: 7.953 kB / 456.9 MB, free: 3.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.229e-06/0.4499, allocations: 0 / 456.9 MB, free: 3.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.4501, allocations: 15.98 kB / 456.9 MB, free: 3.004 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.4504, allocations: 201.7 kB / 457.1 MB, free: 2.758 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002924/0.4508, allocations: 66.53 kB / 457.1 MB, free: 2.684 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.4508, allocations: 0 / 457.1 MB, free: 2.684 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002359/0.451, allocations: 67.48 kB / 457.2 MB, free: 2.605 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 3.195e-06/0.4511, allocations: 0 / 457.2 MB, free: 2.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005172/0.4516, allocations: 109.4 kB / 457.3 MB, free: 2.492 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.4517, allocations: 55.36 kB / 457.4 MB, free: 2.426 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005223/0.4522, allocations: 238.4 kB / 457.6 MB, free: 2.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.4523, allocations: 25.7 kB / 457.6 MB, free: 2.148 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.4524, allocations: 166.6 kB / 457.8 MB, free: 1.984 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.836e-05/0.4525, allocations: 23.75 kB / 457.8 MB, free: 1.961 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.299e-05/0.4525, allocations: 0 / 457.8 MB, free: 1.961 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002078/0.4528, allocations: 322.8 kB / 458.1 MB, free: 1.637 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.4529, allocations: 27.92 kB / 458.2 MB, free: 1.609 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.4531, allocations: 45.7 kB / 458.2 MB, free: 1.559 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002173/0.4534, allocations: 73.62 kB / 458.3 MB, free: 1.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.394e-06/0.4534, allocations: 0 / 458.3 MB, free: 1.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005999/0.454, allocations: 155.2 kB / 458.4 MB, free: 1.316 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.877e-05/0.4541, allocations: 34.94 kB / 458.5 MB, free: 1.277 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/0.4542, allocations: 4 kB / 458.5 MB, free: 1.273 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.4542, allocations: 3.938 kB / 458.5 MB, free: 1.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.4544, allocations: 8 kB / 458.5 MB, free: 1.262 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.4544, allocations: 0 / 458.5 MB, free: 1.262 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.4547, allocations: 20.25 kB / 458.5 MB, free: 1.242 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/0.4547, allocations: 4 kB / 458.5 MB, free: 1.238 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 (8): * Single equations (assignments): 7 * 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.0002815/0.455, allocations: 129.9 kB / 458.6 MB, free: 1.102 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.427e-05/0.4551, allocations: 23.81 kB / 458.6 MB, free: 1.078 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005689/0.4557, allocations: 102.6 kB / 458.7 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.795e-06/0.4558, allocations: 0 / 458.7 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.396e-06/0.4558, allocations: 0 / 458.7 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.466e-06/0.4558, allocations: 0 / 458.7 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004537/0.4563, allocations: 213.5 kB / 459 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.615e-06/0.4563, allocations: 0 / 459 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.684e-05/0.4564, allocations: 4 kB / 459 MB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.4564, allocations: 0 / 459 MB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.4565, allocations: 8 kB / 459 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.123e-06/0.4565, allocations: 0 / 459 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.202e-06/0.4565, allocations: 0 / 459 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005523/0.4571, allocations: 124.9 kB / 459.1 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000234/0.4574, allocations: 100.9 kB / 459.2 MB, free: 452 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.136e-05/0.4575, allocations: 7.938 kB / 459.2 MB, free: 444 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.4576, allocations: 3.984 kB / 459.2 MB, free: 440 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.298e-05/0.4577, allocations: 4 kB / 459.2 MB, free: 436 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.4577, allocations: 7.938 kB / 459.2 MB, free: 428 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005255/0.4583, allocations: 196.2 kB / 459.4 MB, free: 232 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.052e-06/0.4583, allocations: 0 / 459.4 MB, free: 232 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.000785/0.4591, allocations: 35.94 kB / 459.4 MB, free: 196 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.002678/0.4618, allocations: 407 kB / 459.8 MB, free: 15.86 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007143/0.4626, allocations: 155.3 kB / 460 MB, free: 15.7 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.4626, allocations: 0 / 460 MB, free: 15.7 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.4628, allocations: 24 kB / 460 MB, free: 15.68 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005072/0.4634, allocations: 20.12 kB / 460 MB, free: 15.65 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.4647, allocations: 323.6 kB / 460.3 MB, free: 15.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006848/0.4654, allocations: 0.7238 MB / 461.1 MB, free: 14.55 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.067e-05/0.4655, allocations: 11.44 kB / 461.1 MB, free: 14.54 MB / 394.7 MB Notification: Performance of SimCode: time 1.839e-06/0.4655, allocations: 0 / 461.1 MB, free: 14.54 MB / 394.7 MB Notification: Performance of Templates: time 0.006669/0.4722, allocations: 1.91 MB / 463 MB, free: 12.64 MB / 394.7 MB