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.Test30.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.Test30,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.Test30") Notification: Performance of loadModel(ModelicaTest): time 2.094/2.094, allocations: 234.9 MB / 250.5 MB, free: 9.66 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004451/0.0004451, allocations: 16 kB / 314.4 MB, free: 9.664 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2884, allocations: 54.86 MB / 369.3 MB, free: 12.78 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1226/0.4111, allocations: 80.97 MB / 450.2 MB, free: 11.7 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/0.4114, allocations: 71.91 kB / 450.3 MB, free: 11.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01169/0.4231, allocations: 3.038 MB / 453.3 MB, free: 8.578 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.743e-06/0.4231, allocations: 0 / 453.3 MB, free: 8.578 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.4231, allocations: 0 / 453.3 MB, free: 8.578 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.0005899/0.4237, allocations: 428.6 kB / 453.8 MB, free: 8.105 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.4238, allocations: 12.03 kB / 453.8 MB, free: 8.094 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.806e-05/0.4239, allocations: 15.8 kB / 453.8 MB, free: 8.078 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.4241, allocations: 199.4 kB / 454 MB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.4242, allocations: 0 / 454 MB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.4242, allocations: 8 kB / 454 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.4244, allocations: 61.67 kB / 454.1 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.4244, allocations: 0 / 454.1 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.4245, allocations: 4 kB / 454.1 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.505e-06/0.4245, allocations: 3.953 kB / 454.1 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/0.4247, allocations: 47.91 kB / 454.1 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004575/0.4251, allocations: 288.8 kB / 454.4 MB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.4253, allocations: 50.56 kB / 454.4 MB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.4254, allocations: 7.984 kB / 454.5 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.4254, allocations: 38.45 kB / 454.5 MB, free: 7.266 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 2.029e-06/0.4254, allocations: 0 / 454.5 MB, free: 7.266 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009809/0.4264, allocations: 251.1 kB / 454.7 MB, free: 7.016 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/0.4265, allocations: 55.34 kB / 454.8 MB, free: 6.949 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.4267, allocations: 180.7 kB / 455 MB, free: 6.766 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.4268, allocations: 25.7 kB / 455 MB, free: 6.734 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.4269, allocations: 166.5 kB / 455.2 MB, free: 6.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.4269, allocations: 15.72 kB / 455.2 MB, free: 6.555 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.597e-06/0.427, allocations: 8 kB / 455.2 MB, free: 6.547 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.4271, allocations: 318.8 kB / 455.5 MB, free: 6.227 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.4273, allocations: 39.97 kB / 455.5 MB, free: 6.188 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.4275, allocations: 43.97 kB / 455.6 MB, free: 6.145 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.4277, allocations: 69.91 kB / 455.6 MB, free: 6.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.882e-06/0.4277, allocations: 0 / 455.6 MB, free: 6.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000443/0.4281, allocations: 163.2 kB / 455.8 MB, free: 5.898 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.289e-05/0.4282, allocations: 29.7 kB / 455.8 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.939e-06/0.4282, allocations: 0 / 455.8 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.4282, allocations: 0 / 455.8 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.4284, allocations: 35.91 kB / 455.9 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.462e-06/0.4284, allocations: 0 / 455.9 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.144e-05/0.4285, allocations: 12 kB / 455.9 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.4285, allocations: 7.984 kB / 455.9 MB, free: 5.809 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.0001341/0.4287, allocations: 127.3 kB / 456 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.101e-05/0.4287, allocations: 11.86 kB / 456 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000449/0.4292, allocations: 142.3 kB / 456.2 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.4292, allocations: 4 kB / 456.2 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.867e-06/0.4292, allocations: 4 kB / 456.2 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.471e-06/0.4293, allocations: 7.922 kB / 456.2 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007745/0.43, allocations: 414.5 kB / 456.6 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.345e-06/0.4301, allocations: 4 kB / 456.6 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.4302, allocations: 27.92 kB / 456.6 MB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.521e-06/0.4302, allocations: 0 / 456.6 MB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.4302, allocations: 4 kB / 456.6 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-06/0.4303, allocations: 7.922 kB / 456.6 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.127e-06/0.4303, allocations: 0 / 456.6 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000453/0.4307, allocations: 227.2 kB / 456.8 MB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.268e-05/0.4308, allocations: 96.97 kB / 456.9 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.4309, allocations: 0 / 456.9 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.431, allocations: 19.98 kB / 457 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.4311, allocations: 3.984 kB / 457 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.4311, allocations: 4 kB / 457 MB, free: 4.625 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001718/0.4313, allocations: 143.2 kB / 457.1 MB, free: 4.484 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.58e-07/0.4313, allocations: 0 / 457.1 MB, free: 4.484 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003528/0.4317, allocations: 20 kB / 457.1 MB, free: 4.465 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.0009724/0.4326, allocations: 305 kB / 457.4 MB, free: 4.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004401/0.4331, allocations: 151.3 kB / 457.6 MB, free: 4.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.275e-06/0.4331, allocations: 4 kB / 457.6 MB, free: 4.066 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001718/0.4333, allocations: 52.12 kB / 457.6 MB, free: 4.016 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.4336, allocations: 8 kB / 457.6 MB, free: 4.008 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006164/0.4342, allocations: 286.9 kB / 457.9 MB, free: 3.691 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.4346, allocations: 0.7004 MB / 458.6 MB, free: 2.965 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.363e-05/0.4347, allocations: 15.42 kB / 458.6 MB, free: 2.949 MB / 378.7 MB Notification: Performance of SimCode: time 1.671e-06/0.4347, allocations: 0 / 458.6 MB, free: 2.949 MB / 378.7 MB Notification: Performance of Templates: time 0.003884/0.4386, allocations: 1.44 MB / 460.1 MB, free: 1.516 MB / 378.7 MB