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.Test14.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.Test14,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.Test14") Notification: Performance of loadModel(ModelicaTest): time 1.872/1.872, allocations: 209.2 MB / 225.4 MB, free: 1.473 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004453/0.0004455, allocations: 12 kB / 283.1 MB, free: 9.809 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1046, allocations: 48.7 MB / 331.8 MB, free: 9.016 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3998/0.5045, allocations: 74.72 MB / 406.5 MB, free: 10.53 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/0.5048, allocations: 71.97 kB / 406.6 MB, free: 10.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01356/0.5184, allocations: 3.372 MB / 410 MB, free: 7.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5184, allocations: 0 / 410 MB, free: 7.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.5185, allocations: 7.938 kB / 410 MB, free: 7.082 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006053/0.5191, allocations: 408.9 kB / 410.4 MB, free: 6.629 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.5191, allocations: 8.031 kB / 410.4 MB, free: 6.621 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.537e-05/0.5192, allocations: 15.78 kB / 410.4 MB, free: 6.605 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.5194, allocations: 187 kB / 410.6 MB, free: 6.383 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.5195, allocations: 0 / 410.6 MB, free: 6.383 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.5195, allocations: 4 kB / 410.6 MB, free: 6.379 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/0.5198, allocations: 79.38 kB / 410.7 MB, free: 6.289 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.5198, allocations: 0 / 410.7 MB, free: 6.289 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.5198, allocations: 0 / 410.7 MB, free: 6.289 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.5198, allocations: 0 / 410.7 MB, free: 6.289 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002401/0.5201, allocations: 51.91 kB / 410.7 MB, free: 6.238 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004412/0.5205, allocations: 284.8 kB / 411 MB, free: 5.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.5207, allocations: 46.56 kB / 411 MB, free: 5.855 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.5208, allocations: 4 kB / 411 MB, free: 5.852 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.5208, allocations: 34.5 kB / 411.1 MB, free: 5.809 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.502e-06/0.5208, allocations: 0 / 411.1 MB, free: 5.809 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.001221/0.5221, allocations: 249.3 kB / 411.3 MB, free: 5.559 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.5221, allocations: 77.19 kB / 411.4 MB, free: 5.465 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.5223, allocations: 122.3 kB / 411.5 MB, free: 5.336 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.5223, allocations: 33.69 kB / 411.6 MB, free: 5.297 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.042e-05/0.5224, allocations: 158.5 kB / 411.7 MB, free: 5.141 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.5225, allocations: 23.66 kB / 411.7 MB, free: 5.117 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.293e-06/0.5225, allocations: 0 / 411.7 MB, free: 5.117 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.5226, allocations: 322.8 kB / 412 MB, free: 4.793 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.5229, allocations: 35.98 kB / 412.1 MB, free: 4.758 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002425/0.5231, allocations: 65.67 kB / 412.1 MB, free: 4.688 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/0.5234, allocations: 69.69 kB / 412.2 MB, free: 4.613 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.5234, allocations: 0 / 412.2 MB, free: 4.613 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005551/0.5239, allocations: 155.4 kB / 412.4 MB, free: 4.449 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.071e-05/0.524, allocations: 37.62 kB / 412.4 MB, free: 4.406 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.524, allocations: 0 / 412.4 MB, free: 4.406 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.524, allocations: 8 kB / 412.4 MB, free: 4.398 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.5243, allocations: 27.94 kB / 412.4 MB, free: 4.371 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.5243, allocations: 3.938 kB / 412.4 MB, free: 4.367 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.5244, allocations: 15.98 kB / 412.5 MB, free: 4.352 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.5244, allocations: 0 / 412.5 MB, free: 4.352 MB / 330.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.0001137/0.5246, allocations: 113.8 kB / 412.6 MB, free: 4.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.156e-05/0.5246, allocations: 11.84 kB / 412.6 MB, free: 4.219 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005724/0.5252, allocations: 145.9 kB / 412.7 MB, free: 4.074 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.5252, allocations: 0 / 412.7 MB, free: 4.074 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.5252, allocations: 3.953 kB / 412.7 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.5252, allocations: 8 kB / 412.7 MB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008496/0.5261, allocations: 394.5 kB / 413.1 MB, free: 3.621 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5261, allocations: 0 / 413.1 MB, free: 3.621 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.5263, allocations: 27.92 kB / 413.1 MB, free: 3.594 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.5263, allocations: 0 / 413.1 MB, free: 3.594 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.5263, allocations: 3.953 kB / 413.1 MB, free: 3.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.5263, allocations: 0 / 413.1 MB, free: 3.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.5264, allocations: 0 / 413.1 MB, free: 3.59 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005683/0.5269, allocations: 223.9 kB / 413.4 MB, free: 3.355 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.906e-05/0.527, allocations: 93 kB / 413.5 MB, free: 3.246 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.5271, allocations: 4 kB / 413.5 MB, free: 3.242 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.5272, allocations: 19.94 kB / 413.5 MB, free: 3.223 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/0.5273, allocations: 288 / 413.5 MB, free: 3.223 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.5273, allocations: 7.984 kB / 413.5 MB, free: 3.215 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.064e-05/0.5274, allocations: 91.28 kB / 413.6 MB, free: 3.125 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5274, allocations: 0 / 413.6 MB, free: 3.125 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003882/0.5278, allocations: 39.92 kB / 413.6 MB, free: 3.086 MB / 330.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.0009398/0.5288, allocations: 339 kB / 413.9 MB, free: 2.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005737/0.5294, allocations: 155.3 kB / 414.1 MB, free: 2.656 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5294, allocations: 0 / 414.1 MB, free: 2.656 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000237/0.5296, allocations: 47.91 kB / 414.1 MB, free: 2.609 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.5299, allocations: 11.94 kB / 414.2 MB, free: 2.598 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005411/0.5304, allocations: 202.9 kB / 414.4 MB, free: 2.367 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.5308, allocations: 0.6887 MB / 415 MB, free: 1.652 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.108e-05/0.5309, allocations: 19.42 kB / 415.1 MB, free: 1.633 MB / 330.7 MB Notification: Performance of SimCode: time 7.92e-07/0.5309, allocations: 0 / 415.1 MB, free: 1.633 MB / 330.7 MB Notification: Performance of Templates: time 0.004672/0.5356, allocations: 1.547 MB / 416.6 MB, free: 92 kB / 330.7 MB