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.Test10.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.Test10,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.Test10") Notification: Performance of loadModel(ModelicaTest): time 2.151/2.151, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004359/0.0004361, allocations: 16 kB / 283.1 MB, free: 9.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3739, allocations: 48.7 MB / 331.8 MB, free: 6.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1386/0.5125, allocations: 74.75 MB / 406.5 MB, free: 3.719 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/0.5129, allocations: 75.97 kB / 406.6 MB, free: 3.645 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01453/0.5274, allocations: 3.367 MB / 410 MB, free: 284 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.5275, allocations: 0 / 410 MB, free: 284 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.5275, allocations: 0 / 410 MB, free: 284 kB / 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.0006283/0.5281, allocations: 412.8 kB / 410.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.5282, allocations: 8.031 kB / 410.4 MB, free: 15.81 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.223e-05/0.5283, allocations: 7.906 kB / 410.4 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.5285, allocations: 179 kB / 410.6 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.5286, allocations: 15.98 kB / 410.6 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/0.5286, allocations: 7.984 kB / 410.6 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000293/0.5289, allocations: 75.33 kB / 410.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.529, allocations: 0 / 410.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.529, allocations: 0 / 410.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.529, allocations: 4 kB / 410.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00025/0.5293, allocations: 47.97 kB / 410.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004993/0.5298, allocations: 280.8 kB / 411 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.53, allocations: 58.48 kB / 411.1 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.5301, allocations: 0 / 411.1 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.5301, allocations: 30.56 kB / 411.1 MB, free: 15 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.5301, allocations: 0 / 411.1 MB, free: 15 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.001329/0.5315, allocations: 241.3 kB / 411.3 MB, free: 14.76 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/0.5316, allocations: 81.06 kB / 411.4 MB, free: 14.66 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.5317, allocations: 117.8 kB / 411.5 MB, free: 14.54 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.5318, allocations: 25.7 kB / 411.5 MB, free: 14.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.407e-05/0.5319, allocations: 162.5 kB / 411.7 MB, free: 14.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.5319, allocations: 23.64 kB / 411.7 MB, free: 14.32 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.939e-06/0.5319, allocations: 4 kB / 411.7 MB, free: 14.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.5321, allocations: 322.8 kB / 412 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.5323, allocations: 39.97 kB / 412.1 MB, free: 13.95 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002474/0.5326, allocations: 61.75 kB / 412.1 MB, free: 13.89 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.5329, allocations: 77.67 kB / 412.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5329, allocations: 0 / 412.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005832/0.5335, allocations: 159.4 kB / 412.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.993e-05/0.5335, allocations: 33.7 kB / 412.4 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.5336, allocations: 3.938 kB / 412.4 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.5336, allocations: 0 / 412.4 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.5338, allocations: 23.98 kB / 412.4 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.5338, allocations: 11.94 kB / 412.5 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.534, allocations: 8 kB / 412.5 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.534, allocations: 4 kB / 412.5 MB, free: 13.55 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.0001303/0.5342, allocations: 121.8 kB / 412.6 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.393e-05/0.5342, allocations: 7.906 kB / 412.6 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006068/0.5348, allocations: 134 kB / 412.7 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.5349, allocations: 8 kB / 412.7 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5349, allocations: 0 / 412.7 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-06/0.5349, allocations: 3.953 kB / 412.7 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009001/0.5358, allocations: 398.5 kB / 413.1 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.5358, allocations: 3.984 kB / 413.1 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/0.536, allocations: 23.98 kB / 413.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.5361, allocations: 0 / 413.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.5361, allocations: 0 / 413.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.5361, allocations: 3.953 kB / 413.2 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.5361, allocations: 4 kB / 413.2 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005822/0.5367, allocations: 231.3 kB / 413.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.08e-05/0.5368, allocations: 81.02 kB / 413.5 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.772e-05/0.5368, allocations: 11.98 kB / 413.5 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.537, allocations: 8 kB / 413.5 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.5371, allocations: 11.94 kB / 413.5 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.5371, allocations: 0 / 413.5 MB, free: 12.41 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001008/0.5372, allocations: 99.27 kB / 413.6 MB, free: 12.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5372, allocations: 0 / 413.6 MB, free: 12.32 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003913/0.5376, allocations: 35.88 kB / 413.6 MB, free: 12.28 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.001005/0.5386, allocations: 330.7 kB / 413.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000656/0.5393, allocations: 151.3 kB / 414.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/0.5394, allocations: 0 / 414.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002379/0.5396, allocations: 51.91 kB / 414.1 MB, free: 11.81 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.5399, allocations: 15.92 kB / 414.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005645/0.5405, allocations: 202.9 kB / 414.4 MB, free: 11.57 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.5408, allocations: 0.6887 MB / 415 MB, free: 10.85 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.709e-05/0.5409, allocations: 15.44 kB / 415.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of SimCode: time 1.323e-06/0.5409, allocations: 0 / 415.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of Templates: time 0.00506/0.546, allocations: 1.559 MB / 416.6 MB, free: 9.277 MB / 346.7 MB