Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.Test12") Notification: Performance of loadModel(ModelicaTest): time 2.254/2.254, allocations: 234.9 MB / 250.5 MB, free: 9.688 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004628/0.000463, allocations: 15.98 kB / 314.3 MB, free: 9.73 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2958, allocations: 54.86 MB / 369.2 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.002137/0.298, allocations: 1.219 MB / 370.4 MB, free: 11.42 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005975/0.2986, allocations: 253.1 kB / 370.7 MB, free: 11.17 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.32e-05/0.2987, allocations: 4 kB / 370.7 MB, free: 11.17 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001602/0.2989, allocations: 15.92 kB / 370.7 MB, free: 11.15 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.299, allocations: 19.92 kB / 370.7 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001357/0.2992, allocations: 27.91 kB / 370.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.2993, allocations: 39.95 kB / 370.8 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.397e-05/0.2994, allocations: 19.97 kB / 370.8 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.939e-05/0.2995, allocations: 11.94 kB / 370.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.334e-05/0.2996, allocations: 19.86 kB / 370.8 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.2996, allocations: 0 / 370.8 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.991e-05/0.2997, allocations: 15.94 kB / 370.8 MB, free: 11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.906e-05/0.2997, allocations: 11.98 kB / 370.8 MB, free: 10.99 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.08e-05/0.2998, allocations: 33.64 kB / 370.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.2999, allocations: 47.92 kB / 370.9 MB, free: 10.9 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.503e-06/0.2999, allocations: 8 kB / 370.9 MB, free: 10.89 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.811e-06/0.3, allocations: 0 / 370.9 MB, free: 10.89 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.742e-06/0.3, allocations: 0 / 370.9 MB, free: 10.89 MB / 298.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.0005463/0.3005, allocations: 385.6 kB / 371.3 MB, free: 10.46 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.3006, allocations: 12.03 kB / 371.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/0.3006, allocations: 7.859 kB / 371.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.3009, allocations: 190.9 kB / 371.5 MB, free: 10.22 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.3009, allocations: 3.938 kB / 371.5 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.3009, allocations: 8 kB / 371.5 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.3011, allocations: 45.69 kB / 371.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.3011, allocations: 4 kB / 371.6 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.3012, allocations: 4 kB / 371.6 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.345e-06/0.3012, allocations: 0 / 371.6 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.3013, allocations: 31.94 kB / 371.6 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004239/0.3017, allocations: 269 kB / 371.9 MB, free: 9.805 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.302, allocations: 50.44 kB / 371.9 MB, free: 9.746 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.302, allocations: 0 / 371.9 MB, free: 9.746 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.3021, allocations: 34.56 kB / 371.9 MB, free: 9.703 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.879e-06/0.3021, allocations: 0 / 371.9 MB, free: 9.703 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.000694/0.3028, allocations: 169.2 kB / 372.1 MB, free: 9.531 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.3029, allocations: 55.41 kB / 372.2 MB, free: 9.465 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.3031, allocations: 160.7 kB / 372.3 MB, free: 9.301 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.3031, allocations: 29.7 kB / 372.3 MB, free: 9.266 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.882e-05/0.3032, allocations: 158.5 kB / 372.5 MB, free: 9.109 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.3033, allocations: 19.8 kB / 372.5 MB, free: 9.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.431e-06/0.3033, allocations: 0 / 372.5 MB, free: 9.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3035, allocations: 310.8 kB / 372.8 MB, free: 8.777 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.3036, allocations: 27.98 kB / 372.9 MB, free: 8.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.209e-05/0.3037, allocations: 23.98 kB / 372.9 MB, free: 8.727 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.3038, allocations: 53.69 kB / 372.9 MB, free: 8.668 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.05e-06/0.3038, allocations: 0 / 372.9 MB, free: 8.668 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002999/0.3041, allocations: 119.6 kB / 373 MB, free: 8.539 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.385e-05/0.3042, allocations: 33.69 kB / 373.1 MB, free: 8.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.463e-06/0.3042, allocations: 4 kB / 373.1 MB, free: 8.496 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.3042, allocations: 3.953 kB / 373.1 MB, free: 8.492 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.3044, allocations: 12 kB / 373.1 MB, free: 8.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.525e-06/0.3044, allocations: 0 / 373.1 MB, free: 8.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.825e-05/0.3044, allocations: 7.984 kB / 373.1 MB, free: 8.473 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.3045, allocations: 11.98 kB / 373.1 MB, free: 8.461 MB / 298.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.0001229/0.3046, allocations: 113.8 kB / 373.2 MB, free: 8.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.437e-05/0.3047, allocations: 7.906 kB / 373.2 MB, free: 8.332 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003066/0.305, allocations: 105.9 kB / 373.3 MB, free: 8.227 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.531e-06/0.305, allocations: 3.953 kB / 373.3 MB, free: 8.223 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.76e-06/0.305, allocations: 4 kB / 373.3 MB, free: 8.219 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.954e-06/0.305, allocations: 0 / 373.3 MB, free: 8.219 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005821/0.3056, allocations: 350.8 kB / 373.7 MB, free: 7.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.279e-06/0.3057, allocations: 4 kB / 373.7 MB, free: 7.816 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.034e-05/0.3057, allocations: 24 kB / 373.7 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/0.3058, allocations: 3.953 kB / 373.7 MB, free: 7.789 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.3058, allocations: 11.92 kB / 373.7 MB, free: 7.777 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.359e-06/0.3058, allocations: 0 / 373.7 MB, free: 7.777 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.631e-06/0.3058, allocations: 0 / 373.7 MB, free: 7.777 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003069/0.3061, allocations: 183.4 kB / 373.9 MB, free: 7.582 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.354e-05/0.3062, allocations: 81.02 kB / 374 MB, free: 7.484 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.3062, allocations: 11.94 kB / 374 MB, free: 7.473 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.885e-05/0.3064, allocations: 4 kB / 374 MB, free: 7.469 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.3064, allocations: 0 / 374 MB, free: 7.469 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.389e-06/0.3064, allocations: 8 kB / 374 MB, free: 7.461 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001398/0.3066, allocations: 119.2 kB / 374.1 MB, free: 7.344 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.271e-06/0.3066, allocations: 0 / 374.1 MB, free: 7.344 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003311/0.3069, allocations: 27.92 kB / 374.2 MB, free: 7.316 MB / 298.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.0009453/0.3079, allocations: 291.3 kB / 374.4 MB, free: 7.102 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003155/0.3082, allocations: 111.4 kB / 374.6 MB, free: 6.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.441e-06/0.3083, allocations: 4 kB / 374.6 MB, free: 6.977 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.3084, allocations: 31.92 kB / 374.6 MB, free: 6.945 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.3087, allocations: 5.094 kB / 374.6 MB, free: 6.941 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004926/0.3092, allocations: 218.3 kB / 374.8 MB, free: 6.691 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.3096, allocations: 0.7005 MB / 375.5 MB, free: 5.965 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.283e-05/0.3096, allocations: 15.42 kB / 375.5 MB, free: 5.949 MB / 298.7 MB Notification: Performance of SimCode: time 1.331e-06/0.3096, allocations: 0 / 375.5 MB, free: 5.949 MB / 298.7 MB Notification: Performance of Templates: time 0.003409/0.3131, allocations: 1.191 MB / 376.7 MB, free: 4.758 MB / 298.7 MB