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.CombiTable2D.Test17.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|.surface.y.1, 1..|.surface.y.3, 2..|.surface.y.5, 3..|.surface.y.7, 4..|.surface.y.9, 5..|.surface.y.11, 6..|.surface.y.13, 7..|.surface.y.15, 8..|.surface.y.17, 9..|.surface.y.19, 10..|.surface.y.21, 11..|.surface.y.23, 12..|.surface.y.25, 13..|.surface.y.27, 14..|.surface.y.29, 15..|.surface.y.31, 16..|.surface.y.33, 17..|.surface.y.35, 18..|.surface.y.37, 19..|.surface.y.39, 20..|.surface.y.41, 21..|.surface.y.43, 22..|.surface.y.45, 23..|.surface.y.47, 24..|.surface.y.51, 41..",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test17") Notification: Performance of loadModel(ModelicaTest): time 1.897/1.897, allocations: 209.4 MB / 217.3 MB, free: 4.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.672e-05/1.681e-05, allocations: 0 / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2601, allocations: 48.69 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1114/0.3715, allocations: 74.31 MB / 394.3 MB, free: 6.148 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.3718, allocations: 71.97 kB / 394.4 MB, free: 6.078 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008487/0.3803, allocations: 2.487 MB / 396.9 MB, free: 3.57 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.828e-06/0.3804, allocations: 0 / 396.9 MB, free: 3.57 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.957e-06/0.3804, allocations: 0 / 396.9 MB, free: 3.57 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003584/0.3808, allocations: 354.3 kB / 397.2 MB, free: 3.18 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.3808, allocations: 12.03 kB / 397.2 MB, free: 3.168 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.3809, allocations: 7.906 kB / 397.2 MB, free: 3.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.381, allocations: 167.3 kB / 397.4 MB, free: 2.957 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.3811, allocations: 8 kB / 397.4 MB, free: 2.949 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.3811, allocations: 4 kB / 397.4 MB, free: 2.945 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001107/0.3812, allocations: 39.92 kB / 397.5 MB, free: 2.906 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.3815, allocations: 170.4 kB / 397.6 MB, free: 2.688 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.3815, allocations: 7.938 kB / 397.6 MB, free: 2.68 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.3815, allocations: 3.984 kB / 397.6 MB, free: 2.676 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.361e-05/0.3816, allocations: 12 kB / 397.6 MB, free: 2.664 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.3829, allocations: 1.67 MB / 399.3 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.383, allocations: 181.1 kB / 399.5 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.743e-05/0.383, allocations: 80.14 kB / 399.6 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.994e-05/0.3831, allocations: 75.28 kB / 399.6 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.3e-05/0.3832, allocations: 105.8 kB / 399.7 MB, free: 452 kB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 2.055e-06/0.3832, allocations: 3.938 kB / 399.8 MB, free: 448 kB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 8.76e-05/0.3833, allocations: 41.55 kB / 399.8 MB, free: 400 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.3833, allocations: 55.39 kB / 399.8 MB, free: 332 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.3835, allocations: 170.3 kB / 400 MB, free: 156 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.3836, allocations: 25.7 kB / 400 MB, free: 124 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.3838, allocations: 221.5 kB / 400.3 MB, free: 15.9 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.813e-06/0.3838, allocations: 8 kB / 400.3 MB, free: 15.89 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.91e-06/0.3838, allocations: 0 / 400.3 MB, free: 15.89 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.384, allocations: 314.8 kB / 400.6 MB, free: 15.58 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.791e-05/0.384, allocations: 27.95 kB / 400.6 MB, free: 15.55 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.3842, allocations: 158.5 kB / 400.8 MB, free: 15.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.3843, allocations: 59.91 kB / 400.8 MB, free: 15.28 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.703e-06/0.3843, allocations: 0 / 400.8 MB, free: 15.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003842/0.3847, allocations: 165.2 kB / 401 MB, free: 15.11 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.3848, allocations: 4 kB / 401 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.3848, allocations: 11.94 kB / 401 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.3848, allocations: 4 kB / 401 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.385, allocations: 40.55 kB / 401 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.385, allocations: 8 kB / 401 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.3851, allocations: 23.8 kB / 401.1 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.3852, allocations: 8 kB / 401.1 MB, free: 15.01 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001286/0.3853, allocations: 192.1 kB / 401.3 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.3854, allocations: 108.9 kB / 401.4 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.175e-05/0.3855, allocations: 116.9 kB / 401.5 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.622e-05/0.3856, allocations: 180.3 kB / 401.7 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.875e-05/0.3857, allocations: 188.2 kB / 401.8 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.611e-05/0.3858, allocations: 180.2 kB / 402 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003061/0.3862, allocations: 405.7 kB / 402.4 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.147e-05/0.3862, allocations: 101 kB / 402.5 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.387e-05/0.3863, allocations: 104.9 kB / 402.6 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.694e-05/0.3864, allocations: 186.2 kB / 402.8 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-05/0.3865, allocations: 180.3 kB / 403 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.117e-05/0.3866, allocations: 184.2 kB / 403.1 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-05/0.3867, allocations: 180.2 kB / 403.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001966/0.3869, allocations: 319.5 kB / 403.6 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.387, allocations: 186 kB / 403.8 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.3871, allocations: 188.2 kB / 404 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.3873, allocations: 104.9 kB / 404.1 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.099e-05/0.3874, allocations: 176.3 kB / 404.3 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-05/0.3874, allocations: 105 kB / 404.4 MB, free: 11.49 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001363/0.3876, allocations: 127.2 kB / 404.5 MB, free: 11.37 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.7e-07/0.3876, allocations: 0 / 404.5 MB, free: 11.37 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003966/0.388, allocations: 12 kB / 404.5 MB, free: 11.36 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0004764/0.3885, allocations: 230.9 kB / 404.7 MB, free: 11.14 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001608/0.3887, allocations: 63.84 kB / 404.8 MB, free: 11.08 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.022e-06/0.3887, allocations: 1.25 kB / 404.8 MB, free: 11.08 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.56e-06/0.3887, allocations: 0 / 404.8 MB, free: 11.08 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.3891, allocations: 0.5309 MB / 405.3 MB, free: 10.55 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003743/0.3895, allocations: 225.5 kB / 405.6 MB, free: 10.29 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.3899, allocations: 0.7044 MB / 406.3 MB, free: 9.562 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.926e-05/0.39, allocations: 15.44 kB / 406.3 MB, free: 9.547 MB / 346.7 MB Notification: Performance of SimCode: time 1.421e-06/0.39, allocations: 0 / 406.3 MB, free: 9.547 MB / 346.7 MB Notification: Performance of Templates: time 0.003278/0.3933, allocations: 1.27 MB / 407.5 MB, free: 8.277 MB / 346.7 MB