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.Test73.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.Test73,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.Test73") Notification: Performance of loadModel(ModelicaTest): time 2.523/2.523, allocations: 234.9 MB / 251.1 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000449/0.0004492, allocations: 15.98 kB / 314.9 MB, free: 9.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3719, allocations: 54.86 MB / 369.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1547/0.5267, allocations: 82.24 MB / 452.1 MB, free: 8.367 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/0.527, allocations: 83.95 kB / 452.1 MB, free: 8.285 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.03142/0.5585, allocations: 6.788 MB / 458.9 MB, free: 1.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.5585, allocations: 0 / 458.9 MB, free: 1.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.092e-05/0.5586, allocations: 11.94 kB / 458.9 MB, free: 1.469 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.001259/0.5598, allocations: 0.6296 MB / 459.6 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.5599, allocations: 12.03 kB / 459.6 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.5601, allocations: 23.72 kB / 459.6 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006775/0.5608, allocations: 262.6 kB / 459.9 MB, free: 448 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.871e-05/0.5608, allocations: 8 kB / 459.9 MB, free: 440 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.68e-05/0.5609, allocations: 11.94 kB / 459.9 MB, free: 428 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003386/0.5612, allocations: 99.34 kB / 460 MB, free: 316 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.5613, allocations: 7.953 kB / 460 MB, free: 308 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.5613, allocations: 4 kB / 460 MB, free: 304 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.5613, allocations: 0 / 460 MB, free: 304 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002129/0.5615, allocations: 43.97 kB / 460 MB, free: 260 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.5626, allocations: 0.489 MB / 460.5 MB, free: 15.71 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005181/0.5632, allocations: 129.2 kB / 460.6 MB, free: 15.57 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.5632, allocations: 4 kB / 460.6 MB, free: 15.56 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003741/0.5636, allocations: 124.9 kB / 460.8 MB, free: 15.42 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 3.176e-06/0.5636, allocations: 0 / 460.8 MB, free: 15.42 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001614/0.5652, allocations: 372.2 kB / 461.1 MB, free: 15.05 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.34e-05/0.5654, allocations: 81.11 kB / 461.2 MB, free: 14.95 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006811/0.5661, allocations: 346.6 kB / 461.5 MB, free: 14.6 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.492e-05/0.5662, allocations: 29.7 kB / 461.6 MB, free: 14.57 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.5663, allocations: 190.9 kB / 461.8 MB, free: 14.38 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.185e-05/0.5664, allocations: 47.34 kB / 461.8 MB, free: 14.33 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.183e-05/0.5664, allocations: 4 kB / 461.8 MB, free: 14.32 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.5666, allocations: 326.8 kB / 462.1 MB, free: 14 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003161/0.5669, allocations: 80.14 kB / 462.2 MB, free: 13.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003075/0.5672, allocations: 107.8 kB / 462.3 MB, free: 13.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003727/0.5676, allocations: 147.3 kB / 462.5 MB, free: 13.64 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.5677, allocations: 4 kB / 462.5 MB, free: 13.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009065/0.5686, allocations: 328.8 kB / 462.8 MB, free: 13.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.622e-05/0.5687, allocations: 67.39 kB / 462.9 MB, free: 13.22 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.5687, allocations: 0 / 462.9 MB, free: 13.22 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.772e-05/0.5688, allocations: 4 kB / 462.9 MB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002698/0.569, allocations: 31.98 kB / 462.9 MB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/0.5691, allocations: 4 kB / 462.9 MB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/0.5693, allocations: 11.94 kB / 462.9 MB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.383e-05/0.5694, allocations: 15.98 kB / 462.9 MB, free: 13.15 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.0002953/0.5697, allocations: 157.8 kB / 463.1 MB, free: 12.99 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.726e-05/0.5698, allocations: 23.72 kB / 463.1 MB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000838/0.5706, allocations: 227.4 kB / 463.3 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.5707, allocations: 4 kB / 463.3 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.5707, allocations: 0 / 463.3 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.5707, allocations: 3.984 kB / 463.3 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/0.5722, allocations: 0.6593 MB / 464 MB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.5723, allocations: 4 kB / 464 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.5725, allocations: 23.98 kB / 464 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.511e-05/0.5725, allocations: 0.75 kB / 464 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.5725, allocations: 11.92 kB / 464 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.2e-05/0.5725, allocations: 4 kB / 464 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.5726, allocations: 7.922 kB / 464 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007667/0.5733, allocations: 382 kB / 464.4 MB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000199/0.5736, allocations: 128.7 kB / 464.5 MB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.846e-05/0.5736, allocations: 8 kB / 464.5 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/0.5739, allocations: 11.98 kB / 464.6 MB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.004e-05/0.574, allocations: 19.92 kB / 464.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.527e-05/0.574, allocations: 8 kB / 464.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004308/0.5745, allocations: 249.9 kB / 464.8 MB, free: 11.12 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5745, allocations: 0 / 464.8 MB, free: 11.12 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000622/0.5751, allocations: 91.89 kB / 464.9 MB, free: 11.04 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.002068/0.5772, allocations: 0.6904 MB / 465.6 MB, free: 10.42 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000922/0.5782, allocations: 346.6 kB / 465.9 MB, free: 10.05 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.5782, allocations: 0 / 465.9 MB, free: 10.05 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002545/0.5785, allocations: 67.91 kB / 466 MB, free: 9.988 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005828/0.5791, allocations: 48.88 kB / 466.1 MB, free: 9.941 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.5804, allocations: 0.5069 MB / 466.6 MB, free: 9.391 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004545/0.581, allocations: 0.7672 MB / 467.3 MB, free: 8.598 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.5811, allocations: 27.44 kB / 467.4 MB, free: 8.57 MB / 394.7 MB Notification: Performance of SimCode: time 1.273e-06/0.5811, allocations: 0 / 467.4 MB, free: 8.57 MB / 394.7 MB Notification: Performance of Templates: time 0.01138/0.5925, allocations: 3.608 MB / 471 MB, free: 4.965 MB / 394.7 MB