Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.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.CombiTable1Ds.Test24,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.CombiTable1Ds.Test24") Notification: Performance of loadModel(ModelicaTest): time 1.956/1.956, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004476/0.0004479, allocations: 8 kB / 283.1 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3481, allocations: 48.7 MB / 331.8 MB, free: 6.484 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1336/0.4818, allocations: 74.75 MB / 406.6 MB, free: 3.691 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/0.4822, allocations: 71.97 kB / 406.6 MB, free: 3.621 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01421/0.4964, allocations: 3.391 MB / 410 MB, free: 232 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.4965, allocations: 0 / 410 MB, free: 232 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.4965, allocations: 0 / 410 MB, free: 232 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.0005754/0.4971, allocations: 404.9 kB / 410.4 MB, free: 15.78 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.4971, allocations: 8.031 kB / 410.4 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.818e-05/0.4972, allocations: 7.906 kB / 410.4 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.4975, allocations: 183 kB / 410.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.4975, allocations: 0 / 410.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.376e-05/0.4976, allocations: 7.984 kB / 410.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/0.4978, allocations: 63.34 kB / 410.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.4978, allocations: 0 / 410.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.4979, allocations: 8 kB / 410.7 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4979, allocations: 0 / 410.7 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.498, allocations: 23.98 kB / 410.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005156/0.4986, allocations: 276.8 kB / 411 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.4989, allocations: 50.5 kB / 411 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.499, allocations: 0 / 411 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.499, allocations: 34.56 kB / 411.1 MB, free: 15.01 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.499, allocations: 0 / 411.1 MB, free: 15.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.000942/0.5, allocations: 157.5 kB / 411.2 MB, free: 14.85 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.967e-05/0.5001, allocations: 81.09 kB / 411.3 MB, free: 14.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.5003, allocations: 117.8 kB / 411.4 MB, free: 14.62 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.5003, allocations: 29.7 kB / 411.4 MB, free: 14.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.4e-05/0.5004, allocations: 158.6 kB / 411.6 MB, free: 14.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.5005, allocations: 23.73 kB / 411.6 MB, free: 14.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.463e-06/0.5005, allocations: 0 / 411.6 MB, free: 14.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.5007, allocations: 318.7 kB / 411.9 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.5008, allocations: 27.92 kB / 412 MB, free: 14.06 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.501, allocations: 41.7 kB / 412 MB, free: 14.02 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.5012, allocations: 53.69 kB / 412 MB, free: 13.96 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.5012, allocations: 0 / 412 MB, free: 13.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004187/0.5016, allocations: 127.2 kB / 412.2 MB, free: 13.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.972e-05/0.5017, allocations: 37.73 kB / 412.2 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.5017, allocations: 0 / 412.2 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.5017, allocations: 0 / 412.2 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.5019, allocations: 16.23 kB / 412.2 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.5019, allocations: 0 / 412.2 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.766e-05/0.502, allocations: 8 kB / 412.2 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.502, allocations: 4 kB / 412.2 MB, free: 13.75 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.000138/0.5022, allocations: 121.8 kB / 412.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.5022, allocations: 0 / 412.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004188/0.5026, allocations: 105.5 kB / 412.5 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.184e-05/0.5027, allocations: 0 / 412.5 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.5027, allocations: 0 / 412.5 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.5027, allocations: 4 kB / 412.5 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006521/0.5034, allocations: 350.4 kB / 412.8 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.5034, allocations: 0 / 412.8 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.5035, allocations: 19.92 kB / 412.8 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.5036, allocations: 0 / 412.8 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.5036, allocations: 0 / 412.8 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.5036, allocations: 4 kB / 412.8 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5036, allocations: 0 / 412.8 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000373/0.504, allocations: 179.5 kB / 413 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.689e-05/0.5041, allocations: 89 kB / 413.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.5041, allocations: 8 kB / 413.1 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.5042, allocations: 4 kB / 413.1 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.5043, allocations: 7.984 kB / 413.1 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.5043, allocations: 0 / 413.1 MB, free: 12.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000108/0.5044, allocations: 99.27 kB / 413.2 MB, free: 12.67 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.415e-06/0.5044, allocations: 0 / 413.2 MB, free: 12.67 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003505/0.5048, allocations: 27.92 kB / 413.2 MB, free: 12.64 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.0009295/0.5057, allocations: 343.5 kB / 413.6 MB, free: 12.38 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003629/0.5061, allocations: 107.4 kB / 413.7 MB, free: 12.26 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5061, allocations: 0 / 413.7 MB, free: 12.26 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.5063, allocations: 31.97 kB / 413.7 MB, free: 12.23 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.5065, allocations: 12 kB / 413.7 MB, free: 12.22 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005116/0.5071, allocations: 191 kB / 413.9 MB, free: 12 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.5074, allocations: 0.6887 MB / 414.6 MB, free: 11.28 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.241e-05/0.5075, allocations: 15.44 kB / 414.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of SimCode: time 8.01e-07/0.5075, allocations: 4 kB / 414.6 MB, free: 11.26 MB / 346.7 MB Notification: Performance of Templates: time 0.004462/0.512, allocations: 1.438 MB / 416 MB, free: 9.824 MB / 346.7 MB