Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test2.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test2,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.Test2") Notification: Performance of loadModel(ModelicaTest): time 1.883/1.883, allocations: 209.3 MB / 224.9 MB, free: 188 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009481/0.0009484, allocations: 16 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3321, allocations: 48.7 MB / 331.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1565/0.4887, allocations: 74.49 MB / 405.8 MB, free: 3.988 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/0.489, allocations: 67.97 kB / 405.8 MB, free: 3.922 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01046/0.4995, allocations: 2.584 MB / 408.4 MB, free: 1.336 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.4995, allocations: 3.938 kB / 408.4 MB, free: 1.332 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.4995, allocations: 0 / 408.4 MB, free: 1.332 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004985/0.5001, allocations: 392.9 kB / 408.8 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.5001, allocations: 12.03 kB / 408.8 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.129e-05/0.5002, allocations: 3.906 kB / 408.8 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.5004, allocations: 202.7 kB / 409 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.5005, allocations: 4 kB / 409 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.817e-05/0.5005, allocations: 4 kB / 409 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.5007, allocations: 49.62 kB / 409.1 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.5007, allocations: 4 kB / 409.1 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.52e-06/0.5007, allocations: 0 / 409.1 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.547e-06/0.5007, allocations: 0 / 409.1 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.5009, allocations: 31.97 kB / 409.1 MB, free: 0.543 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004715/0.5014, allocations: 276.9 kB / 409.4 MB, free: 228 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.5016, allocations: 50.5 kB / 409.4 MB, free: 168 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.5017, allocations: 8 kB / 409.4 MB, free: 160 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.5017, allocations: 30.56 kB / 409.5 MB, free: 120 kB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.342e-06/0.5017, allocations: 0 / 409.5 MB, free: 120 kB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007596/0.5025, allocations: 165.5 kB / 409.6 MB, free: 15.95 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.5026, allocations: 51.41 kB / 409.7 MB, free: 15.89 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.5027, allocations: 125.2 kB / 409.8 MB, free: 15.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.5028, allocations: 25.7 kB / 409.8 MB, free: 15.72 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.962e-05/0.5029, allocations: 166.4 kB / 410 MB, free: 15.56 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.5029, allocations: 15.8 kB / 410 MB, free: 15.54 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.513e-06/0.5029, allocations: 0 / 410 MB, free: 15.54 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.5031, allocations: 318.8 kB / 410.3 MB, free: 15.22 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.5032, allocations: 31.97 kB / 410.3 MB, free: 15.19 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.966e-05/0.5034, allocations: 27.98 kB / 410.4 MB, free: 15.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.5035, allocations: 53.88 kB / 410.4 MB, free: 15.11 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.811e-06/0.5035, allocations: 4 kB / 410.4 MB, free: 15.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003217/0.5039, allocations: 127.3 kB / 410.6 MB, free: 14.96 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.305e-05/0.5039, allocations: 34.64 kB / 410.6 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.388e-06/0.5039, allocations: 0 / 410.6 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.504, allocations: 0 / 410.6 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.874e-05/0.5041, allocations: 19.98 kB / 410.6 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.5041, allocations: 0 / 410.6 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.087e-05/0.5042, allocations: 4 kB / 410.6 MB, free: 14.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.5042, allocations: 7.938 kB / 410.6 MB, free: 14.89 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.0001266/0.5043, allocations: 121.8 kB / 410.7 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.5044, allocations: 7.906 kB / 410.7 MB, free: 14.76 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003372/0.5047, allocations: 105.6 kB / 410.8 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.076e-06/0.5048, allocations: 4 kB / 410.8 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.266e-06/0.5048, allocations: 3.938 kB / 410.9 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.578e-06/0.5048, allocations: 0 / 410.9 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006526/0.5054, allocations: 362.5 kB / 411.2 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.948e-06/0.5055, allocations: 0 / 411.2 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.302e-05/0.5056, allocations: 15.94 kB / 411.2 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.325e-06/0.5056, allocations: 3.984 kB / 411.2 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.5056, allocations: 288 / 411.2 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.457e-06/0.5056, allocations: 0 / 411.2 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.609e-06/0.5056, allocations: 0 / 411.2 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003451/0.506, allocations: 199.6 kB / 411.4 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.02e-05/0.5061, allocations: 89.06 kB / 411.5 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.5061, allocations: 4 kB / 411.5 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.756e-05/0.5062, allocations: 4 kB / 411.5 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.5063, allocations: 11.98 kB / 411.5 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.688e-06/0.5063, allocations: 0 / 411.5 MB, free: 13.88 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000105/0.5064, allocations: 103.3 kB / 411.6 MB, free: 13.78 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.91e-07/0.5064, allocations: 0 / 411.6 MB, free: 13.78 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003395/0.5068, allocations: 19.94 kB / 411.6 MB, free: 13.76 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.0007525/0.5075, allocations: 252.2 kB / 411.9 MB, free: 13.55 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003346/0.5079, allocations: 115.4 kB / 412 MB, free: 13.43 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.5079, allocations: 4 kB / 412 MB, free: 13.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.508, allocations: 27.98 kB / 412 MB, free: 13.4 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.5083, allocations: 23.83 kB / 412.1 MB, free: 13.38 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000474/0.5088, allocations: 206.9 kB / 412.3 MB, free: 13.13 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/0.5092, allocations: 0.6952 MB / 413 MB, free: 12.41 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.02e-05/0.5093, allocations: 15.42 kB / 413 MB, free: 12.4 MB / 346.7 MB Notification: Performance of SimCode: time 1.408e-06/0.5093, allocations: 4 kB / 413 MB, free: 12.39 MB / 346.7 MB Notification: Performance of Templates: time 0.003338/0.5126, allocations: 1.181 MB / 414.2 MB, free: 11.21 MB / 346.7 MB