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.CombiTable2D.Test27.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.CombiTable2D.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test27") Notification: Performance of loadModel(ModelicaTest): time 2.112/2.112, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004529/0.000453, allocations: 16 kB / 314.4 MB, free: 9.535 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2778, allocations: 54.86 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1237/0.4015, allocations: 80.96 MB / 450.2 MB, free: 9.629 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.4018, allocations: 75.89 kB / 450.3 MB, free: 9.555 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01149/0.4133, allocations: 2.952 MB / 453.3 MB, free: 6.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4133, allocations: 0 / 453.3 MB, free: 6.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.571e-05/0.4134, allocations: 4 kB / 453.3 MB, free: 6.586 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005427/0.4139, allocations: 428.6 kB / 453.7 MB, free: 6.113 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.414, allocations: 8.031 kB / 453.7 MB, free: 6.105 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.946e-05/0.414, allocations: 11.86 kB / 453.7 MB, free: 6.094 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.4143, allocations: 190.9 kB / 453.9 MB, free: 5.867 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.4143, allocations: 4 kB / 453.9 MB, free: 5.863 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.4144, allocations: 3.984 kB / 453.9 MB, free: 5.859 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.4146, allocations: 61.69 kB / 454 MB, free: 5.793 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.4146, allocations: 0 / 454 MB, free: 5.793 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.4146, allocations: 0 / 454 MB, free: 5.793 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.261e-06/0.4146, allocations: 3.953 kB / 454 MB, free: 5.789 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.4148, allocations: 47.95 kB / 454 MB, free: 5.742 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/0.4153, allocations: 292.8 kB / 454.3 MB, free: 5.406 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.4154, allocations: 42.56 kB / 454.3 MB, free: 5.355 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.4e-05/0.4155, allocations: 4.078 kB / 454.3 MB, free: 5.352 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.4155, allocations: 42.45 kB / 454.4 MB, free: 5.301 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 2.581e-06/0.4155, allocations: 4 kB / 454.4 MB, free: 5.297 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009904/0.4165, allocations: 239 kB / 454.6 MB, free: 5.059 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.4166, allocations: 55.41 kB / 454.7 MB, free: 4.992 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.4168, allocations: 154.3 kB / 454.8 MB, free: 4.832 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.4169, allocations: 25.7 kB / 454.9 MB, free: 4.801 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.982e-05/0.417, allocations: 162.6 kB / 455 MB, free: 4.641 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.417, allocations: 23.64 kB / 455 MB, free: 4.617 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.284e-06/0.417, allocations: 4 kB / 455 MB, free: 4.613 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.4172, allocations: 310.8 kB / 455.3 MB, free: 4.301 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.4174, allocations: 47.97 kB / 455.4 MB, free: 4.254 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.4175, allocations: 39.91 kB / 455.4 MB, free: 4.215 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.4177, allocations: 73.67 kB / 455.5 MB, free: 4.137 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.037e-06/0.4178, allocations: 3.953 kB / 455.5 MB, free: 4.133 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004337/0.4182, allocations: 167.2 kB / 455.7 MB, free: 3.957 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.196e-05/0.4183, allocations: 29.7 kB / 455.7 MB, free: 3.922 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.137e-06/0.4183, allocations: 288 / 455.7 MB, free: 3.922 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.4183, allocations: 0 / 455.7 MB, free: 3.922 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.4185, allocations: 23.98 kB / 455.7 MB, free: 3.898 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.28e-06/0.4185, allocations: 320 / 455.7 MB, free: 3.898 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.227e-05/0.4186, allocations: 19.92 kB / 455.7 MB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.4186, allocations: 4 kB / 455.7 MB, free: 3.875 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 (8): * Single equations (assignments): 7 * 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.0001309/0.4187, allocations: 121.8 kB / 455.9 MB, free: 3.746 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.604e-05/0.4188, allocations: 19.83 kB / 455.9 MB, free: 3.727 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004467/0.4193, allocations: 150.3 kB / 456 MB, free: 3.574 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.755e-06/0.4193, allocations: 0 / 456 MB, free: 3.574 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.139e-06/0.4193, allocations: 0 / 456 MB, free: 3.574 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.4193, allocations: 0 / 456 MB, free: 3.574 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000759/0.4201, allocations: 414.4 kB / 456.4 MB, free: 3.113 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.124e-06/0.4201, allocations: 0 / 456.4 MB, free: 3.113 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.4202, allocations: 19.98 kB / 456.5 MB, free: 3.094 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.231e-06/0.4203, allocations: 0 / 456.5 MB, free: 3.094 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.4203, allocations: 12 kB / 456.5 MB, free: 3.082 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.943e-06/0.4203, allocations: 3.938 kB / 456.5 MB, free: 3.078 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.4203, allocations: 0 / 456.5 MB, free: 3.078 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004429/0.4208, allocations: 231.3 kB / 456.7 MB, free: 2.836 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.38e-05/0.4209, allocations: 89.02 kB / 456.8 MB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.4209, allocations: 4 kB / 456.8 MB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.421, allocations: 15.98 kB / 456.8 MB, free: 2.711 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.4211, allocations: 7.984 kB / 456.8 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.853e-06/0.4211, allocations: 4 kB / 456.8 MB, free: 2.699 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000147/0.4213, allocations: 125.3 kB / 456.9 MB, free: 2.578 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.93e-07/0.4213, allocations: 0 / 456.9 MB, free: 2.578 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003558/0.4217, allocations: 27.94 kB / 457 MB, free: 2.551 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 (7): * Single equations (assignments): 7 * 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.00101/0.4227, allocations: 307 kB / 457.3 MB, free: 2.312 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005014/0.4232, allocations: 159.3 kB / 457.4 MB, free: 2.145 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.679e-06/0.4232, allocations: 0 / 457.4 MB, free: 2.145 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001766/0.4234, allocations: 47.97 kB / 457.5 MB, free: 2.098 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.4237, allocations: 11.95 kB / 457.5 MB, free: 2.086 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006007/0.4243, allocations: 254.8 kB / 457.7 MB, free: 1.805 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.4247, allocations: 0.6965 MB / 458.4 MB, free: 1.082 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.409e-05/0.4248, allocations: 19.42 kB / 458.4 MB, free: 1.062 MB / 378.7 MB Notification: Performance of SimCode: time 1.676e-06/0.4248, allocations: 4 kB / 458.4 MB, free: 1.059 MB / 378.7 MB Notification: Performance of Templates: time 0.003777/0.4286, allocations: 1.368 MB / 459.8 MB, free: 15.7 MB / 394.7 MB