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.Test3.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.Test3,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.Test3") Notification: Performance of loadModel(ModelicaTest): time 2.252/2.252, allocations: 234.9 MB / 250.5 MB, free: 9.531 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004382/0.0004383, allocations: 12 kB / 314.4 MB, free: 9.543 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2767, allocations: 54.87 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1249/0.4016, allocations: 82.1 MB / 451.4 MB, free: 8.488 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/0.4019, allocations: 75.97 kB / 451.5 MB, free: 8.414 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.01897/0.4209, allocations: 4.387 MB / 455.8 MB, free: 4.016 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.157e-06/0.421, allocations: 0 / 455.8 MB, free: 4.016 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.421, allocations: 3.938 kB / 455.8 MB, free: 4.012 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.0006549/0.4216, allocations: 470.2 kB / 456.3 MB, free: 3.492 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.4217, allocations: 8.031 kB / 456.3 MB, free: 3.484 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.039e-05/0.4218, allocations: 7.906 kB / 456.3 MB, free: 3.477 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003521/0.4221, allocations: 206.9 kB / 456.5 MB, free: 3.234 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.4222, allocations: 0 / 456.5 MB, free: 3.234 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.4222, allocations: 8 kB / 456.5 MB, free: 3.227 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.4224, allocations: 61.56 kB / 456.6 MB, free: 3.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.4224, allocations: 4 kB / 456.6 MB, free: 3.156 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.4224, allocations: 0 / 456.6 MB, free: 3.156 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.018e-06/0.4224, allocations: 0 / 456.6 MB, free: 3.156 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.4226, allocations: 27.97 kB / 456.6 MB, free: 3.129 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004879/0.4231, allocations: 300.9 kB / 456.9 MB, free: 2.785 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.4233, allocations: 70.56 kB / 457 MB, free: 2.707 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.4233, allocations: 0 / 457 MB, free: 2.707 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00019/0.4235, allocations: 68.23 kB / 457.1 MB, free: 2.629 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.456e-06/0.4236, allocations: 3.938 kB / 457.1 MB, free: 2.625 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007319/0.4243, allocations: 185.1 kB / 457.2 MB, free: 2.438 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.4244, allocations: 55.39 kB / 457.3 MB, free: 2.371 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.4246, allocations: 147.6 kB / 457.4 MB, free: 2.219 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.4246, allocations: 33.7 kB / 457.5 MB, free: 2.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.561e-05/0.4247, allocations: 154.6 kB / 457.6 MB, free: 2.027 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.142e-05/0.4248, allocations: 27.64 kB / 457.6 MB, free: 2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.43e-05/0.4248, allocations: 8 kB / 457.7 MB, free: 1.992 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.425, allocations: 310.8 kB / 458 MB, free: 1.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.4251, allocations: 35.98 kB / 458 MB, free: 1.645 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.4253, allocations: 53.69 kB / 458 MB, free: 1.586 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.4254, allocations: 81.62 kB / 458.1 MB, free: 1.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4255, allocations: 0 / 458.1 MB, free: 1.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004166/0.4259, allocations: 175.2 kB / 458.3 MB, free: 1.316 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.286e-05/0.426, allocations: 41.69 kB / 458.3 MB, free: 1.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.426, allocations: 0 / 458.3 MB, free: 1.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.426, allocations: 4 kB / 458.3 MB, free: 1.266 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.4261, allocations: 15.94 kB / 458.4 MB, free: 1.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.1e-06/0.4262, allocations: 3.984 kB / 458.4 MB, free: 1.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.325e-05/0.4263, allocations: 4 kB / 458.4 MB, free: 1.242 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.4263, allocations: 12.12 kB / 458.4 MB, free: 1.23 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 (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.0001406/0.4265, allocations: 125.8 kB / 458.5 MB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.4265, allocations: 11.86 kB / 458.5 MB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003502/0.4269, allocations: 118.3 kB / 458.6 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.547e-06/0.4269, allocations: 3.984 kB / 458.6 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.204e-06/0.4269, allocations: 0 / 458.6 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.287e-06/0.4269, allocations: 0 / 458.6 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006639/0.4276, allocations: 407.3 kB / 459 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.17e-06/0.4276, allocations: 0 / 459 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.878e-05/0.4277, allocations: 12 kB / 459 MB, free: 0.4922 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.884e-06/0.4277, allocations: 0 / 459 MB, free: 0.4922 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.4277, allocations: 7.984 kB / 459 MB, free: 496 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.837e-06/0.4277, allocations: 3.938 kB / 459.1 MB, free: 492 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.929e-06/0.4277, allocations: 3.938 kB / 459.1 MB, free: 488 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003577/0.4281, allocations: 225.8 kB / 459.3 MB, free: 236 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.921e-05/0.4282, allocations: 101 kB / 459.4 MB, free: 116 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.4283, allocations: 4 kB / 459.4 MB, free: 112 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.4284, allocations: 7.984 kB / 459.4 MB, free: 104 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.4284, allocations: 4 kB / 459.4 MB, free: 100 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.4285, allocations: 0 / 459.4 MB, free: 100 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000154/0.4286, allocations: 126.6 kB / 459.5 MB, free: 15.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.4287, allocations: 0 / 459.5 MB, free: 15.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004004/0.4291, allocations: 39.92 kB / 459.6 MB, free: 15.94 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.001579/0.4307, allocations: 453.1 kB / 460 MB, free: 15.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004282/0.4311, allocations: 175.2 kB / 460.2 MB, free: 15.39 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.681e-06/0.4311, allocations: 8 kB / 460.2 MB, free: 15.38 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.4313, allocations: 39.98 kB / 460.2 MB, free: 15.34 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.4316, allocations: 19.94 kB / 460.2 MB, free: 15.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005804/0.4322, allocations: 244.2 kB / 460.5 MB, free: 15.04 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.4326, allocations: 0.7004 MB / 461.2 MB, free: 14.31 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.336e-05/0.4327, allocations: 19.42 kB / 461.2 MB, free: 14.29 MB / 394.7 MB Notification: Performance of SimCode: time 1.703e-06/0.4327, allocations: 0 / 461.2 MB, free: 14.29 MB / 394.7 MB Notification: Performance of Templates: time 0.004734/0.4374, allocations: 1.875 MB / 463.1 MB, free: 12.42 MB / 394.7 MB