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.Test24.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.Test24,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.Test24") Notification: Performance of loadModel(ModelicaTest): time 2.201/2.201, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.388e-05/3.404e-05, allocations: 4 kB / 309.7 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3172, allocations: 54.86 MB / 364.5 MB, free: 5.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1229/0.4402, allocations: 82.02 MB / 446.6 MB, free: 14.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/0.4405, allocations: 76.67 kB / 446.6 MB, free: 14.39 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.01972/0.4602, allocations: 4.498 MB / 451.1 MB, free: 9.918 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.06e-06/0.4603, allocations: 0 / 451.1 MB, free: 9.918 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.4603, allocations: 8 kB / 451.2 MB, free: 9.91 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.000598/0.4609, allocations: 461.5 kB / 451.6 MB, free: 9.402 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.461, allocations: 15.97 kB / 451.6 MB, free: 9.387 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.713e-05/0.461, allocations: 7.906 kB / 451.6 MB, free: 9.379 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003468/0.4614, allocations: 202.9 kB / 451.8 MB, free: 9.141 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.4614, allocations: 0 / 451.8 MB, free: 9.141 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.134e-05/0.4615, allocations: 12.83 kB / 451.8 MB, free: 9.129 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.4616, allocations: 53.69 kB / 451.9 MB, free: 9.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.4616, allocations: 3.984 kB / 451.9 MB, free: 9.066 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.4617, allocations: 3.953 kB / 451.9 MB, free: 9.062 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.391e-06/0.4617, allocations: 0 / 451.9 MB, free: 9.062 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.687e-05/0.4618, allocations: 27.92 kB / 451.9 MB, free: 9.035 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004856/0.4623, allocations: 316.8 kB / 452.2 MB, free: 8.676 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.4624, allocations: 58.69 kB / 452.3 MB, free: 8.609 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.698e-05/0.4625, allocations: 16.98 kB / 452.3 MB, free: 8.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.4625, allocations: 4.984 kB / 452.3 MB, free: 8.586 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001585/0.4627, allocations: 71.33 kB / 452.4 MB, free: 8.504 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.567e-06/0.4627, allocations: 0 / 452.4 MB, free: 8.504 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005588/0.4633, allocations: 161.2 kB / 452.5 MB, free: 8.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.4634, allocations: 55.41 kB / 452.6 MB, free: 8.273 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002602/0.4636, allocations: 186.5 kB / 452.8 MB, free: 8.074 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.4637, allocations: 25.7 kB / 452.8 MB, free: 8.043 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.4638, allocations: 166.6 kB / 453 MB, free: 7.879 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.4639, allocations: 27.58 kB / 453 MB, free: 7.852 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.151e-05/0.4639, allocations: 4 kB / 453 MB, free: 7.848 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.464, allocations: 314.8 kB / 453.3 MB, free: 7.531 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.4642, allocations: 37.41 kB / 453.3 MB, free: 7.496 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.4643, allocations: 53.7 kB / 453.4 MB, free: 7.438 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.4644, allocations: 69.69 kB / 453.5 MB, free: 7.363 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4644, allocations: 0 / 453.5 MB, free: 7.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003662/0.4648, allocations: 175.2 kB / 453.6 MB, free: 7.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.798e-05/0.4649, allocations: 37.7 kB / 453.7 MB, free: 7.137 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.217e-06/0.4649, allocations: 0 / 453.7 MB, free: 7.137 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.4649, allocations: 0 / 453.7 MB, free: 7.137 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.4651, allocations: 20.86 kB / 453.7 MB, free: 7.117 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.4651, allocations: 0 / 453.7 MB, free: 7.117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.653e-05/0.4652, allocations: 11.97 kB / 453.7 MB, free: 7.105 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.4652, allocations: 4 kB / 453.7 MB, free: 7.102 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 () * 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.0001089/0.4653, allocations: 114.7 kB / 453.8 MB, free: 6.984 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.4654, allocations: 15.86 kB / 453.8 MB, free: 6.969 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003025/0.4657, allocations: 123.1 kB / 453.9 MB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.951e-06/0.4657, allocations: 3.984 kB / 454 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.664e-06/0.4657, allocations: 0 / 454 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.21e-06/0.4657, allocations: 0 / 454 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006169/0.4664, allocations: 411.5 kB / 454.4 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.535e-06/0.4664, allocations: 7.984 kB / 454.4 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.029e-05/0.4665, allocations: 12 kB / 454.4 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.4665, allocations: 0 / 454.4 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.4665, allocations: 0 / 454.4 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.568e-06/0.4665, allocations: 4 kB / 454.4 MB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4665, allocations: 0 / 454.4 MB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000311/0.4668, allocations: 225.9 kB / 454.6 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.467, allocations: 96.91 kB / 454.7 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.03e-05/0.467, allocations: 11.98 kB / 454.7 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.4671, allocations: 0 / 454.7 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.4672, allocations: 4 kB / 454.7 MB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.4672, allocations: 11.92 kB / 454.7 MB, free: 5.969 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001753/0.4674, allocations: 144 kB / 454.9 MB, free: 5.828 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.56e-07/0.4674, allocations: 7.938 kB / 454.9 MB, free: 5.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004046/0.4678, allocations: 43.94 kB / 454.9 MB, free: 5.777 MB / 378.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) * 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.001432/0.4693, allocations: 419.2 kB / 455.3 MB, free: 5.449 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003432/0.4697, allocations: 167.3 kB / 455.5 MB, free: 5.273 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.382e-06/0.4697, allocations: 0 / 455.5 MB, free: 5.273 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.444e-05/0.4698, allocations: 36 kB / 455.5 MB, free: 5.238 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.4701, allocations: 23.94 kB / 455.5 MB, free: 5.215 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005047/0.4706, allocations: 208.2 kB / 455.7 MB, free: 4.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.471, allocations: 0.7082 MB / 456.5 MB, free: 4.246 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.369e-05/0.4711, allocations: 19.42 kB / 456.5 MB, free: 4.23 MB / 378.7 MB Notification: Performance of SimCode: time 1.74e-06/0.4711, allocations: 64 / 456.5 MB, free: 4.23 MB / 378.7 MB Notification: Performance of Templates: time 0.004663/0.4758, allocations: 1.956 MB / 458.4 MB, free: 2.277 MB / 378.7 MB