Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.967/1.967, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.189e-05/3.213e-05, allocations: 4 kB / 277.8 MB, free: 15.29 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08999/0.09005, allocations: 48.71 MB / 326.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3361/0.4262, allocations: 74.42 MB / 401 MB, free: 10.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001982/0.4265, allocations: 75.67 kB / 401 MB, free: 10.4 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01532/0.4418, allocations: 5.321 MB / 406.4 MB, free: 8.148 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.016e-06/0.4419, allocations: 0 / 406.4 MB, free: 8.148 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.056e-05/0.4419, allocations: 7.625 kB / 406.4 MB, free: 8.145 MB / 314.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.0005128/0.4424, allocations: 0.5719 MB / 406.9 MB, free: 7.617 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.4425, allocations: 7.688 kB / 406.9 MB, free: 7.617 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.364e-05/0.4426, allocations: 42.78 kB / 407 MB, free: 7.594 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004163/0.443, allocations: 325.1 kB / 407.3 MB, free: 7.336 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.4431, allocations: 0 / 407.3 MB, free: 7.336 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.4431, allocations: 3.844 kB / 407.3 MB, free: 7.336 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.4432, allocations: 51.97 kB / 407.4 MB, free: 7.297 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.4432, allocations: 0 / 407.4 MB, free: 7.297 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.4433, allocations: 3.812 kB / 407.4 MB, free: 7.297 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.4433, allocations: 4 kB / 407.4 MB, free: 7.293 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.546e-05/0.4433, allocations: 15.22 kB / 407.4 MB, free: 7.293 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005217/0.4439, allocations: 432.6 kB / 407.8 MB, free: 6.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.317e-05/0.444, allocations: 37.53 kB / 407.8 MB, free: 6.949 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.663e-05/0.444, allocations: 20 kB / 407.9 MB, free: 6.938 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.4441, allocations: 4 kB / 407.9 MB, free: 6.934 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.4441, allocations: 34.19 kB / 407.9 MB, free: 6.895 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.184e-06/0.4441, allocations: 0 / 407.9 MB, free: 6.895 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006072/0.4447, allocations: 221 kB / 408.1 MB, free: 6.777 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.96e-05/0.4448, allocations: 51.41 kB / 408.2 MB, free: 6.715 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001515/0.4463, allocations: 0.761 MB / 408.9 MB, free: 6.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.4463, allocations: 25.7 kB / 409 MB, free: 6.488 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.4465, allocations: 239.7 kB / 409.2 MB, free: 6.332 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.4465, allocations: 23.25 kB / 409.2 MB, free: 6.316 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-06/0.4465, allocations: 0 / 409.2 MB, free: 6.316 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.138e-05/0.4466, allocations: 313.8 kB / 409.5 MB, free: 6.004 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.163e-05/0.4467, allocations: 26.3 kB / 409.5 MB, free: 5.996 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.994e-05/0.4467, allocations: 22.59 kB / 409.6 MB, free: 5.996 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.534e-05/0.4468, allocations: 39.95 kB / 409.6 MB, free: 5.965 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.4468, allocations: 4 kB / 409.6 MB, free: 5.961 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001952/0.447, allocations: 105.5 kB / 409.7 MB, free: 5.891 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/0.4471, allocations: 29.67 kB / 409.7 MB, free: 5.859 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.729e-06/0.4471, allocations: 0 / 409.7 MB, free: 5.859 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.4471, allocations: 3.953 kB / 409.7 MB, free: 5.855 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.4473, allocations: 30.88 kB / 409.8 MB, free: 5.848 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.619e-06/0.4473, allocations: 4.25 kB / 409.8 MB, free: 5.844 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.4475, allocations: 15.5 kB / 409.8 MB, free: 5.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.4475, allocations: 4 kB / 409.8 MB, free: 5.836 MB / 314.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 () * 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 5.499e-05/0.4475, allocations: 113.6 kB / 409.9 MB, free: 5.727 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.366e-05/0.4477, allocations: 42.78 kB / 409.9 MB, free: 5.703 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002525/0.4479, allocations: 133.3 kB / 410.1 MB, free: 5.645 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.793e-06/0.4479, allocations: 0 / 410.1 MB, free: 5.645 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.017e-06/0.448, allocations: 3.953 kB / 410.1 MB, free: 5.641 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.561e-06/0.448, allocations: 3.844 kB / 410.1 MB, free: 5.641 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007646/0.4487, allocations: 0.575 MB / 410.7 MB, free: 5.262 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.159e-06/0.4488, allocations: 0 / 410.7 MB, free: 5.262 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.4489, allocations: 27.02 kB / 410.7 MB, free: 5.254 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.972e-06/0.4489, allocations: 0 / 410.7 MB, free: 5.254 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.4489, allocations: 3.953 kB / 410.7 MB, free: 5.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.447e-06/0.4489, allocations: 0 / 410.7 MB, free: 5.25 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.02e-06/0.449, allocations: 0 / 410.7 MB, free: 5.25 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.4492, allocations: 214.8 kB / 410.9 MB, free: 5.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001687/0.4494, allocations: 158.2 kB / 411.1 MB, free: 4.969 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.397e-05/0.4494, allocations: 0 / 411.1 MB, free: 4.969 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.4496, allocations: 15.72 kB / 411.1 MB, free: 4.961 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.4497, allocations: 11.08 kB / 411.1 MB, free: 4.957 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.765e-06/0.4497, allocations: 3.844 kB / 411.1 MB, free: 4.957 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007797/0.4505, allocations: 0.6172 MB / 411.7 MB, free: 4.812 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.34e-07/0.4505, allocations: 0 / 411.7 MB, free: 4.812 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000418/0.4509, allocations: 57.38 kB / 411.8 MB, free: 4.809 MB / 314.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 () * 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.0006945/0.4516, allocations: 241.4 kB / 412 MB, free: 4.652 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001944/0.4519, allocations: 96.53 kB / 412.1 MB, free: 4.59 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.201e-06/0.4519, allocations: 4 kB / 412.1 MB, free: 4.586 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.094e-05/0.452, allocations: 37.23 kB / 412.1 MB, free: 4.578 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.4523, allocations: 13 kB / 412.1 MB, free: 4.574 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.4536, allocations: 0.7511 MB / 412.9 MB, free: 4.285 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.4539, allocations: 0.8248 MB / 413.7 MB, free: 3.531 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.454, allocations: 23.31 kB / 413.7 MB, free: 3.52 MB / 314.7 MB Notification: Performance of SimCode: time 1.779e-06/0.454, allocations: 0 / 413.7 MB, free: 3.52 MB / 314.7 MB Notification: Performance of Templates: time 0.008672/0.4627, allocations: 4.037 MB / 417.8 MB, free: 15.89 MB / 330.7 MB