Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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.Test77") Notification: Performance of loadModel(ModelicaTest): time 2.558/2.558, allocations: 234.9 MB / 251.1 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000439/0.0004391, allocations: 15.98 kB / 314.9 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3708, allocations: 54.86 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1439/0.5148, allocations: 82.25 MB / 452.1 MB, free: 8.371 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/0.5151, allocations: 75.95 kB / 452.1 MB, free: 8.297 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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/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/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/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.0308/0.546, allocations: 6.781 MB / 458.9 MB, free: 1.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.546, allocations: 7.938 kB / 458.9 MB, free: 1.492 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.808e-05/0.546, allocations: 11.98 kB / 458.9 MB, free: 1.48 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.0009613/0.547, allocations: 0.6257 MB / 459.6 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.5471, allocations: 8.031 kB / 459.6 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.984e-05/0.5472, allocations: 27.72 kB / 459.6 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005791/0.5478, allocations: 270.5 kB / 459.9 MB, free: 456 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/0.5478, allocations: 7.938 kB / 459.9 MB, free: 448 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.69e-05/0.5479, allocations: 12 kB / 459.9 MB, free: 436 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003119/0.5482, allocations: 103.3 kB / 460 MB, free: 320 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.5482, allocations: 3.953 kB / 460 MB, free: 316 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.5483, allocations: 4 kB / 460 MB, free: 312 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.5483, allocations: 0 / 460 MB, free: 312 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002024/0.5485, allocations: 47.91 kB / 460 MB, free: 264 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008506/0.5494, allocations: 496.8 kB / 460.5 MB, free: 15.72 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004651/0.5498, allocations: 125.2 kB / 460.6 MB, free: 15.58 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.5499, allocations: 7.938 kB / 460.6 MB, free: 15.57 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003375/0.5502, allocations: 124.9 kB / 460.8 MB, free: 15.43 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 2.876e-06/0.5503, allocations: 0 / 460.8 MB, free: 15.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001546/0.5518, allocations: 368.2 kB / 461.1 MB, free: 15.06 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/0.5519, allocations: 81.11 kB / 461.2 MB, free: 14.96 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006055/0.5525, allocations: 350.5 kB / 461.5 MB, free: 14.61 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.806e-05/0.5526, allocations: 37.69 kB / 461.6 MB, free: 14.57 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.5527, allocations: 182.9 kB / 461.8 MB, free: 14.38 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.158e-05/0.5528, allocations: 51.34 kB / 461.8 MB, free: 14.33 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.887e-05/0.5528, allocations: 4 kB / 461.8 MB, free: 14.33 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.553, allocations: 326.8 kB / 462.1 MB, free: 14 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002868/0.5533, allocations: 68.16 kB / 462.2 MB, free: 13.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003069/0.5536, allocations: 115.8 kB / 462.3 MB, free: 13.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003558/0.554, allocations: 151.3 kB / 462.5 MB, free: 13.64 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.554, allocations: 0 / 462.5 MB, free: 13.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008567/0.5549, allocations: 320.8 kB / 462.8 MB, free: 13.31 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.88e-05/0.555, allocations: 71.39 kB / 462.8 MB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.555, allocations: 0 / 462.8 MB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.555, allocations: 4.062 kB / 462.9 MB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002543/0.5553, allocations: 39.91 kB / 462.9 MB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.5553, allocations: 0 / 462.9 MB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/0.5555, allocations: 16 kB / 462.9 MB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.819e-05/0.5556, allocations: 8 kB / 462.9 MB, free: 13.16 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.0002434/0.5558, allocations: 161.8 kB / 463.1 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.404e-05/0.5559, allocations: 23.72 kB / 463.1 MB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000728/0.5567, allocations: 227.2 kB / 463.3 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.136e-06/0.5567, allocations: 4 kB / 463.3 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.5567, allocations: 0 / 463.3 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.5567, allocations: 0 / 463.3 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.558, allocations: 0.6672 MB / 464 MB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.558, allocations: 4.031 kB / 464 MB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.5582, allocations: 27.92 kB / 464 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.5582, allocations: 0 / 464 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.5582, allocations: 4 kB / 464 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/0.5583, allocations: 4 kB / 464 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5583, allocations: 0.75 kB / 464 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006971/0.559, allocations: 390.1 kB / 464.4 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001872/0.5592, allocations: 128.7 kB / 464.5 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.848e-05/0.5593, allocations: 11.94 kB / 464.5 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.5595, allocations: 7.984 kB / 464.6 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.716e-05/0.5596, allocations: 15.98 kB / 464.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.5596, allocations: 8 kB / 464.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004309/0.5601, allocations: 253.9 kB / 464.8 MB, free: 11.13 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5601, allocations: 0 / 464.8 MB, free: 11.13 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000609/0.5607, allocations: 87.88 kB / 464.9 MB, free: 11.05 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.00205/0.5628, allocations: 0.6985 MB / 465.6 MB, free: 10.43 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009133/0.5637, allocations: 334.6 kB / 465.9 MB, free: 10.08 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.5638, allocations: 0 / 465.9 MB, free: 10.08 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002468/0.564, allocations: 67.91 kB / 466 MB, free: 10.01 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005723/0.5646, allocations: 44.31 kB / 466 MB, free: 9.969 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.5658, allocations: 0.5192 MB / 466.6 MB, free: 9.406 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000378/0.5662, allocations: 0.7556 MB / 467.3 MB, free: 8.625 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.5664, allocations: 27.42 kB / 467.3 MB, free: 8.598 MB / 394.7 MB Notification: Performance of SimCode: time 1.302e-06/0.5664, allocations: 0 / 467.3 MB, free: 8.598 MB / 394.7 MB Notification: Performance of Templates: time 0.009622/0.576, allocations: 3.604 MB / 471 MB, free: 4.996 MB / 394.7 MB