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.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|.surface.y.1, 1..|.surface.y.5, 4..|.surface.y.9, 7..|.surface.y.13, 10..|.surface.y.17, 13..|.surface.y.21, 16..|.surface.y.25, 19..|.surface.y.29, 22..|.surface.y.33, 25..|.surface.y.37, 28..|.surface.y.41, 31..|.surface.y.45, 34..|.surface.y.49, 37..|.surface.y.53, 40..|.surface.y.57, 43..|.surface.y.61, 46..|.surface.y.65, 49..|.surface.y.69, 52..|.surface.y.73, 55..|.surface.y.77, 58..|.surface.y.81, 61..|.surface.y.85, 64..|.surface.y.89, 67..|.surface.y.93, 70..|.surface.y.101, 81..",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test16") Notification: Performance of loadModel(ModelicaTest): time 2.072/2.072, allocations: 209.4 MB / 217.3 MB, free: 4.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.908e-05/1.912e-05, allocations: 4 kB / 271.3 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.262, allocations: 48.69 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1116/0.3737, allocations: 74.06 MB / 394.1 MB, free: 6.398 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.374, allocations: 67.97 kB / 394.1 MB, free: 6.332 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008488/0.3825, allocations: 2.487 MB / 396.6 MB, free: 3.824 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.487e-06/0.3826, allocations: 0 / 396.6 MB, free: 3.824 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.566e-06/0.3826, allocations: 0 / 396.6 MB, free: 3.824 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.0003657/0.383, allocations: 358.4 kB / 397 MB, free: 3.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.383, allocations: 8.031 kB / 397 MB, free: 3.422 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.76e-05/0.3831, allocations: 7.906 kB / 397 MB, free: 3.414 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.3833, allocations: 175.3 kB / 397.2 MB, free: 3.203 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.3833, allocations: 4 kB / 397.2 MB, free: 3.199 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.3833, allocations: 4 kB / 397.2 MB, free: 3.195 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001044/0.3834, allocations: 31.98 kB / 397.2 MB, free: 3.164 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.3837, allocations: 178.4 kB / 397.4 MB, free: 2.938 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.3837, allocations: 7.938 kB / 397.4 MB, free: 2.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.3837, allocations: 0 / 397.4 MB, free: 2.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.884e-05/0.3838, allocations: 8 kB / 397.4 MB, free: 2.922 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.385, allocations: 1.67 MB / 399.1 MB, free: 1.156 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.3852, allocations: 177.1 kB / 399.2 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.643e-05/0.3852, allocations: 84.14 kB / 399.3 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.046e-05/0.3853, allocations: 75.28 kB / 399.4 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.81e-05/0.3854, allocations: 105.8 kB / 399.5 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 4.372e-06/0.3854, allocations: 0 / 399.5 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 8.954e-05/0.3855, allocations: 37.55 kB / 399.5 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.3855, allocations: 59.39 kB / 399.6 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.3857, allocations: 170.3 kB / 399.8 MB, free: 424 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.3858, allocations: 25.7 kB / 399.8 MB, free: 392 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.3859, allocations: 217.6 kB / 400 MB, free: 172 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.126e-06/0.3859, allocations: 4 kB / 400 MB, free: 168 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.566e-06/0.386, allocations: 0 / 400 MB, free: 168 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.3861, allocations: 322.8 kB / 400.3 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.11e-05/0.3862, allocations: 35.89 kB / 400.3 MB, free: 15.8 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.3864, allocations: 150.5 kB / 400.5 MB, free: 15.6 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.3865, allocations: 63.91 kB / 400.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.771e-06/0.3865, allocations: 0 / 400.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003562/0.3869, allocations: 165.2 kB / 400.7 MB, free: 15.37 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.3869, allocations: 8 kB / 400.7 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.3869, allocations: 4 kB / 400.7 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.387, allocations: 4 kB / 400.7 MB, free: 15.35 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.3871, allocations: 40.55 kB / 400.8 MB, free: 15.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.3872, allocations: 7.938 kB / 400.8 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.3873, allocations: 23.8 kB / 400.8 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.3873, allocations: 12 kB / 400.8 MB, free: 15.27 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.0001288/0.3875, allocations: 192.1 kB / 401 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.224e-05/0.3876, allocations: 108.9 kB / 401.1 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.956e-05/0.3877, allocations: 116.9 kB / 401.2 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.099e-05/0.3878, allocations: 184.3 kB / 401.4 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-05/0.3879, allocations: 184.2 kB / 401.6 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.731e-05/0.388, allocations: 180.2 kB / 401.8 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003036/0.3883, allocations: 405.7 kB / 402.2 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.058e-05/0.3883, allocations: 101 kB / 402.3 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.446e-05/0.3884, allocations: 104.9 kB / 402.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.309e-05/0.3885, allocations: 186.2 kB / 402.5 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.583e-05/0.3886, allocations: 176.3 kB / 402.7 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.903e-05/0.3887, allocations: 184.2 kB / 402.9 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.65e-05/0.3888, allocations: 180.2 kB / 403.1 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.389, allocations: 323.5 kB / 403.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.3892, allocations: 186 kB / 403.6 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.3893, allocations: 180.2 kB / 403.7 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.3894, allocations: 112.8 kB / 403.8 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.04e-05/0.3895, allocations: 180.3 kB / 404 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.376e-05/0.3896, allocations: 109 kB / 404.1 MB, free: 11.74 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001354/0.3897, allocations: 119.2 kB / 404.2 MB, free: 11.62 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.36e-07/0.3897, allocations: 4 kB / 404.3 MB, free: 11.62 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004001/0.3902, allocations: 12 kB / 404.3 MB, free: 11.61 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.0004929/0.3907, allocations: 227.3 kB / 404.5 MB, free: 11.4 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001638/0.3908, allocations: 71.78 kB / 404.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.766e-06/0.3909, allocations: 1.25 kB / 404.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.279e-06/0.3909, allocations: 0 / 404.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.3913, allocations: 0.5309 MB / 405.1 MB, free: 10.8 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003593/0.3917, allocations: 225.5 kB / 405.3 MB, free: 10.54 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.3921, allocations: 0.7044 MB / 406 MB, free: 9.812 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.569e-05/0.3921, allocations: 15.44 kB / 406 MB, free: 9.797 MB / 346.7 MB Notification: Performance of SimCode: time 1.465e-06/0.3921, allocations: 0 / 406 MB, free: 9.797 MB / 346.7 MB Notification: Performance of Templates: time 0.003378/0.3955, allocations: 1.262 MB / 407.3 MB, free: 8.535 MB / 346.7 MB