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.Test24.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.Test24,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.Test24") Notification: Performance of loadModel(ModelicaTest): time 2.202/2.202, allocations: 234.9 MB / 250.5 MB, free: 9.461 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004381/0.0004382, allocations: 16 kB / 314.4 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2777, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1253/0.4031, allocations: 81.22 MB / 450.5 MB, free: 9.371 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.4034, allocations: 75.97 kB / 450.6 MB, free: 9.297 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01364/0.4171, allocations: 3.507 MB / 454.1 MB, free: 5.781 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4171, allocations: 0 / 454.1 MB, free: 5.781 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.4171, allocations: 7.938 kB / 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.000517/0.4177, allocations: 402.9 kB / 454.5 MB, free: 5.328 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.4177, allocations: 8.031 kB / 454.5 MB, free: 5.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.056e-05/0.4178, allocations: 11.86 kB / 454.5 MB, free: 5.309 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.418, allocations: 179 kB / 454.7 MB, free: 5.094 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.4181, allocations: 4 kB / 454.7 MB, free: 5.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.4181, allocations: 0 / 454.7 MB, free: 5.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.4183, allocations: 67.39 kB / 454.7 MB, free: 5.012 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.4183, allocations: 3.984 kB / 454.7 MB, free: 5.008 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.4184, allocations: 4 kB / 454.7 MB, free: 5.004 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.402e-06/0.4184, allocations: 4 kB / 454.8 MB, free: 5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.4185, allocations: 31.88 kB / 454.8 MB, free: 4.969 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004685/0.419, allocations: 288.8 kB / 455.1 MB, free: 4.637 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.4193, allocations: 42.56 kB / 455.1 MB, free: 4.586 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.4193, allocations: 0 / 455.1 MB, free: 4.586 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.4193, allocations: 38.5 kB / 455.1 MB, free: 4.539 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.018e-06/0.4194, allocations: 0 / 455.1 MB, free: 4.539 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007348/0.4201, allocations: 165.5 kB / 455.3 MB, free: 4.371 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/0.4202, allocations: 89.05 kB / 455.4 MB, free: 4.266 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.4203, allocations: 109 kB / 455.5 MB, free: 4.152 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.4204, allocations: 29.7 kB / 455.5 MB, free: 4.117 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.551e-05/0.4205, allocations: 154.6 kB / 455.7 MB, free: 3.965 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.4205, allocations: 19.73 kB / 455.7 MB, free: 3.945 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.421e-06/0.4205, allocations: 4 kB / 455.7 MB, free: 3.941 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.4207, allocations: 310.8 kB / 456 MB, free: 3.629 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.4209, allocations: 31.98 kB / 456 MB, free: 3.598 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.4211, allocations: 45.75 kB / 456.1 MB, free: 3.547 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.4212, allocations: 57.69 kB / 456.1 MB, free: 3.484 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.771e-06/0.4212, allocations: 0 / 456.1 MB, free: 3.484 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003243/0.4216, allocations: 127.4 kB / 456.3 MB, free: 3.348 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.512e-05/0.4216, allocations: 29.7 kB / 456.3 MB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.84e-06/0.4216, allocations: 3.938 kB / 456.3 MB, free: 3.309 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.4217, allocations: 7.891 kB / 456.3 MB, free: 3.301 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.461e-05/0.4218, allocations: 15.98 kB / 456.3 MB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.824e-06/0.4218, allocations: 0 / 456.3 MB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.686e-05/0.4219, allocations: 12 kB / 456.3 MB, free: 3.273 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.4219, allocations: 0 / 456.3 MB, free: 3.273 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.0001185/0.422, allocations: 113.8 kB / 456.4 MB, free: 3.152 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.641e-05/0.4221, allocations: 15.83 kB / 456.5 MB, free: 3.137 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000355/0.4224, allocations: 109.6 kB / 456.6 MB, free: 3.016 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.409e-06/0.4225, allocations: 7.891 kB / 456.6 MB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.357e-06/0.4225, allocations: 0 / 456.6 MB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.883e-06/0.4225, allocations: 0 / 456.6 MB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006257/0.4231, allocations: 354.6 kB / 456.9 MB, free: 2.605 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.923e-06/0.4231, allocations: 4 kB / 456.9 MB, free: 2.602 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.455e-05/0.4232, allocations: 15.98 kB / 456.9 MB, free: 2.586 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.918e-06/0.4233, allocations: 3.953 kB / 456.9 MB, free: 2.582 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.4e-06/0.4233, allocations: 0 / 456.9 MB, free: 2.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.258e-06/0.4233, allocations: 0 / 456.9 MB, free: 2.582 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.476e-06/0.4233, allocations: 320 / 456.9 MB, free: 2.582 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003513/0.4237, allocations: 203.4 kB / 457.1 MB, free: 2.367 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.642e-05/0.4237, allocations: 81.02 kB / 457.2 MB, free: 2.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.4238, allocations: 7.953 kB / 457.2 MB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.4239, allocations: 4 kB / 457.2 MB, free: 2.258 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/0.4239, allocations: 3.984 kB / 457.2 MB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.881e-06/0.424, allocations: 4 kB / 457.2 MB, free: 2.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001083/0.4241, allocations: 99.27 kB / 457.3 MB, free: 2.152 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.58e-07/0.4241, allocations: 4 kB / 457.3 MB, free: 2.148 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000379/0.4245, allocations: 31.94 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.001321/0.4258, allocations: 393.1 kB / 457.8 MB, free: 1.805 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003545/0.4262, allocations: 123.3 kB / 457.9 MB, free: 1.672 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.769e-06/0.4262, allocations: 0 / 457.9 MB, free: 1.672 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.4264, allocations: 31.98 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.0002332/0.4266, allocations: 11.98 kB / 457.9 MB, free: 1.629 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004795/0.4271, allocations: 190.5 kB / 458.1 MB, free: 1.406 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/0.4275, allocations: 0.6887 MB / 458.8 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.085e-05/0.4276, allocations: 19.42 kB / 458.8 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of SimCode: time 3.329e-06/0.4276, allocations: 4 kB / 458.8 MB, free: 0.668 MB / 378.7 MB Notification: Performance of Templates: time 0.003964/0.4316, allocations: 1.476 MB / 460.3 MB, free: 15.2 MB / 394.7 MB