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.CombiTable2D.Test2.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.CombiTable2D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test2") Notification: Performance of loadModel(ModelicaTest): time 2.096/2.096, allocations: 234.9 MB / 250.5 MB, free: 9.535 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007554/0.0007555, allocations: 8 kB / 314.4 MB, free: 9.547 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3025, allocations: 54.85 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1202/0.4227, allocations: 81.05 MB / 450.3 MB, free: 9.539 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/0.423, allocations: 75.8 kB / 450.4 MB, free: 9.469 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01753/0.4405, allocations: 5.431 MB / 455.8 MB, free: 4.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.392e-06/0.4406, allocations: 0 / 455.8 MB, free: 4.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.466e-05/0.4406, allocations: 12 kB / 455.8 MB, free: 4.008 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008106/0.4414, allocations: 0.6315 MB / 456.5 MB, free: 3.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.4415, allocations: 8.031 kB / 456.5 MB, free: 3.312 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.504e-05/0.4416, allocations: 43.44 kB / 456.5 MB, free: 3.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005126/0.4421, allocations: 311.4 kB / 456.8 MB, free: 2.926 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.4421, allocations: 8 kB / 456.8 MB, free: 2.918 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.4422, allocations: 4 kB / 456.8 MB, free: 2.914 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.4424, allocations: 57.67 kB / 456.9 MB, free: 2.852 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.868e-05/0.4424, allocations: 7.891 kB / 456.9 MB, free: 2.844 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.627e-06/0.4424, allocations: 0 / 456.9 MB, free: 2.844 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.002e-06/0.4424, allocations: 0 / 456.9 MB, free: 2.844 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.4426, allocations: 27.98 kB / 456.9 MB, free: 2.816 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006958/0.4433, allocations: 432.7 kB / 457.3 MB, free: 2.344 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.4435, allocations: 46.44 kB / 457.4 MB, free: 2.289 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.4435, allocations: 4 kB / 457.4 MB, free: 2.285 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.4436, allocations: 32.38 kB / 457.4 MB, free: 2.246 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.937e-06/0.4436, allocations: 4 kB / 457.4 MB, free: 2.242 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007821/0.4444, allocations: 240.4 kB / 457.7 MB, free: 2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.4444, allocations: 55.41 kB / 457.7 MB, free: 1.934 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/0.4461, allocations: 0.7706 MB / 458.5 MB, free: 1.156 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.4461, allocations: 25.7 kB / 458.5 MB, free: 1.125 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/0.4464, allocations: 234.5 kB / 458.7 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.4464, allocations: 23.81 kB / 458.8 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.509e-06/0.4464, allocations: 0 / 458.8 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.4466, allocations: 310.8 kB / 459.1 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.4467, allocations: 31.97 kB / 459.1 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.33e-05/0.4468, allocations: 27.98 kB / 459.1 MB, free: 0.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.447, allocations: 49.69 kB / 459.2 MB, free: 456 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.447, allocations: 3.938 kB / 459.2 MB, free: 452 kB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003126/0.4473, allocations: 131.2 kB / 459.3 MB, free: 308 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.029e-05/0.4474, allocations: 29.7 kB / 459.3 MB, free: 272 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.945e-06/0.4474, allocations: 0 / 459.3 MB, free: 272 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.4474, allocations: 0 / 459.3 MB, free: 272 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.956e-05/0.4475, allocations: 19.98 kB / 459.4 MB, free: 252 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.4475, allocations: 3.984 kB / 459.4 MB, free: 248 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.4476, allocations: 12.25 kB / 459.4 MB, free: 236 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.4477, allocations: 0 / 459.4 MB, free: 236 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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.0002594/0.4479, allocations: 209.8 kB / 459.6 MB, free: 16 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.4481, allocations: 51.39 kB / 459.6 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003823/0.4485, allocations: 144.9 kB / 459.8 MB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.521e-06/0.4485, allocations: 0 / 459.8 MB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.52e-06/0.4485, allocations: 0 / 459.8 MB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.638e-06/0.4485, allocations: 7.984 kB / 459.8 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.4496, allocations: 0.5726 MB / 460.3 MB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.769e-06/0.4496, allocations: 4 kB / 460.4 MB, free: 15.17 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.835e-05/0.4497, allocations: 15.98 kB / 460.4 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.931e-06/0.4497, allocations: 3.938 kB / 460.4 MB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.4498, allocations: 7.938 kB / 460.4 MB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.4498, allocations: 4 kB / 460.4 MB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.018e-06/0.4498, allocations: 0 / 460.4 MB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003778/0.4502, allocations: 219 kB / 460.6 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002341/0.4504, allocations: 156.5 kB / 460.7 MB, free: 14.74 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.368e-05/0.4505, allocations: 4 kB / 460.8 MB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.4506, allocations: 4 kB / 460.8 MB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.4507, allocations: 7.984 kB / 460.8 MB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.543e-06/0.4507, allocations: 0 / 460.8 MB, free: 14.72 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009729/0.4517, allocations: 0.6355 MB / 461.4 MB, free: 14.09 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.4517, allocations: 0 / 461.4 MB, free: 14.09 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004239/0.4521, allocations: 52 kB / 461.5 MB, free: 14.04 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0009857/0.4531, allocations: 302.9 kB / 461.7 MB, free: 13.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003308/0.4535, allocations: 111.4 kB / 461.9 MB, free: 13.68 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.4535, allocations: 0 / 461.9 MB, free: 13.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.4536, allocations: 31.98 kB / 461.9 MB, free: 13.65 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.4539, allocations: 25.83 kB / 461.9 MB, free: 13.62 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.4556, allocations: 0.9286 MB / 462.8 MB, free: 12.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005671/0.4562, allocations: 0.8262 MB / 463.7 MB, free: 11.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.32e-05/0.4563, allocations: 19.69 kB / 463.7 MB, free: 11.79 MB / 394.7 MB Notification: Performance of SimCode: time 1.456e-06/0.4564, allocations: 4 kB / 463.7 MB, free: 11.78 MB / 394.7 MB Notification: Performance of Templates: time 0.00988/0.4662, allocations: 3.929 MB / 467.6 MB, free: 7.844 MB / 394.7 MB