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.Test3.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.Test3,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.Test3") Notification: Performance of loadModel(ModelicaTest): time 2.086/2.086, allocations: 234.9 MB / 250.5 MB, free: 9.457 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004309/0.000431, allocations: 12 kB / 314.4 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2791, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1306/0.4098, allocations: 80.98 MB / 450.2 MB, free: 9.605 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.41, allocations: 67.97 kB / 450.3 MB, free: 9.539 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01175/0.4218, allocations: 3.048 MB / 453.4 MB, free: 6.477 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.055e-06/0.4218, allocations: 0 / 453.4 MB, free: 6.477 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.4219, allocations: 0 / 453.4 MB, free: 6.477 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.0005163/0.4224, allocations: 432.6 kB / 453.8 MB, free: 6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.4225, allocations: 8.031 kB / 453.8 MB, free: 5.992 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.586e-05/0.4225, allocations: 11.86 kB / 453.8 MB, free: 5.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002502/0.4228, allocations: 187 kB / 454 MB, free: 5.758 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.4228, allocations: 7.938 kB / 454 MB, free: 5.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.4228, allocations: 0 / 454 MB, free: 5.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.423, allocations: 49.69 kB / 454 MB, free: 5.695 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.4231, allocations: 0 / 454 MB, free: 5.695 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.4231, allocations: 3.953 kB / 454 MB, free: 5.691 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.583e-06/0.4231, allocations: 8 kB / 454.1 MB, free: 5.684 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.4232, allocations: 23.98 kB / 454.1 MB, free: 5.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.4237, allocations: 280.8 kB / 454.4 MB, free: 5.336 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.4239, allocations: 42.56 kB / 454.4 MB, free: 5.285 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.4239, allocations: 8.078 kB / 454.4 MB, free: 5.277 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.424, allocations: 40.33 kB / 454.4 MB, free: 5.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.139e-06/0.424, allocations: 0 / 454.4 MB, free: 5.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006938/0.4247, allocations: 161.2 kB / 454.6 MB, free: 5.066 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.4248, allocations: 51.41 kB / 454.6 MB, free: 5.004 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.425, allocations: 167.6 kB / 454.8 MB, free: 4.832 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.425, allocations: 25.7 kB / 454.8 MB, free: 4.801 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.277e-05/0.4251, allocations: 158.6 kB / 455 MB, free: 4.645 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.4252, allocations: 27.69 kB / 455 MB, free: 4.617 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.192e-06/0.4252, allocations: 0 / 455 MB, free: 4.617 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.4253, allocations: 314.8 kB / 455.3 MB, free: 4.301 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.4255, allocations: 23.98 kB / 455.3 MB, free: 4.277 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.291e-05/0.4256, allocations: 23.98 kB / 455.4 MB, free: 4.254 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.4257, allocations: 57.69 kB / 455.4 MB, free: 4.191 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.795e-06/0.4257, allocations: 0 / 455.4 MB, free: 4.191 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002925/0.426, allocations: 115.3 kB / 455.5 MB, free: 4.066 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.565e-05/0.4261, allocations: 37.66 kB / 455.6 MB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.074e-06/0.4261, allocations: 3.938 kB / 455.6 MB, free: 4.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.4261, allocations: 4 kB / 455.6 MB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.218e-05/0.4262, allocations: 15.98 kB / 455.6 MB, free: 4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.595e-06/0.4262, allocations: 0 / 455.6 MB, free: 4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.555e-05/0.4263, allocations: 7.984 kB / 455.6 MB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.4263, allocations: 7.938 kB / 455.6 MB, free: 3.984 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.0001194/0.4265, allocations: 117.8 kB / 455.7 MB, free: 3.859 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.01e-05/0.4265, allocations: 7.906 kB / 455.7 MB, free: 3.852 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003194/0.4269, allocations: 114.1 kB / 455.9 MB, free: 3.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.502e-06/0.4269, allocations: 3.984 kB / 455.9 MB, free: 3.727 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.262e-06/0.4269, allocations: 0 / 455.9 MB, free: 3.727 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.329e-06/0.4269, allocations: 4.281 kB / 455.9 MB, free: 3.723 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006227/0.4276, allocations: 370.5 kB / 456.2 MB, free: 3.305 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.341e-06/0.4276, allocations: 3.953 kB / 456.2 MB, free: 3.301 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.148e-05/0.4277, allocations: 12 kB / 456.2 MB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.4277, allocations: 3.984 kB / 456.2 MB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.701e-06/0.4277, allocations: 0 / 456.2 MB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.206e-06/0.4277, allocations: 0 / 456.2 MB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.03e-06/0.4277, allocations: 4 kB / 456.2 MB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.4281, allocations: 191.4 kB / 456.4 MB, free: 3.078 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.976e-05/0.4282, allocations: 92.97 kB / 456.5 MB, free: 2.969 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.4282, allocations: 0 / 456.5 MB, free: 2.969 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.4283, allocations: 11.98 kB / 456.5 MB, free: 2.957 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.4284, allocations: 4 kB / 456.5 MB, free: 2.953 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.4284, allocations: 0 / 456.5 MB, free: 2.953 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000163/0.4286, allocations: 146.6 kB / 456.7 MB, free: 2.812 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.55e-07/0.4286, allocations: 0 / 456.7 MB, free: 2.812 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003434/0.4289, allocations: 12 kB / 456.7 MB, free: 2.801 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.000969/0.4299, allocations: 302.4 kB / 457 MB, free: 2.566 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003079/0.4302, allocations: 111.4 kB / 457.1 MB, free: 2.445 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.105e-06/0.4303, allocations: 0 / 457.1 MB, free: 2.445 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.4304, allocations: 31.92 kB / 457.1 MB, free: 2.414 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.4306, allocations: 15.89 kB / 457.1 MB, free: 2.398 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005571/0.4312, allocations: 242.8 kB / 457.4 MB, free: 2.129 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.4316, allocations: 0.7004 MB / 458.1 MB, free: 1.402 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.192e-05/0.4317, allocations: 15.42 kB / 458.1 MB, free: 1.387 MB / 378.7 MB Notification: Performance of SimCode: time 1.398e-06/0.4317, allocations: 0 / 458.1 MB, free: 1.387 MB / 378.7 MB Notification: Performance of Templates: time 0.003526/0.4352, allocations: 1.3 MB / 459.4 MB, free: 92 kB / 378.7 MB