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.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadModel(ModelicaTest): time 2.393/2.393, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.049e-05/3.052e-05, allocations: 4 kB / 309.7 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.387, allocations: 54.86 MB / 364.5 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1278/0.5148, allocations: 82.05 MB / 446.6 MB, free: 14.42 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/0.5151, allocations: 76.61 kB / 446.7 MB, free: 14.35 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.0218/0.5369, allocations: 5.004 MB / 451.7 MB, free: 9.375 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.506e-06/0.5369, allocations: 0 / 451.7 MB, free: 9.375 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.602e-05/0.5369, allocations: 4 kB / 451.7 MB, free: 9.371 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006169/0.5376, allocations: 453.8 kB / 452.1 MB, free: 8.871 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.5376, allocations: 11.97 kB / 452.1 MB, free: 8.859 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.1e-05/0.5377, allocations: 15.81 kB / 452.2 MB, free: 8.844 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003917/0.5381, allocations: 218.8 kB / 452.4 MB, free: 8.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.5382, allocations: 0 / 452.4 MB, free: 8.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.808e-05/0.5382, allocations: 8 kB / 452.4 MB, free: 8.582 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.5384, allocations: 81.58 kB / 452.5 MB, free: 8.496 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.5384, allocations: 0 / 452.5 MB, free: 8.496 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.5385, allocations: 0 / 452.5 MB, free: 8.496 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.5385, allocations: 0 / 452.5 MB, free: 8.496 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001561/0.5387, allocations: 47.97 kB / 452.5 MB, free: 8.449 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00061/0.5393, allocations: 353.5 kB / 452.8 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.5396, allocations: 86.67 kB / 452.9 MB, free: 7.961 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.676e-05/0.5397, allocations: 32.84 kB / 453 MB, free: 7.926 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.5397, allocations: 0 / 453 MB, free: 7.926 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.5399, allocations: 91.55 kB / 453.1 MB, free: 7.824 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 2.617e-06/0.5399, allocations: 0 / 453.1 MB, free: 7.824 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007077/0.5406, allocations: 209.9 kB / 453.3 MB, free: 7.613 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.5407, allocations: 51.41 kB / 453.3 MB, free: 7.551 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.541, allocations: 182.3 kB / 453.5 MB, free: 7.355 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.541, allocations: 29.7 kB / 453.5 MB, free: 7.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.894e-05/0.5411, allocations: 162.8 kB / 453.7 MB, free: 7.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.734e-05/0.5412, allocations: 31.55 kB / 453.7 MB, free: 7.129 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.299e-05/0.5412, allocations: 8 kB / 453.7 MB, free: 7.121 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.5414, allocations: 319.6 kB / 454 MB, free: 6.801 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.5415, allocations: 48 kB / 454.1 MB, free: 6.754 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.5417, allocations: 67.58 kB / 454.1 MB, free: 6.684 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.5419, allocations: 87.31 kB / 454.2 MB, free: 6.594 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5419, allocations: 0 / 454.2 MB, free: 6.594 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004594/0.5423, allocations: 207.1 kB / 454.4 MB, free: 6.379 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.26e-05/0.5424, allocations: 41.72 kB / 454.5 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.759e-06/0.5424, allocations: 0 / 454.5 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.5425, allocations: 0.8438 kB / 454.5 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.5426, allocations: 16 kB / 454.5 MB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/0.5426, allocations: 11.92 kB / 454.5 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.5428, allocations: 8 kB / 454.5 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.5428, allocations: 4 kB / 454.5 MB, free: 6.293 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 (13): * Single equations (assignments): 12 * 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.0001133/0.5429, allocations: 112.9 kB / 454.6 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.579e-05/0.543, allocations: 11.91 kB / 454.6 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004246/0.5434, allocations: 171.3 kB / 454.8 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.967e-06/0.5434, allocations: 4 kB / 454.8 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.431e-06/0.5435, allocations: 5.344 kB / 454.8 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.5435, allocations: 0 / 454.8 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008352/0.5443, allocations: 471.2 kB / 455.3 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.245e-06/0.5444, allocations: 7.938 kB / 455.3 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.811e-05/0.5445, allocations: 15.94 kB / 455.3 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.187e-06/0.5445, allocations: 8.031 kB / 455.3 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.5445, allocations: 0 / 455.3 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.083e-06/0.5445, allocations: 0 / 455.3 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.962e-06/0.5445, allocations: 8 kB / 455.3 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004008/0.5449, allocations: 253.9 kB / 455.6 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.5451, allocations: 108.8 kB / 455.7 MB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.009e-05/0.5451, allocations: 8 kB / 455.7 MB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.5453, allocations: 7.984 kB / 455.7 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/0.5453, allocations: 8 kB / 455.7 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.5454, allocations: 7.984 kB / 455.7 MB, free: 4.996 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001728/0.5456, allocations: 137.4 kB / 455.8 MB, free: 4.863 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.85e-07/0.5456, allocations: 0 / 455.8 MB, free: 4.863 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004252/0.546, allocations: 51.88 kB / 455.9 MB, free: 4.812 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 (13): * Single equations (assignments): 11 * 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.001457/0.5475, allocations: 421 kB / 456.3 MB, free: 4.477 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004313/0.5479, allocations: 199.2 kB / 456.5 MB, free: 4.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.599e-06/0.548, allocations: 0 / 456.5 MB, free: 4.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.5481, allocations: 47.94 kB / 456.5 MB, free: 4.223 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.5485, allocations: 27.92 kB / 456.6 MB, free: 4.195 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005721/0.549, allocations: 216.5 kB / 456.8 MB, free: 3.949 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004212/0.5495, allocations: 0.7087 MB / 457.5 MB, free: 3.215 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.782e-05/0.5496, allocations: 23.38 kB / 457.5 MB, free: 3.195 MB / 378.7 MB Notification: Performance of SimCode: time 1.754e-06/0.5496, allocations: 0 / 457.5 MB, free: 3.195 MB / 378.7 MB Notification: Performance of Templates: time 0.00523/0.5548, allocations: 2.162 MB / 459.7 MB, free: 1.039 MB / 378.7 MB