Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test6.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.CombiTable1D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test6") Notification: Performance of loadModel(ModelicaTest): time 2.899/2.899, allocations: 234.9 MB / 251.1 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006018/0.0006019, allocations: 15.98 kB / 314.9 MB, free: 9.613 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3608, allocations: 54.85 MB / 369.8 MB, free: 10.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1482/0.5091, allocations: 81.09 MB / 450.9 MB, free: 9.562 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/0.5094, allocations: 71.97 kB / 451 MB, free: 9.492 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01522/0.5247, allocations: 3.48 MB / 454.4 MB, free: 6 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.5247, allocations: 0 / 454.4 MB, free: 6 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.847e-05/0.5247, allocations: 3.938 kB / 454.4 MB, free: 5.996 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006195/0.5254, allocations: 436.5 kB / 454.9 MB, free: 5.516 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.5254, allocations: 8.031 kB / 454.9 MB, free: 5.508 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.927e-05/0.5255, allocations: 15.86 kB / 454.9 MB, free: 5.492 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003236/0.5258, allocations: 206.8 kB / 455.1 MB, free: 5.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.5259, allocations: 12 kB / 455.1 MB, free: 5.238 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.5259, allocations: 0 / 455.1 MB, free: 5.238 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.5262, allocations: 83.33 kB / 455.2 MB, free: 5.145 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.5262, allocations: 0 / 455.2 MB, free: 5.145 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.5262, allocations: 0 / 455.2 MB, free: 5.145 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.5262, allocations: 0 / 455.2 MB, free: 5.145 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001944/0.5264, allocations: 47.92 kB / 455.2 MB, free: 5.098 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006539/0.5271, allocations: 401 kB / 455.6 MB, free: 4.652 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003989/0.5275, allocations: 94.95 kB / 455.7 MB, free: 4.543 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.977e-05/0.5276, allocations: 4 kB / 455.7 MB, free: 4.539 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.5276, allocations: 38.56 kB / 455.8 MB, free: 4.492 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.284e-06/0.5277, allocations: 0 / 455.8 MB, free: 4.492 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.001156/0.5288, allocations: 260.8 kB / 456 MB, free: 4.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.5289, allocations: 81.11 kB / 456.1 MB, free: 4.133 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003444/0.5293, allocations: 215.3 kB / 456.3 MB, free: 3.906 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.5293, allocations: 33.64 kB / 456.3 MB, free: 3.867 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.5294, allocations: 170.5 kB / 456.5 MB, free: 3.699 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.532e-05/0.5295, allocations: 35.53 kB / 456.5 MB, free: 3.664 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.306e-06/0.5295, allocations: 0 / 456.5 MB, free: 3.664 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.5296, allocations: 314.8 kB / 456.8 MB, free: 3.348 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.5298, allocations: 39.97 kB / 456.9 MB, free: 3.309 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.53, allocations: 43.97 kB / 456.9 MB, free: 3.266 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.5302, allocations: 69.69 kB / 457 MB, free: 3.191 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.5302, allocations: 3.938 kB / 457 MB, free: 3.188 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004812/0.5307, allocations: 167.1 kB / 457.2 MB, free: 3.012 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.162e-05/0.5308, allocations: 37.7 kB / 457.2 MB, free: 2.969 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.5308, allocations: 0 / 457.2 MB, free: 2.969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.5308, allocations: 0 / 457.2 MB, free: 2.969 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.531, allocations: 23.98 kB / 457.2 MB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.531, allocations: 0 / 457.2 MB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.214e-05/0.5311, allocations: 4 kB / 457.2 MB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.5311, allocations: 7.984 kB / 457.2 MB, free: 2.934 MB / 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 (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.0001501/0.5313, allocations: 133.8 kB / 457.4 MB, free: 2.793 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.15e-05/0.5314, allocations: 15.86 kB / 457.4 MB, free: 2.777 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005883/0.532, allocations: 154.6 kB / 457.5 MB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.532, allocations: 0 / 457.5 MB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.532, allocations: 4 kB / 457.5 MB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.532, allocations: 4 kB / 457.5 MB, free: 2.613 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.5331, allocations: 0.5336 MB / 458.1 MB, free: 2.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.5331, allocations: 0 / 458.1 MB, free: 2.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.5333, allocations: 24.02 kB / 458.1 MB, free: 1.996 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/0.5333, allocations: 4 kB / 458.1 MB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.5333, allocations: 0 / 458.1 MB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.5333, allocations: 4 kB / 458.1 MB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.5334, allocations: 320 / 458.1 MB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004966/0.5339, allocations: 315.4 kB / 458.4 MB, free: 1.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.954e-05/0.534, allocations: 104.8 kB / 458.5 MB, free: 1.539 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/0.534, allocations: 4 kB / 458.5 MB, free: 1.535 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.5342, allocations: 8 kB / 458.5 MB, free: 1.527 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/0.5342, allocations: 7.984 kB / 458.5 MB, free: 1.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.5343, allocations: 8 kB / 458.5 MB, free: 1.512 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002251/0.5345, allocations: 159.9 kB / 458.7 MB, free: 1.355 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5345, allocations: 0 / 458.7 MB, free: 1.355 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003975/0.5349, allocations: 31.94 kB / 458.7 MB, free: 1.324 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0008582/0.5358, allocations: 302.8 kB / 459 MB, free: 1.086 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004777/0.5363, allocations: 147.3 kB / 459.2 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5363, allocations: 4 kB / 459.2 MB, free: 0.9258 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.5365, allocations: 55.91 kB / 459.2 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.5368, allocations: 15.89 kB / 459.2 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007978/0.5377, allocations: 348.7 kB / 459.6 MB, free: 488 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.538, allocations: 0.716 MB / 460.3 MB, free: 15.73 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.822e-05/0.5381, allocations: 15.44 kB / 460.3 MB, free: 15.72 MB / 394.7 MB Notification: Performance of SimCode: time 3.056e-06/0.5381, allocations: 0 / 460.3 MB, free: 15.72 MB / 394.7 MB Notification: Performance of Templates: time 0.004915/0.543, allocations: 1.68 MB / 462 MB, free: 14.04 MB / 394.7 MB