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.CombiTable1D.Test19.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.CombiTable1D.Test19,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.CombiTable1D.Test19") Notification: Performance of loadModel(ModelicaTest): time 2.108/2.108, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004279/0.0004282, allocations: 15.98 kB / 314.4 MB, free: 9.547 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2721, allocations: 54.85 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1211/0.3933, allocations: 81.23 MB / 450.5 MB, free: 9.367 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.3936, allocations: 79.91 kB / 450.6 MB, free: 9.289 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01307/0.4067, allocations: 3.507 MB / 454.1 MB, free: 5.773 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.269e-06/0.4067, allocations: 0 / 454.1 MB, free: 5.773 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.4068, allocations: 0 / 454.1 MB, free: 5.773 MB / 378.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.000491/0.4073, allocations: 399 kB / 454.5 MB, free: 5.332 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.4073, allocations: 8.031 kB / 454.5 MB, free: 5.324 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.617e-05/0.4074, allocations: 11.86 kB / 454.5 MB, free: 5.312 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.4076, allocations: 182.9 kB / 454.7 MB, free: 5.094 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.4077, allocations: 4 kB / 454.7 MB, free: 5.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.4077, allocations: 8 kB / 454.7 MB, free: 5.082 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.4079, allocations: 59.39 kB / 454.7 MB, free: 5.012 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.4079, allocations: 4 kB / 454.7 MB, free: 5.008 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.4079, allocations: 4 kB / 454.7 MB, free: 5.004 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.664e-06/0.408, allocations: 0 / 454.7 MB, free: 5.004 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.4081, allocations: 35.88 kB / 454.8 MB, free: 4.969 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004556/0.4086, allocations: 284.8 kB / 455.1 MB, free: 4.641 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.4088, allocations: 42.56 kB / 455.1 MB, free: 4.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.4088, allocations: 8 kB / 455.1 MB, free: 4.582 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.4089, allocations: 30.56 kB / 455.1 MB, free: 4.543 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.095e-06/0.4089, allocations: 0 / 455.1 MB, free: 4.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007133/0.4096, allocations: 169.4 kB / 455.3 MB, free: 4.371 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.4097, allocations: 77.11 kB / 455.4 MB, free: 4.277 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.4098, allocations: 113 kB / 455.5 MB, free: 4.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.4099, allocations: 25.7 kB / 455.5 MB, free: 4.129 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.38e-05/0.41, allocations: 158.5 kB / 455.7 MB, free: 3.973 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.41, allocations: 23.73 kB / 455.7 MB, free: 3.949 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.249e-06/0.41, allocations: 0 / 455.7 MB, free: 3.949 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.4102, allocations: 314.8 kB / 456 MB, free: 3.633 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.4103, allocations: 31.92 kB / 456 MB, free: 3.602 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.4105, allocations: 41.69 kB / 456.1 MB, free: 3.555 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.4106, allocations: 61.72 kB / 456.1 MB, free: 3.488 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.846e-06/0.4106, allocations: 0 / 456.1 MB, free: 3.488 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003111/0.411, allocations: 119.6 kB / 456.3 MB, free: 3.359 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.15e-05/0.411, allocations: 33.7 kB / 456.3 MB, free: 3.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.411, allocations: 0 / 456.3 MB, free: 3.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.4111, allocations: 8.141 kB / 456.3 MB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.593e-05/0.4112, allocations: 27.92 kB / 456.3 MB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.4112, allocations: 4 kB / 456.3 MB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.988e-05/0.4113, allocations: 4 kB / 456.3 MB, free: 3.277 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.4113, allocations: 11.97 kB / 456.3 MB, free: 3.266 MB / 378.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.0001149/0.4114, allocations: 117.8 kB / 456.5 MB, free: 3.141 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.469e-05/0.4115, allocations: 7.906 kB / 456.5 MB, free: 3.133 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003279/0.4118, allocations: 101.6 kB / 456.6 MB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.928e-06/0.4118, allocations: 3.953 kB / 456.6 MB, free: 3.016 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.312e-06/0.4118, allocations: 0 / 456.6 MB, free: 3.016 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.916e-06/0.4119, allocations: 0 / 456.6 MB, free: 3.016 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006069/0.4125, allocations: 366.5 kB / 456.9 MB, free: 2.602 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.783e-06/0.4125, allocations: 0 / 456.9 MB, free: 2.602 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.16e-05/0.4126, allocations: 15.98 kB / 456.9 MB, free: 2.586 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.145e-06/0.4126, allocations: 3.953 kB / 456.9 MB, free: 2.582 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.499e-06/0.4126, allocations: 0 / 456.9 MB, free: 2.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.76e-06/0.4126, allocations: 4 kB / 456.9 MB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.471e-06/0.4126, allocations: 0 / 456.9 MB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003241/0.413, allocations: 195.4 kB / 457.1 MB, free: 2.371 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-05/0.4131, allocations: 85.02 kB / 457.2 MB, free: 2.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.4131, allocations: 3.953 kB / 457.2 MB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.4132, allocations: 11.98 kB / 457.2 MB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/0.4133, allocations: 4 kB / 457.2 MB, free: 2.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.756e-06/0.4133, allocations: 0 / 457.2 MB, free: 2.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001011/0.4134, allocations: 99.27 kB / 457.3 MB, free: 2.152 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.19e-07/0.4134, allocations: 0 / 457.3 MB, free: 2.152 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000371/0.4138, allocations: 35.92 kB / 457.4 MB, free: 2.117 MB / 378.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.001291/0.4151, allocations: 397.1 kB / 457.8 MB, free: 1.801 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003374/0.4154, allocations: 115.3 kB / 457.9 MB, free: 1.676 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.402e-06/0.4155, allocations: 4 kB / 457.9 MB, free: 1.672 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.4156, allocations: 31.97 kB / 457.9 MB, free: 1.641 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.4158, allocations: 8 kB / 457.9 MB, free: 1.633 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004789/0.4163, allocations: 194.5 kB / 458.1 MB, free: 1.406 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.4167, allocations: 0.6926 MB / 458.8 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.066e-05/0.4168, allocations: 15.42 kB / 458.8 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of SimCode: time 1.578e-06/0.4168, allocations: 3.938 kB / 458.8 MB, free: 0.668 MB / 378.7 MB Notification: Performance of Templates: time 0.003904/0.4207, allocations: 1.475 MB / 460.3 MB, free: 15.2 MB / 394.7 MB