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.Test28.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.Test28,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.Test28") Notification: Performance of loadModel(ModelicaTest): time 2.291/2.291, allocations: 235 MB / 248.1 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.723e-05/3.744e-05, allocations: 8 kB / 309.7 MB, free: 1.527 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3183, allocations: 54.86 MB / 364.5 MB, free: 5.512 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1223/0.4407, allocations: 82.03 MB / 446.6 MB, free: 14.47 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.441, allocations: 63.97 kB / 446.6 MB, free: 14.41 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.01939/0.4604, allocations: 4.476 MB / 451.1 MB, free: 9.957 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.859e-06/0.4604, allocations: 448 / 451.1 MB, free: 9.957 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.4604, allocations: 0 / 451.1 MB, free: 9.957 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.0005971/0.461, allocations: 457.5 kB / 451.6 MB, free: 9.453 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.4611, allocations: 15.97 kB / 451.6 MB, free: 9.438 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.276e-05/0.4612, allocations: 8.656 kB / 451.6 MB, free: 9.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.4615, allocations: 198.9 kB / 451.8 MB, free: 9.195 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.4616, allocations: 4 kB / 451.8 MB, free: 9.191 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.868e-05/0.4616, allocations: 8 kB / 451.8 MB, free: 9.184 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.4618, allocations: 53.67 kB / 451.8 MB, free: 9.125 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.4618, allocations: 4 kB / 451.8 MB, free: 9.121 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.4618, allocations: 3.953 kB / 451.9 MB, free: 9.117 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.4618, allocations: 0 / 451.9 MB, free: 9.117 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.887e-05/0.4619, allocations: 24.77 kB / 451.9 MB, free: 9.094 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005/0.4624, allocations: 312.8 kB / 452.2 MB, free: 8.738 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.4626, allocations: 58.69 kB / 452.2 MB, free: 8.672 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.919e-05/0.4627, allocations: 20.97 kB / 452.3 MB, free: 8.648 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.4627, allocations: 0 / 452.3 MB, free: 8.648 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001623/0.4629, allocations: 75.3 kB / 452.3 MB, free: 8.562 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.532e-06/0.4629, allocations: 0 / 452.3 MB, free: 8.562 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005766/0.4635, allocations: 161.4 kB / 452.5 MB, free: 8.398 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.4636, allocations: 63.41 kB / 452.6 MB, free: 8.324 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.4638, allocations: 166.7 kB / 452.7 MB, free: 8.156 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.4638, allocations: 29.7 kB / 452.7 MB, free: 8.121 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.4639, allocations: 170.4 kB / 452.9 MB, free: 7.953 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/0.464, allocations: 19.72 kB / 452.9 MB, free: 7.934 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.288e-05/0.464, allocations: 4 kB / 452.9 MB, free: 7.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.4642, allocations: 318.8 kB / 453.2 MB, free: 7.609 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.4643, allocations: 32 kB / 453.3 MB, free: 7.578 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.4644, allocations: 53.72 kB / 453.3 MB, free: 7.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.4646, allocations: 73.67 kB / 453.4 MB, free: 7.441 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.075e-06/0.4646, allocations: 0 / 453.4 MB, free: 7.441 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003605/0.465, allocations: 171.3 kB / 453.6 MB, free: 7.262 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.234e-05/0.465, allocations: 37.69 kB / 453.6 MB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.354e-06/0.465, allocations: 0 / 453.6 MB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.4651, allocations: 4 kB / 453.6 MB, free: 7.215 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.4652, allocations: 12.09 kB / 453.6 MB, free: 7.203 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.4652, allocations: 11.95 kB / 453.6 MB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.211e-05/0.4653, allocations: 15.84 kB / 453.6 MB, free: 7.176 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.4654, allocations: 8 kB / 453.7 MB, free: 7.168 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.0001039/0.4655, allocations: 110.7 kB / 453.8 MB, free: 7.055 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.464e-05/0.4655, allocations: 15.84 kB / 453.8 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003021/0.4658, allocations: 114.2 kB / 453.9 MB, free: 6.922 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.878e-06/0.4659, allocations: 4 kB / 453.9 MB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.12e-06/0.4659, allocations: 0 / 453.9 MB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.28e-06/0.4659, allocations: 4 kB / 453.9 MB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006325/0.4665, allocations: 411.2 kB / 454.3 MB, free: 6.453 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.49e-06/0.4666, allocations: 0 / 454.3 MB, free: 6.453 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.473e-05/0.4666, allocations: 12 kB / 454.3 MB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.834e-06/0.4667, allocations: 4 kB / 454.3 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.4667, allocations: 0 / 454.3 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.674e-06/0.4667, allocations: 0 / 454.3 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.317e-06/0.4667, allocations: 4 kB / 454.3 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003105/0.467, allocations: 229.8 kB / 454.5 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.4672, allocations: 97 kB / 454.6 MB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/0.4672, allocations: 0 / 454.6 MB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.4673, allocations: 4 kB / 454.6 MB, free: 6.066 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.4674, allocations: 15.92 kB / 454.7 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.4674, allocations: 4.188 kB / 454.7 MB, free: 6.047 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001656/0.4676, allocations: 135.2 kB / 454.8 MB, free: 5.914 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.88e-07/0.4676, allocations: 3.938 kB / 454.8 MB, free: 5.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004147/0.468, allocations: 36 kB / 454.8 MB, free: 5.875 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.001436/0.4695, allocations: 417 kB / 455.2 MB, free: 5.543 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003749/0.4699, allocations: 175.3 kB / 455.4 MB, free: 5.359 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.986e-06/0.4699, allocations: 0 / 455.4 MB, free: 5.359 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.255e-05/0.47, allocations: 31.94 kB / 455.4 MB, free: 5.328 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.4704, allocations: 27.19 kB / 455.5 MB, free: 5.305 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005181/0.4709, allocations: 181.8 kB / 455.6 MB, free: 5.098 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.4713, allocations: 0.7162 MB / 456.4 MB, free: 4.355 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.968e-05/0.4714, allocations: 15.44 kB / 456.4 MB, free: 4.344 MB / 378.7 MB Notification: Performance of SimCode: time 2.244e-06/0.4714, allocations: 0 / 456.4 MB, free: 4.344 MB / 378.7 MB Notification: Performance of Templates: time 0.004835/0.4763, allocations: 1.926 MB / 458.3 MB, free: 2.422 MB / 378.7 MB