Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test20.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.CombiTable1D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test20") Notification: Performance of loadModel(ModelicaTest): time 1.998/1.998, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000647/0.0006473, allocations: 8 kB / 283.1 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3652, allocations: 48.71 MB / 331.8 MB, free: 6.484 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1364/0.5016, allocations: 74.75 MB / 406.6 MB, free: 3.672 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/0.5019, allocations: 71.97 kB / 406.6 MB, free: 3.602 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01421/0.5162, allocations: 3.408 MB / 410 MB, free: 196 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5162, allocations: 4 kB / 410 MB, free: 192 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.5162, allocations: 0 / 410 MB, free: 192 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005964/0.5169, allocations: 404 kB / 410.4 MB, free: 15.74 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.5169, allocations: 8.031 kB / 410.4 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.673e-05/0.517, allocations: 11.89 kB / 410.4 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.5173, allocations: 183 kB / 410.6 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.5173, allocations: 0 / 410.6 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.069e-05/0.5173, allocations: 7.984 kB / 410.6 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.5176, allocations: 71.33 kB / 410.7 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.5176, allocations: 4 kB / 410.7 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.5176, allocations: 0 / 410.7 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.5176, allocations: 0 / 410.7 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.5178, allocations: 23.98 kB / 410.7 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005001/0.5183, allocations: 288.8 kB / 411 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002781/0.5186, allocations: 50.5 kB / 411.1 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.5187, allocations: 4 kB / 411.1 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.5187, allocations: 34.56 kB / 411.1 MB, free: 14.95 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 2.264e-06/0.5187, allocations: 0 / 411.1 MB, free: 14.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008659/0.5196, allocations: 165.5 kB / 411.3 MB, free: 14.78 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.321e-05/0.5197, allocations: 77.11 kB / 411.3 MB, free: 14.69 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.5198, allocations: 117.8 kB / 411.5 MB, free: 14.56 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.5199, allocations: 29.7 kB / 411.5 MB, free: 14.53 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.77e-05/0.52, allocations: 162.5 kB / 411.6 MB, free: 14.37 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.52, allocations: 11.75 kB / 411.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-06/0.52, allocations: 7.938 kB / 411.7 MB, free: 14.35 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.5202, allocations: 318.8 kB / 412 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.5203, allocations: 23.98 kB / 412 MB, free: 14 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.5205, allocations: 49.69 kB / 412 MB, free: 13.95 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.5207, allocations: 57.88 kB / 412.1 MB, free: 13.89 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.5207, allocations: 3.938 kB / 412.1 MB, free: 13.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004053/0.5211, allocations: 131.3 kB / 412.2 MB, free: 13.74 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.339e-05/0.5212, allocations: 29.7 kB / 412.3 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.5212, allocations: 0 / 412.3 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.5212, allocations: 0 / 412.3 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.5213, allocations: 19.92 kB / 412.3 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.5214, allocations: 0 / 412.3 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.436e-05/0.5215, allocations: 8 kB / 412.3 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.5215, allocations: 8 kB / 412.3 MB, free: 13.67 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 (6): * Single equations (assignments): 5 * 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.0001256/0.5216, allocations: 117.8 kB / 412.4 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/0.5217, allocations: 8 kB / 412.4 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004103/0.5221, allocations: 101.6 kB / 412.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.5221, allocations: 4 kB / 412.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5221, allocations: 4 kB / 412.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.5221, allocations: 0 / 412.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006729/0.5228, allocations: 362.4 kB / 412.9 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.5229, allocations: 0 / 412.9 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.523, allocations: 15.98 kB / 412.9 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.523, allocations: 4 kB / 412.9 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.523, allocations: 4 kB / 412.9 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.523, allocations: 3.984 kB / 412.9 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.523, allocations: 0 / 412.9 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003922/0.5234, allocations: 191.7 kB / 413.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.986e-05/0.5235, allocations: 81.02 kB / 413.2 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.5236, allocations: 8.062 kB / 413.2 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.5237, allocations: 11.98 kB / 413.2 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.048e-05/0.5237, allocations: 0 / 413.2 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.5238, allocations: 4 kB / 413.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001077/0.5239, allocations: 103.1 kB / 413.3 MB, free: 12.56 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5239, allocations: 0 / 413.3 MB, free: 12.56 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003716/0.5243, allocations: 35.97 kB / 413.3 MB, free: 12.53 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 (5): * Single equations (assignments): 5 * 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.001021/0.5253, allocations: 330.3 kB / 413.7 MB, free: 12.27 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004544/0.5258, allocations: 111.4 kB / 413.8 MB, free: 12.15 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.5258, allocations: 0 / 413.8 MB, free: 12.15 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.526, allocations: 44.03 kB / 413.8 MB, free: 12.11 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.5263, allocations: 4.125 kB / 413.8 MB, free: 12.11 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000563/0.5268, allocations: 199 kB / 414 MB, free: 11.88 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.5272, allocations: 0.6926 MB / 414.7 MB, free: 11.16 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.718e-05/0.5273, allocations: 15.42 kB / 414.7 MB, free: 11.14 MB / 346.7 MB Notification: Performance of SimCode: time 8.92e-07/0.5273, allocations: 0 / 414.7 MB, free: 11.14 MB / 346.7 MB Notification: Performance of Templates: time 0.004846/0.5321, allocations: 1.465 MB / 416.2 MB, free: 9.676 MB / 346.7 MB