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.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test27") Notification: Performance of loadModel(ModelicaTest): time 2.435/2.435, allocations: 234.9 MB / 251.1 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004278/0.0004279, allocations: 12 kB / 314.9 MB, free: 9.617 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3399, allocations: 54.86 MB / 369.8 MB, free: 10.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1432/0.4832, allocations: 80.96 MB / 450.8 MB, free: 9.691 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/0.4835, allocations: 79.95 kB / 450.8 MB, free: 9.613 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01241/0.4959, allocations: 2.956 MB / 453.8 MB, free: 6.648 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.496, allocations: 0 / 453.8 MB, free: 6.648 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.496, allocations: 0 / 453.8 MB, free: 6.648 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.00056/0.4966, allocations: 424.6 kB / 454.2 MB, free: 6.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.4966, allocations: 8.031 kB / 454.2 MB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.155e-05/0.4967, allocations: 11.86 kB / 454.2 MB, free: 6.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.497, allocations: 193 kB / 454.4 MB, free: 5.934 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.497, allocations: 4 kB / 454.4 MB, free: 5.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.497, allocations: 4 kB / 454.4 MB, free: 5.926 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.4973, allocations: 73.59 kB / 454.5 MB, free: 5.848 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.4973, allocations: 0 / 454.5 MB, free: 5.848 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.4973, allocations: 3.984 kB / 454.5 MB, free: 5.844 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.4973, allocations: 3.953 kB / 454.5 MB, free: 5.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002365/0.4976, allocations: 39.97 kB / 454.5 MB, free: 5.801 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.498, allocations: 284.8 kB / 454.8 MB, free: 5.473 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.4982, allocations: 54.48 kB / 454.9 MB, free: 5.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.4983, allocations: 4 kB / 454.9 MB, free: 5.406 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.4983, allocations: 34.52 kB / 454.9 MB, free: 5.363 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.653e-06/0.4983, allocations: 7.938 kB / 454.9 MB, free: 5.355 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001236/0.4996, allocations: 243.1 kB / 455.2 MB, free: 5.113 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.4996, allocations: 55.39 kB / 455.2 MB, free: 5.047 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.4999, allocations: 162.8 kB / 455.4 MB, free: 4.875 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.4999, allocations: 29.7 kB / 455.4 MB, free: 4.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.4e-05/0.5, allocations: 158.6 kB / 455.6 MB, free: 4.684 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.5, allocations: 23.66 kB / 455.6 MB, free: 4.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-06/0.5, allocations: 0 / 455.6 MB, free: 4.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.5002, allocations: 318.8 kB / 455.9 MB, free: 4.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/0.5004, allocations: 47.97 kB / 455.9 MB, free: 4.293 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.5006, allocations: 39.97 kB / 456 MB, free: 4.254 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.5009, allocations: 73.64 kB / 456 MB, free: 4.176 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5009, allocations: 0 / 456 MB, free: 4.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005406/0.5014, allocations: 167.2 kB / 456.2 MB, free: 4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.1e-05/0.5015, allocations: 33.7 kB / 456.2 MB, free: 3.961 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.5015, allocations: 3.984 kB / 456.2 MB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.5015, allocations: 0 / 456.2 MB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.5017, allocations: 23.98 kB / 456.3 MB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.5018, allocations: 0 / 456.3 MB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.5019, allocations: 11.98 kB / 456.3 MB, free: 3.922 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.5019, allocations: 8 kB / 456.3 MB, free: 3.914 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 (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.0001223/0.502, allocations: 121.8 kB / 456.4 MB, free: 3.785 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/0.5021, allocations: 7.906 kB / 456.4 MB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005843/0.5027, allocations: 146.3 kB / 456.6 MB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.5027, allocations: 0 / 456.6 MB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.5027, allocations: 8 kB / 456.6 MB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.5027, allocations: 0 / 456.6 MB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008569/0.5036, allocations: 410.8 kB / 457 MB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.5036, allocations: 3.938 kB / 457 MB, free: 3.156 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.5038, allocations: 23.98 kB / 457 MB, free: 3.133 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.5038, allocations: 4 kB / 457 MB, free: 3.129 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.5038, allocations: 4 kB / 457 MB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.5039, allocations: 0 / 457 MB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.5039, allocations: 3.938 kB / 457 MB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005559/0.5044, allocations: 231.4 kB / 457.2 MB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.691e-05/0.5045, allocations: 85.02 kB / 457.3 MB, free: 2.777 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.5046, allocations: 3.984 kB / 457.3 MB, free: 2.773 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.5047, allocations: 16 kB / 457.3 MB, free: 2.758 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.764e-05/0.5048, allocations: 3.984 kB / 457.3 MB, free: 2.754 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.5048, allocations: 8 kB / 457.3 MB, free: 2.746 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001578/0.505, allocations: 130.5 kB / 457.5 MB, free: 2.621 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.505, allocations: 0 / 457.5 MB, free: 2.621 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003397/0.5054, allocations: 31.92 kB / 457.5 MB, free: 2.59 MB / 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 (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.0008641/0.5062, allocations: 290.5 kB / 457.8 MB, free: 2.363 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006321/0.5069, allocations: 159.3 kB / 457.9 MB, free: 2.195 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5069, allocations: 0 / 457.9 MB, free: 2.195 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002393/0.5071, allocations: 51.91 kB / 458 MB, free: 2.145 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.5074, allocations: 15.94 kB / 458 MB, free: 2.129 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006264/0.5081, allocations: 250.8 kB / 458.3 MB, free: 1.848 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.5084, allocations: 0.7043 MB / 459 MB, free: 1.117 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.791e-05/0.5085, allocations: 11.44 kB / 459 MB, free: 1.105 MB / 378.7 MB Notification: Performance of SimCode: time 8.72e-07/0.5085, allocations: 0 / 459 MB, free: 1.105 MB / 378.7 MB Notification: Performance of Templates: time 0.004208/0.5127, allocations: 1.384 MB / 460.4 MB, free: 15.72 MB / 394.7 MB