Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.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.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16") Notification: Performance of loadModel(ModelicaTest): time 2.373/2.373, allocations: 234.9 MB / 251.1 MB, free: 9.699 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006176/0.0006178, allocations: 12 kB / 314.9 MB, free: 9.75 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4381/0.4387, allocations: 54.85 MB / 369.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1856/0.6244, allocations: 80.97 MB / 450.8 MB, free: 11.72 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/0.6248, allocations: 75.97 kB / 450.8 MB, free: 11.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01295/0.6377, allocations: 3.127 MB / 454 MB, free: 8.508 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.6378, allocations: 0 / 454 MB, free: 8.508 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.6378, allocations: 4 kB / 454 MB, free: 8.504 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005691/0.6384, allocations: 416.8 kB / 454.4 MB, free: 8.043 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.6384, allocations: 8.031 kB / 454.4 MB, free: 8.035 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.248e-05/0.6385, allocations: 15.77 kB / 454.4 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.6388, allocations: 192.4 kB / 454.6 MB, free: 7.789 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.6388, allocations: 7.938 kB / 454.6 MB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.6389, allocations: 4 kB / 454.6 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.6391, allocations: 61.61 kB / 454.7 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.6391, allocations: 0 / 454.7 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.6392, allocations: 0 / 454.7 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.6392, allocations: 0 / 454.7 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.6393, allocations: 27.94 kB / 454.7 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004508/0.6398, allocations: 273 kB / 454.9 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.6401, allocations: 54.5 kB / 455 MB, free: 7.305 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.6401, allocations: 0 / 455 MB, free: 7.305 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.6402, allocations: 40.45 kB / 455 MB, free: 7.258 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.6402, allocations: 0 / 455 MB, free: 7.258 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008228/0.641, allocations: 161.2 kB / 455.2 MB, free: 7.094 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.6411, allocations: 51.41 kB / 455.2 MB, free: 7.031 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002847/0.6414, allocations: 193.9 kB / 455.4 MB, free: 6.832 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.6414, allocations: 29.7 kB / 455.5 MB, free: 6.797 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.445e-05/0.6415, allocations: 170.5 kB / 455.6 MB, free: 6.629 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.6415, allocations: 11.8 kB / 455.6 MB, free: 6.617 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.215e-06/0.6415, allocations: 4 kB / 455.6 MB, free: 6.613 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.6417, allocations: 318.8 kB / 456 MB, free: 6.293 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.6418, allocations: 23.98 kB / 456 MB, free: 6.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.642, allocations: 27.98 kB / 456 MB, free: 6.242 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.6421, allocations: 49.69 kB / 456.1 MB, free: 6.188 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.6422, allocations: 0 / 456.1 MB, free: 6.188 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003511/0.6425, allocations: 119.3 kB / 456.2 MB, free: 6.059 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.546e-05/0.6426, allocations: 34.48 kB / 456.2 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.6426, allocations: 3.953 kB / 456.2 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.6426, allocations: 0 / 456.2 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.6427, allocations: 15.98 kB / 456.2 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.956e-06/0.6428, allocations: 4 kB / 456.2 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.277e-05/0.6428, allocations: 4 kB / 456.2 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.6429, allocations: 0 / 456.2 MB, free: 5.992 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 (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.0001411/0.643, allocations: 133.8 kB / 456.4 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-05/0.6431, allocations: 7.906 kB / 456.4 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003742/0.6434, allocations: 110 kB / 456.5 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.6435, allocations: 3.953 kB / 456.5 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.6435, allocations: 4.312 kB / 456.5 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.6435, allocations: 11.97 kB / 456.5 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006633/0.6442, allocations: 362.6 kB / 456.9 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.6442, allocations: 0 / 456.9 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.6443, allocations: 12 kB / 456.9 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.6443, allocations: 7.891 kB / 456.9 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.6444, allocations: 11.98 kB / 456.9 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.6444, allocations: 0 / 456.9 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6444, allocations: 0 / 456.9 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000368/0.6447, allocations: 183.4 kB / 457.1 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.897e-05/0.6448, allocations: 97 kB / 457.2 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.6449, allocations: 3.953 kB / 457.2 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.645, allocations: 4 kB / 457.2 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.6451, allocations: 7.984 kB / 457.2 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.6451, allocations: 0 / 457.2 MB, free: 4.949 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001907/0.6453, allocations: 147.1 kB / 457.3 MB, free: 4.805 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6453, allocations: 0 / 457.3 MB, free: 4.805 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003225/0.6456, allocations: 27.92 kB / 457.3 MB, free: 4.777 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 (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.0008498/0.6465, allocations: 307.9 kB / 457.6 MB, free: 4.539 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003584/0.6468, allocations: 115.4 kB / 457.8 MB, free: 4.414 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6469, allocations: 0 / 457.8 MB, free: 4.414 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.647, allocations: 27.98 kB / 457.8 MB, free: 4.387 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.6473, allocations: 12 kB / 457.8 MB, free: 4.375 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005955/0.6479, allocations: 258.7 kB / 458.1 MB, free: 4.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.6483, allocations: 0.7043 MB / 458.8 MB, free: 3.359 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.252e-05/0.6484, allocations: 19.42 kB / 458.8 MB, free: 3.34 MB / 378.7 MB Notification: Performance of SimCode: time 6.31e-07/0.6484, allocations: 0 / 458.8 MB, free: 3.34 MB / 378.7 MB Notification: Performance of Templates: time 0.00422/0.6526, allocations: 1.325 MB / 460.1 MB, free: 2.012 MB / 378.7 MB