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.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.CombiTable2D.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test19") Notification: Performance of loadModel(ModelicaTest): time 2.278/2.278, allocations: 234.9 MB / 250.5 MB, free: 9.469 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004401/0.0004402, allocations: 12 kB / 314.3 MB, free: 9.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2841, allocations: 54.88 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test19): time 0.002446/0.2866, allocations: 1.407 MB / 370.6 MB, free: 9.285 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.2882, allocations: 0.725 MB / 371.3 MB, free: 8.555 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.2884, allocations: 3.938 kB / 371.3 MB, free: 8.551 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005004/0.2889, allocations: 223.5 kB / 371.5 MB, free: 8.332 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003397/0.2892, allocations: 143.7 kB / 371.7 MB, free: 8.191 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004415/0.2897, allocations: 123.6 kB / 371.8 MB, free: 8.07 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002915/0.29, allocations: 151.7 kB / 372 MB, free: 7.922 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.2902, allocations: 29.64 kB / 372 MB, free: 7.895 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001862/0.2904, allocations: 103.6 kB / 372.1 MB, free: 7.793 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.2906, allocations: 123.6 kB / 372.2 MB, free: 7.672 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.2907, allocations: 8 kB / 372.2 MB, free: 7.664 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.2908, allocations: 27.98 kB / 372.2 MB, free: 7.637 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.2e-05/0.2909, allocations: 51.83 kB / 372.3 MB, free: 7.586 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.429e-05/0.291, allocations: 57.52 kB / 372.3 MB, free: 7.523 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002884/0.2913, allocations: 159.7 kB / 372.5 MB, free: 7.367 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.901e-06/0.2913, allocations: 0 / 372.5 MB, free: 7.367 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.76e-06/0.2913, allocations: 0 / 372.5 MB, free: 7.367 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.478e-06/0.2914, allocations: 0 / 372.5 MB, free: 7.367 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008371/0.2922, allocations: 0.6553 MB / 373.2 MB, free: 6.633 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.2923, allocations: 12.03 kB / 373.2 MB, free: 6.621 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.536e-05/0.2923, allocations: 31.58 kB / 373.2 MB, free: 6.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003778/0.2927, allocations: 243.1 kB / 373.4 MB, free: 6.309 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.2928, allocations: 4 kB / 373.4 MB, free: 6.305 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.2928, allocations: 12 kB / 373.5 MB, free: 6.293 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002526/0.2931, allocations: 85.45 kB / 373.5 MB, free: 6.207 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.2931, allocations: 0 / 373.5 MB, free: 6.207 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.2931, allocations: 3.938 kB / 373.5 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.324e-06/0.2931, allocations: 4 kB / 373.5 MB, free: 6.199 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001999/0.2933, allocations: 59.92 kB / 373.6 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007151/0.2941, allocations: 408.5 kB / 374 MB, free: 5.691 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.2943, allocations: 66.52 kB / 374.1 MB, free: 5.617 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.591e-05/0.2943, allocations: 0 / 374.1 MB, free: 5.617 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.2944, allocations: 42.62 kB / 374.1 MB, free: 5.566 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.051e-06/0.2944, allocations: 0 / 374.1 MB, free: 5.566 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004426/0.2948, allocations: 133.2 kB / 374.2 MB, free: 5.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.2949, allocations: 59.41 kB / 374.3 MB, free: 5.359 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006704/0.2956, allocations: 477.7 kB / 374.8 MB, free: 4.883 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.2956, allocations: 29.7 kB / 374.8 MB, free: 4.848 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.2958, allocations: 214.4 kB / 375 MB, free: 4.637 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.2959, allocations: 15.75 kB / 375 MB, free: 4.621 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.701e-06/0.2959, allocations: 4 kB / 375 MB, free: 4.617 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.2961, allocations: 310.8 kB / 375.3 MB, free: 4.305 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.2962, allocations: 31.98 kB / 375.4 MB, free: 4.273 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.2963, allocations: 39.91 kB / 375.4 MB, free: 4.234 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002273/0.2965, allocations: 160.5 kB / 375.6 MB, free: 4.047 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.188e-06/0.2966, allocations: 0 / 375.6 MB, free: 4.047 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004073/0.297, allocations: 246 kB / 375.8 MB, free: 3.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001174/0.2971, allocations: 144.5 kB / 375.9 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.139e-06/0.2971, allocations: 7.938 kB / 375.9 MB, free: 3.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.2972, allocations: 0 / 375.9 MB, free: 3.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.2973, allocations: 12 kB / 376 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.145e-06/0.2973, allocations: 0 / 376 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.583e-05/0.2974, allocations: 19.83 kB / 376 MB, free: 3.559 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.2974, allocations: 4 kB / 376 MB, free: 3.555 MB / 298.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 (11): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 5 * 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.0001983/0.2976, allocations: 153.8 kB / 376.1 MB, free: 3.395 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.607e-05/0.2977, allocations: 35.56 kB / 376.2 MB, free: 3.359 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003662/0.2981, allocations: 128.7 kB / 376.3 MB, free: 3.227 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2981, allocations: 0 / 376.3 MB, free: 3.227 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.389e-06/0.2981, allocations: 8.047 kB / 376.3 MB, free: 3.219 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.922e-06/0.2982, allocations: 0 / 376.3 MB, free: 3.219 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003784/0.2986, allocations: 261.5 kB / 376.5 MB, free: 2.914 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.999e-06/0.2986, allocations: 0 / 376.5 MB, free: 2.914 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.647e-05/0.2987, allocations: 15.98 kB / 376.6 MB, free: 2.898 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.388e-06/0.2987, allocations: 8 kB / 376.6 MB, free: 2.891 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.2987, allocations: 3.953 kB / 376.6 MB, free: 2.887 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.868e-06/0.2987, allocations: 0 / 376.6 MB, free: 2.887 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.516e-06/0.2987, allocations: 0 / 376.6 MB, free: 2.887 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003358/0.2991, allocations: 211.1 kB / 376.8 MB, free: 2.664 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.2992, allocations: 104.7 kB / 376.9 MB, free: 2.543 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/0.2992, allocations: 3.984 kB / 376.9 MB, free: 2.539 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.2994, allocations: 11.95 kB / 376.9 MB, free: 2.527 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.2994, allocations: 0 / 376.9 MB, free: 2.527 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.2994, allocations: 7.938 kB / 376.9 MB, free: 2.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004783/0.2999, allocations: 355.1 kB / 377.3 MB, free: 2.18 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.16e-07/0.2999, allocations: 0 / 377.3 MB, free: 2.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004041/0.3004, allocations: 39.94 kB / 377.3 MB, free: 2.141 MB / 298.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 (6): * Single equations (assignments): 6 * 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.001892/0.3023, allocations: 0.5155 MB / 377.8 MB, free: 1.711 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005286/0.3028, allocations: 337 kB / 378.1 MB, free: 1.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.768e-06/0.3029, allocations: 7.875 kB / 378.1 MB, free: 1.312 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.303, allocations: 31.98 kB / 378.2 MB, free: 1.281 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.3034, allocations: 29.41 kB / 378.2 MB, free: 1.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.3045, allocations: 0.5604 MB / 378.8 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005395/0.3051, allocations: 0.7667 MB / 379.5 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.853e-05/0.3052, allocations: 23.44 kB / 379.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of SimCode: time 1.727e-06/0.3052, allocations: 0 / 379.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of Templates: time 0.006655/0.3119, allocations: 2.867 MB / 382.4 MB, free: 12.97 MB / 314.7 MB