Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test8.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test8") Notification: Performance of loadModel(ModelicaTest): time 1.935/1.935, allocations: 209.2 MB / 225.4 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004393/0.0004394, allocations: 12 kB / 283.1 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3532, allocations: 48.69 MB / 331.8 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1334/0.4867, allocations: 74.49 MB / 406.3 MB, free: 3.961 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/0.4871, allocations: 79.95 kB / 406.4 MB, free: 3.883 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0116/0.4987, allocations: 2.617 MB / 409 MB, free: 1.266 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4987, allocations: 4 kB / 409 MB, free: 1.262 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.4987, allocations: 0 / 409 MB, free: 1.262 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005249/0.4993, allocations: 411.6 kB / 409.4 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.4993, allocations: 12.03 kB / 409.4 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.4994, allocations: 0 / 409.4 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.4997, allocations: 190.9 kB / 409.6 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.4997, allocations: 3.984 kB / 409.6 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.4997, allocations: 8 kB / 409.6 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.4999, allocations: 49.69 kB / 409.6 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.5, allocations: 0 / 409.6 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.5, allocations: 3.938 kB / 409.6 MB, free: 0.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.5, allocations: 0 / 409.6 MB, free: 0.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.5002, allocations: 27.98 kB / 409.7 MB, free: 484 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005468/0.5007, allocations: 300.7 kB / 410 MB, free: 132 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.501, allocations: 42.56 kB / 410 MB, free: 80 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.5011, allocations: 3.938 kB / 410 MB, free: 76 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.5011, allocations: 34.56 kB / 410 MB, free: 32 kB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.325e-06/0.5011, allocations: 4 kB / 410.1 MB, free: 28 kB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008991/0.502, allocations: 161.5 kB / 410.2 MB, free: 15.86 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.5021, allocations: 55.41 kB / 410.3 MB, free: 15.8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.5023, allocations: 145.8 kB / 410.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.5023, allocations: 25.7 kB / 410.4 MB, free: 15.61 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.371e-05/0.5024, allocations: 158.6 kB / 410.6 MB, free: 15.46 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.5025, allocations: 23.64 kB / 410.6 MB, free: 15.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-06/0.5025, allocations: 0 / 410.6 MB, free: 15.43 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.5026, allocations: 318.8 kB / 410.9 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.5028, allocations: 27.98 kB / 410.9 MB, free: 15.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.5029, allocations: 23.98 kB / 411 MB, free: 15.06 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.5031, allocations: 61.67 kB / 411 MB, free: 15 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.5031, allocations: 0 / 411 MB, free: 15 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003625/0.5035, allocations: 115.4 kB / 411.1 MB, free: 14.87 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.701e-05/0.5035, allocations: 37.7 kB / 411.2 MB, free: 14.83 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.5035, allocations: 7.875 kB / 411.2 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.5036, allocations: 3.984 kB / 411.2 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.5037, allocations: 12 kB / 411.2 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.5037, allocations: 0 / 411.2 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.143e-05/0.5038, allocations: 15.92 kB / 411.2 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.5038, allocations: 4 kB / 411.2 MB, free: 14.79 MB / 346.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.0001178/0.504, allocations: 117.8 kB / 411.3 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.504, allocations: 7.906 kB / 411.3 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004135/0.5044, allocations: 109.6 kB / 411.5 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.5045, allocations: 3.938 kB / 411.5 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.5045, allocations: 0 / 411.5 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.5045, allocations: 0 / 411.5 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006888/0.5052, allocations: 362.5 kB / 411.8 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.5052, allocations: 4.375 kB / 411.8 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.5053, allocations: 12 kB / 411.8 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.5053, allocations: 0 / 411.8 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.5054, allocations: 4 kB / 411.8 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.5054, allocations: 0 / 411.8 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.5054, allocations: 7.984 kB / 411.8 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003791/0.5058, allocations: 195.3 kB / 412 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.255e-05/0.5059, allocations: 89 kB / 412.1 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.5059, allocations: 0 / 412.1 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.506, allocations: 8 kB / 412.1 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.5061, allocations: 7.984 kB / 412.1 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.5061, allocations: 4 kB / 412.1 MB, free: 13.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001179/0.5062, allocations: 107.3 kB / 412.2 MB, free: 13.66 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5062, allocations: 0 / 412.2 MB, free: 13.66 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000314/0.5066, allocations: 15.98 kB / 412.3 MB, free: 13.64 MB / 346.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.0007165/0.5073, allocations: 263 kB / 412.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004395/0.5077, allocations: 123.3 kB / 412.6 MB, free: 13.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.5078, allocations: 0 / 412.6 MB, free: 13.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.5079, allocations: 31.98 kB / 412.7 MB, free: 13.27 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.5082, allocations: 3.984 kB / 412.7 MB, free: 13.26 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006015/0.5088, allocations: 223.1 kB / 412.9 MB, free: 13.01 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.5091, allocations: 0.6887 MB / 413.6 MB, free: 12.3 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.068e-05/0.5092, allocations: 15.44 kB / 413.6 MB, free: 12.28 MB / 346.7 MB Notification: Performance of SimCode: time 8.42e-07/0.5092, allocations: 3.938 kB / 413.6 MB, free: 12.28 MB / 346.7 MB Notification: Performance of Templates: time 0.004105/0.5133, allocations: 1.23 MB / 414.8 MB, free: 11.05 MB / 346.7 MB