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.Test4.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.Test4,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.Test4") Notification: Performance of loadModel(ModelicaTest): time 2.521/2.521, allocations: 234.9 MB / 251.1 MB, free: 9.691 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006215/0.0006217, allocations: 12 kB / 314.9 MB, free: 9.746 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4548/0.4554, allocations: 54.87 MB / 369.8 MB, free: 12.78 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2186/0.6741, allocations: 80.99 MB / 450.8 MB, free: 11.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003884/0.6746, allocations: 79.91 kB / 450.9 MB, free: 11.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03255/0.7072, allocations: 5.333 MB / 456.2 MB, free: 6.254 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.507e-06/0.7072, allocations: 0 / 456.2 MB, free: 6.254 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.077e-05/0.7073, allocations: 12 kB / 456.2 MB, free: 6.242 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.001453/0.7088, allocations: 0.6354 MB / 456.9 MB, free: 5.551 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/0.7089, allocations: 8.031 kB / 456.9 MB, free: 5.543 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000183/0.7091, allocations: 43.44 kB / 456.9 MB, free: 5.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009356/0.71, allocations: 315.4 kB / 457.2 MB, free: 5.148 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.7101, allocations: 3.938 kB / 457.2 MB, free: 5.145 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.118e-05/0.7101, allocations: 4 kB / 457.2 MB, free: 5.141 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003062/0.7105, allocations: 53.69 kB / 457.3 MB, free: 5.082 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.7105, allocations: 3.953 kB / 457.3 MB, free: 5.078 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.7105, allocations: 3.984 kB / 457.3 MB, free: 5.074 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.7106, allocations: 4 kB / 457.3 MB, free: 5.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002451/0.7108, allocations: 23.98 kB / 457.3 MB, free: 5.047 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.7121, allocations: 444.5 kB / 457.7 MB, free: 4.562 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004254/0.7126, allocations: 42.56 kB / 457.8 MB, free: 4.512 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.7126, allocations: 0 / 457.8 MB, free: 4.512 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.729e-05/0.7127, allocations: 32.38 kB / 457.8 MB, free: 4.473 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 3.076e-06/0.7127, allocations: 0 / 457.8 MB, free: 4.473 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.001538/0.7143, allocations: 244.1 kB / 458.1 MB, free: 4.227 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/0.7144, allocations: 51.41 kB / 458.1 MB, free: 4.164 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003254/0.7176, allocations: 0.8378 MB / 458.9 MB, free: 3.312 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.414e-05/0.7178, allocations: 25.7 kB / 459 MB, free: 3.281 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003056/0.7181, allocations: 238.5 kB / 459.2 MB, free: 3.047 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.537e-05/0.7182, allocations: 11.75 kB / 459.2 MB, free: 3.035 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-06/0.7182, allocations: 0 / 459.2 MB, free: 3.035 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002133/0.7184, allocations: 318.8 kB / 459.5 MB, free: 2.715 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002582/0.7187, allocations: 23.92 kB / 459.5 MB, free: 2.691 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/0.719, allocations: 39.91 kB / 459.6 MB, free: 2.652 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.7192, allocations: 45.7 kB / 459.6 MB, free: 2.602 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/0.7193, allocations: 7.938 kB / 459.6 MB, free: 2.594 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006072/0.7199, allocations: 119.4 kB / 459.8 MB, free: 2.465 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.379e-05/0.72, allocations: 29.7 kB / 459.8 MB, free: 2.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.72, allocations: 4 kB / 459.8 MB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.72, allocations: 0 / 459.8 MB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.7203, allocations: 15.98 kB / 459.8 MB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.7203, allocations: 0 / 459.8 MB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.7206, allocations: 4 kB / 459.8 MB, free: 2.406 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.7206, allocations: 4 kB / 459.8 MB, free: 2.402 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 (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.0003596/0.721, allocations: 213.8 kB / 460 MB, free: 2.184 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.7211, allocations: 51.33 kB / 460.1 MB, free: 2.133 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004587/0.7216, allocations: 137.2 kB / 460.2 MB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.7216, allocations: 4.281 kB / 460.2 MB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.7216, allocations: 4 kB / 460.2 MB, free: 1.984 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.7216, allocations: 0 / 460.2 MB, free: 1.984 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.7228, allocations: 0.5881 MB / 460.8 MB, free: 1.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.7228, allocations: 0 / 460.8 MB, free: 1.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.723, allocations: 15.98 kB / 460.8 MB, free: 1.324 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.723, allocations: 11.94 kB / 460.8 MB, free: 1.312 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.723, allocations: 0 / 460.8 MB, free: 1.312 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.723, allocations: 0 / 460.8 MB, free: 1.312 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.723, allocations: 0 / 460.8 MB, free: 1.312 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004355/0.7235, allocations: 219 kB / 461 MB, free: 1.082 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002719/0.7238, allocations: 160.5 kB / 461.2 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.791e-05/0.7238, allocations: 0 / 461.2 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.724, allocations: 8 kB / 461.2 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/0.7241, allocations: 11.92 kB / 461.2 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.7241, allocations: 0 / 461.2 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001206/0.7253, allocations: 0.6276 MB / 461.8 MB, free: 268 kB / 378.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.7253, allocations: 0 / 461.8 MB, free: 268 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.000433/0.7258, allocations: 56 kB / 461.9 MB, free: 212 kB / 378.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.00091/0.7267, allocations: 308.7 kB / 462.2 MB, free: 15.97 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004125/0.7271, allocations: 107.4 kB / 462.3 MB, free: 15.85 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.7271, allocations: 0 / 462.3 MB, free: 15.85 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.7273, allocations: 31.92 kB / 462.3 MB, free: 15.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.7277, allocations: 25.92 kB / 462.4 MB, free: 15.79 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.7299, allocations: 0.9287 MB / 463.3 MB, free: 14.83 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000574/0.7305, allocations: 0.8223 MB / 464.1 MB, free: 13.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.7306, allocations: 23.69 kB / 464.1 MB, free: 13.95 MB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/0.7306, allocations: 0 / 464.1 MB, free: 13.95 MB / 394.7 MB Notification: Performance of Templates: time 0.01199/0.7426, allocations: 3.925 MB / 468.1 MB, free: 10.02 MB / 394.7 MB