Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test1.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test1,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.Test1") Notification: Performance of loadModel(ModelicaTest): time 2.53/2.53, allocations: 234.9 MB / 251.1 MB, free: 10.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004253/0.0004255, allocations: 12 kB / 314.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3527, allocations: 54.87 MB / 369.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1593/0.512, allocations: 81.03 MB / 450.8 MB, free: 9.719 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000352/0.5124, allocations: 75.95 kB / 450.9 MB, free: 9.645 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02614/0.5386, allocations: 5.431 MB / 456.3 MB, free: 4.199 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.5386, allocations: 0 / 456.3 MB, free: 4.199 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.014e-05/0.5387, allocations: 4 kB / 456.3 MB, free: 4.195 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.001232/0.5399, allocations: 0.6393 MB / 457 MB, free: 3.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.54, allocations: 12.02 kB / 457 MB, free: 3.488 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/0.5402, allocations: 43.44 kB / 457 MB, free: 3.445 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008382/0.541, allocations: 323.3 kB / 457.4 MB, free: 3.086 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.5411, allocations: 0 / 457.4 MB, free: 3.086 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/0.5411, allocations: 4 kB / 457.4 MB, free: 3.082 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.5414, allocations: 53.67 kB / 457.4 MB, free: 3.023 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.5414, allocations: 3.953 kB / 457.4 MB, free: 3.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.5414, allocations: 3.938 kB / 457.4 MB, free: 3.016 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.5415, allocations: 4 kB / 457.4 MB, free: 3.012 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002075/0.5417, allocations: 31.97 kB / 457.5 MB, free: 2.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.5428, allocations: 432.6 kB / 457.9 MB, free: 2.508 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003437/0.5431, allocations: 42.56 kB / 457.9 MB, free: 2.457 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.5432, allocations: 0 / 457.9 MB, free: 2.457 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.5432, allocations: 36.38 kB / 457.9 MB, free: 2.414 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.004e-06/0.5433, allocations: 3.938 kB / 458 MB, free: 2.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.001207/0.5445, allocations: 240.2 kB / 458.2 MB, free: 2.168 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.5445, allocations: 51.41 kB / 458.2 MB, free: 2.105 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002743/0.5473, allocations: 0.8338 MB / 459.1 MB, free: 1.258 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.595e-05/0.5474, allocations: 25.7 kB / 459.1 MB, free: 1.227 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002767/0.5477, allocations: 242.5 kB / 459.3 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/0.5477, allocations: 11.75 kB / 459.3 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-06/0.5477, allocations: 0 / 459.3 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.5479, allocations: 322.8 kB / 459.7 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.5481, allocations: 23.98 kB / 459.7 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.5483, allocations: 23.98 kB / 459.7 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/0.5485, allocations: 53.88 kB / 459.8 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.5486, allocations: 7.953 kB / 459.8 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004901/0.5491, allocations: 119.4 kB / 459.9 MB, free: 420 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.874e-05/0.5492, allocations: 33.64 kB / 459.9 MB, free: 380 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.5492, allocations: 4 kB / 459.9 MB, free: 376 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.5492, allocations: 0 / 459.9 MB, free: 376 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.5494, allocations: 19.92 kB / 459.9 MB, free: 356 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.5494, allocations: 4 kB / 459.9 MB, free: 352 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/0.5496, allocations: 4 kB / 459.9 MB, free: 348 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.5497, allocations: 4 kB / 460 MB, free: 344 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.000427/0.5501, allocations: 209.8 kB / 460.2 MB, free: 124 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/0.5503, allocations: 47.67 kB / 460.2 MB, free: 76 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006311/0.5509, allocations: 136.9 kB / 460.3 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.551, allocations: 7.984 kB / 460.3 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.551, allocations: 0 / 460.3 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.551, allocations: 0 / 460.3 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/0.5528, allocations: 0.5959 MB / 460.9 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.5528, allocations: 4 kB / 460.9 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.553, allocations: 8 kB / 461 MB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-05/0.553, allocations: 4 kB / 461 MB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.553, allocations: 3.984 kB / 461 MB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.5531, allocations: 0 / 461 MB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.5531, allocations: 0 / 461 MB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006076/0.5537, allocations: 223.1 kB / 461.2 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003508/0.5541, allocations: 160.6 kB / 461.3 MB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.463e-05/0.5541, allocations: 4 kB / 461.3 MB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.5543, allocations: 4 kB / 461.3 MB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.251e-05/0.5544, allocations: 15.98 kB / 461.4 MB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.5544, allocations: 0 / 461.4 MB, free: 14.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00126/0.5557, allocations: 0.6276 MB / 462 MB, free: 14.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.5557, allocations: 0 / 462 MB, free: 14.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004548/0.5562, allocations: 56 kB / 462 MB, free: 14.14 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.0009106/0.5571, allocations: 292.8 kB / 462.3 MB, free: 13.91 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004275/0.5575, allocations: 123.3 kB / 462.4 MB, free: 13.78 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.5576, allocations: 0 / 462.4 MB, free: 13.78 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.5577, allocations: 27.98 kB / 462.5 MB, free: 13.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.5581, allocations: 21.92 kB / 462.5 MB, free: 13.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.5602, allocations: 0.9287 MB / 463.4 MB, free: 12.76 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005419/0.5608, allocations: 0.8262 MB / 464.3 MB, free: 11.91 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.5609, allocations: 23.69 kB / 464.3 MB, free: 11.88 MB / 394.7 MB Notification: Performance of SimCode: time 1.783e-06/0.5609, allocations: 0 / 464.3 MB, free: 11.88 MB / 394.7 MB Notification: Performance of Templates: time 0.0118/0.5727, allocations: 3.925 MB / 468.2 MB, free: 7.949 MB / 394.7 MB