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.Test74.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.Test74,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.Test74") Notification: Performance of loadModel(ModelicaTest): time 2.612/2.612, allocations: 234.9 MB / 251.1 MB, free: 10.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004352/0.0004349, allocations: 16 kB / 314.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3653, allocations: 54.87 MB / 369.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1545/0.5199, allocations: 82.24 MB / 452.1 MB, free: 8.504 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/0.5202, allocations: 83.83 kB / 452.1 MB, free: 8.422 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.03135/0.5516, allocations: 7.104 MB / 459.2 MB, free: 1.305 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.5516, allocations: 4 kB / 459.2 MB, free: 1.301 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.672e-05/0.5517, allocations: 4 kB / 459.2 MB, free: 1.297 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.001005/0.5527, allocations: 0.6839 MB / 459.9 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.5527, allocations: 8.031 kB / 459.9 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.5529, allocations: 31.62 kB / 460 MB, free: 0.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006309/0.5535, allocations: 287.1 kB / 460.3 MB, free: 180 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.5535, allocations: 4 kB / 460.3 MB, free: 176 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.12e-05/0.5536, allocations: 19.94 kB / 460.3 MB, free: 156 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003089/0.5539, allocations: 103.3 kB / 460.4 MB, free: 40 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.554, allocations: 7.906 kB / 460.4 MB, free: 32 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/0.554, allocations: 4 kB / 460.4 MB, free: 28 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.554, allocations: 0 / 460.4 MB, free: 28 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002219/0.5542, allocations: 43.97 kB / 460.4 MB, free: 15.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008795/0.5551, allocations: 0.5202 MB / 461 MB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004571/0.5556, allocations: 117.3 kB / 461.1 MB, free: 15.28 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.5556, allocations: 0 / 461.1 MB, free: 15.28 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003173/0.556, allocations: 121 kB / 461.2 MB, free: 15.14 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 2.014e-06/0.556, allocations: 0 / 461.2 MB, free: 15.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001471/0.5575, allocations: 395.8 kB / 461.6 MB, free: 14.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/0.5575, allocations: 81.11 kB / 461.6 MB, free: 14.65 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008281/0.5584, allocations: 468.4 kB / 462.1 MB, free: 14.18 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.231e-05/0.5584, allocations: 33.7 kB / 462.1 MB, free: 14.14 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.5586, allocations: 199 kB / 462.3 MB, free: 13.95 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.223e-05/0.5587, allocations: 51.28 kB / 462.4 MB, free: 13.89 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.058e-05/0.5587, allocations: 8 kB / 462.4 MB, free: 13.89 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.5589, allocations: 326.8 kB / 462.7 MB, free: 13.56 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000278/0.5592, allocations: 72.16 kB / 462.8 MB, free: 13.48 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003018/0.5595, allocations: 120.6 kB / 462.9 MB, free: 13.36 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003522/0.5598, allocations: 143.4 kB / 463 MB, free: 13.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.5599, allocations: 0 / 463 MB, free: 13.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008445/0.5607, allocations: 320.9 kB / 463.4 MB, free: 12.87 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.221e-05/0.5608, allocations: 63.39 kB / 463.4 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.5608, allocations: 7.938 kB / 463.4 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.5609, allocations: 4.062 kB / 463.4 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000256/0.5611, allocations: 36.17 kB / 463.5 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.5611, allocations: 3.984 kB / 463.5 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.5614, allocations: 16.69 kB / 463.5 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.531e-05/0.5614, allocations: 12 kB / 463.5 MB, free: 12.72 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.0002723/0.5617, allocations: 173.7 kB / 463.7 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.658e-05/0.5618, allocations: 35.61 kB / 463.7 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007334/0.5625, allocations: 232.4 kB / 463.9 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.5626, allocations: 4 kB / 463.9 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.5626, allocations: 0 / 463.9 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.5626, allocations: 0 / 463.9 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/0.564, allocations: 0.7023 MB / 464.6 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.564, allocations: 8.062 kB / 464.6 MB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.5642, allocations: 16 kB / 464.7 MB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.5642, allocations: 0 / 464.7 MB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/0.5642, allocations: 7.984 kB / 464.7 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.5642, allocations: 7.938 kB / 464.7 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.5642, allocations: 3.938 kB / 464.7 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000704/0.565, allocations: 390 kB / 465.1 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000227/0.5652, allocations: 140.7 kB / 465.2 MB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.726e-05/0.5653, allocations: 8 kB / 465.2 MB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.5655, allocations: 7.984 kB / 465.2 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.101e-05/0.5656, allocations: 23.92 kB / 465.2 MB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/0.5656, allocations: 7.984 kB / 465.2 MB, free: 10.85 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005982/0.5662, allocations: 343 kB / 465.6 MB, free: 10.52 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5663, allocations: 0 / 465.6 MB, free: 10.52 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006211/0.5669, allocations: 95.86 kB / 465.7 MB, free: 10.42 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.002022/0.5689, allocations: 0.7005 MB / 466.4 MB, free: 9.797 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008748/0.5698, allocations: 342.5 kB / 466.7 MB, free: 9.438 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.5699, allocations: 0 / 466.7 MB, free: 9.438 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000247/0.5701, allocations: 67.91 kB / 466.8 MB, free: 9.371 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006239/0.5708, allocations: 44.8 kB / 466.8 MB, free: 9.332 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.5723, allocations: 0.6448 MB / 467.5 MB, free: 8.645 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004248/0.5727, allocations: 0.7712 MB / 468.2 MB, free: 7.848 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.5729, allocations: 31.42 kB / 468.3 MB, free: 7.816 MB / 394.7 MB Notification: Performance of SimCode: time 9.02e-07/0.5729, allocations: 3.938 kB / 468.3 MB, free: 7.812 MB / 394.7 MB Notification: Performance of Templates: time 0.0104/0.5833, allocations: 3.98 MB / 472.2 MB, free: 3.836 MB / 394.7 MB