Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test3.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.CombiTable2D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test3") Notification: Performance of loadModel(ModelicaTest): time 1.898/1.898, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004482/0.0004485, allocations: 8 kB / 283.1 MB, free: 9.707 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3445, allocations: 48.71 MB / 331.8 MB, free: 6.48 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1301/0.4746, allocations: 74.51 MB / 406.3 MB, free: 3.934 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.475, allocations: 79.95 kB / 406.4 MB, free: 3.855 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01903/0.494, allocations: 5.331 MB / 411.7 MB, free: 14.51 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4941, allocations: 6.406 kB / 411.7 MB, free: 14.51 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.959e-05/0.4941, allocations: 4 kB / 411.7 MB, free: 14.5 MB / 346.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.000912/0.495, allocations: 0.6548 MB / 412.4 MB, free: 13.79 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.4951, allocations: 8.031 kB / 412.4 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.728e-05/0.4952, allocations: 39.53 kB / 412.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005897/0.4958, allocations: 307.4 kB / 412.7 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.4958, allocations: 8 kB / 412.7 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.4959, allocations: 4 kB / 412.7 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.4961, allocations: 69.59 kB / 412.8 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.4961, allocations: 3.938 kB / 412.8 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.4961, allocations: 0 / 412.8 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.4962, allocations: 4 kB / 412.8 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000235/0.4964, allocations: 43.97 kB / 412.9 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007353/0.4972, allocations: 432.6 kB / 413.3 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.4974, allocations: 46.5 kB / 413.3 MB, free: 12.74 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.4974, allocations: 8 kB / 413.3 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.4974, allocations: 34.56 kB / 413.4 MB, free: 12.69 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.633e-06/0.4974, allocations: 0 / 413.4 MB, free: 12.69 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.001314/0.4988, allocations: 320 kB / 413.7 MB, free: 12.37 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.4988, allocations: 55.41 kB / 413.7 MB, free: 12.3 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001873/0.5007, allocations: 0.826 MB / 414.6 MB, free: 11.47 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.5007, allocations: 25.7 kB / 414.6 MB, free: 11.44 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/0.5009, allocations: 230.6 kB / 414.8 MB, free: 11.21 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/0.501, allocations: 27.7 kB / 414.8 MB, free: 11.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-06/0.501, allocations: 0 / 414.8 MB, free: 11.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.5011, allocations: 318.8 kB / 415.2 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.5014, allocations: 39.97 kB / 415.2 MB, free: 10.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.5016, allocations: 43.97 kB / 415.2 MB, free: 10.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/0.5018, allocations: 73.67 kB / 415.3 MB, free: 10.7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5019, allocations: 3.938 kB / 415.3 MB, free: 10.69 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005242/0.5024, allocations: 163.2 kB / 415.5 MB, free: 10.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.977e-05/0.5024, allocations: 29.7 kB / 415.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.5025, allocations: 0 / 415.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.5025, allocations: 4.234 kB / 415.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.5027, allocations: 23.98 kB / 415.5 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.5027, allocations: 4 kB / 415.5 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.5029, allocations: 15.98 kB / 415.5 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.5029, allocations: 4 kB / 415.6 MB, free: 10.43 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 (8): * Single equations (assignments): 7 * 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.0002813/0.5032, allocations: 205.8 kB / 415.8 MB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.5033, allocations: 47.5 kB / 415.8 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000615/0.504, allocations: 185.5 kB / 416 MB, free: 9.992 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.455e-06/0.504, allocations: 4 kB / 416 MB, free: 9.988 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.504, allocations: 7.891 kB / 416 MB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.504, allocations: 0 / 416 MB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/0.5054, allocations: 0.6234 MB / 416.6 MB, free: 9.301 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5054, allocations: 4 kB / 416.6 MB, free: 9.297 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.5056, allocations: 27.92 kB / 416.6 MB, free: 9.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.5056, allocations: 0 / 416.6 MB, free: 9.27 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.5056, allocations: 7.953 kB / 416.7 MB, free: 9.262 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.5056, allocations: 0 / 416.7 MB, free: 9.262 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5056, allocations: 0 / 416.7 MB, free: 9.262 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006039/0.5063, allocations: 258.9 kB / 416.9 MB, free: 8.992 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002585/0.5065, allocations: 160.5 kB / 417.1 MB, free: 8.816 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.144e-05/0.5066, allocations: 4 kB / 417.1 MB, free: 8.812 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.5068, allocations: 23.94 kB / 417.1 MB, free: 8.789 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.439e-05/0.5069, allocations: 11.98 kB / 417.1 MB, free: 8.777 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.5069, allocations: 0 / 417.1 MB, free: 8.777 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00108/0.508, allocations: 0.6237 MB / 417.7 MB, free: 8.156 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.508, allocations: 0 / 417.7 MB, free: 8.156 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004113/0.5084, allocations: 63.92 kB / 417.8 MB, free: 8.094 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 (7): * Single equations (assignments): 7 * 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.0006787/0.5091, allocations: 247.1 kB / 418 MB, free: 7.891 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005705/0.5097, allocations: 151.3 kB / 418.2 MB, free: 7.73 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5097, allocations: 4 kB / 418.2 MB, free: 7.727 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002343/0.51, allocations: 51.91 kB / 418.2 MB, free: 7.676 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.5103, allocations: 18.27 kB / 418.3 MB, free: 7.66 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001997/0.5123, allocations: 0.9482 MB / 419.2 MB, free: 6.68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006098/0.513, allocations: 0.8262 MB / 420 MB, free: 5.828 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.5131, allocations: 19.69 kB / 420 MB, free: 5.809 MB / 346.7 MB Notification: Performance of SimCode: time 6.51e-07/0.5131, allocations: 4 kB / 420.1 MB, free: 5.805 MB / 346.7 MB Notification: Performance of Templates: time 0.01153/0.5246, allocations: 4.031 MB / 424.1 MB, free: 1.754 MB / 346.7 MB