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.Test6.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.Test6,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.Test6") Notification: Performance of loadModel(ModelicaTest): time 2.417/2.417, allocations: 234.9 MB / 250.5 MB, free: 10.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000448/0.0004483, allocations: 11.98 kB / 314.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2809, allocations: 54.88 MB / 369.2 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test6): time 0.002168/0.2831, allocations: 1.238 MB / 370.4 MB, free: 9.449 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006533/0.2838, allocations: 269.2 kB / 370.7 MB, free: 9.184 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.859e-05/0.2839, allocations: 0 / 370.7 MB, free: 9.184 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006184/0.2845, allocations: 439.2 kB / 371.1 MB, free: 8.754 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003718/0.2849, allocations: 231.5 kB / 371.3 MB, free: 8.527 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001389/0.2851, allocations: 35.91 kB / 371.4 MB, free: 8.492 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.2853, allocations: 115.7 kB / 371.5 MB, free: 8.379 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.2854, allocations: 19.98 kB / 371.5 MB, free: 8.359 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.2856, allocations: 103.8 kB / 371.6 MB, free: 8.258 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.2859, allocations: 139.7 kB / 371.8 MB, free: 8.121 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.639e-05/0.2859, allocations: 4 kB / 371.8 MB, free: 8.117 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.583e-05/0.286, allocations: 16 kB / 371.8 MB, free: 8.102 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.2861, allocations: 71.75 kB / 371.8 MB, free: 8.031 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.826e-05/0.2862, allocations: 69.52 kB / 371.9 MB, free: 7.957 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002754/0.2865, allocations: 183.7 kB / 372.1 MB, free: 7.777 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.452e-06/0.2865, allocations: 0 / 372.1 MB, free: 7.777 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2865, allocations: 0 / 372.1 MB, free: 7.777 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.516e-06/0.2865, allocations: 0 / 372.1 MB, free: 7.777 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008561/0.2874, allocations: 0.6129 MB / 372.7 MB, free: 7.109 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.2874, allocations: 8.031 kB / 372.7 MB, free: 7.102 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.952e-05/0.2875, allocations: 47.39 kB / 372.8 MB, free: 7.055 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.2879, allocations: 259.5 kB / 373 MB, free: 6.758 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.2879, allocations: 7.984 kB / 373 MB, free: 6.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.288, allocations: 7.938 kB / 373 MB, free: 6.742 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.2882, allocations: 53.69 kB / 373.1 MB, free: 6.684 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.2882, allocations: 4 kB / 373.1 MB, free: 6.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.94e-06/0.2882, allocations: 0 / 373.1 MB, free: 6.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.2882, allocations: 3.984 kB / 373.1 MB, free: 6.676 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001961/0.2884, allocations: 55.84 kB / 373.1 MB, free: 6.621 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000585/0.289, allocations: 376.7 kB / 373.5 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.2892, allocations: 58.48 kB / 373.6 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.2893, allocations: 0 / 373.6 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.2893, allocations: 38.5 kB / 373.6 MB, free: 6.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.872e-06/0.2893, allocations: 0 / 373.6 MB, free: 6.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.001092/0.2904, allocations: 324 kB / 373.9 MB, free: 5.766 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.2905, allocations: 51.41 kB / 374 MB, free: 5.703 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.2917, allocations: 0.8417 MB / 374.8 MB, free: 4.852 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.2917, allocations: 25.7 kB / 374.8 MB, free: 4.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.2919, allocations: 242.4 kB / 375.1 MB, free: 4.582 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.292, allocations: 23.77 kB / 375.1 MB, free: 4.559 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.283e-06/0.292, allocations: 4 kB / 375.1 MB, free: 4.555 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.2922, allocations: 314.8 kB / 375.4 MB, free: 4.238 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.2924, allocations: 43.97 kB / 375.4 MB, free: 4.195 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.2925, allocations: 39.97 kB / 375.5 MB, free: 4.156 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.2927, allocations: 69.67 kB / 375.6 MB, free: 4.082 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2928, allocations: 0 / 375.6 MB, free: 4.082 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004453/0.2932, allocations: 159.3 kB / 375.7 MB, free: 3.914 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.934e-05/0.2933, allocations: 33.7 kB / 375.7 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.394e-06/0.2933, allocations: 0 / 375.7 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.2933, allocations: 3.938 kB / 375.7 MB, free: 3.871 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.2935, allocations: 27.98 kB / 375.8 MB, free: 3.844 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.108e-06/0.2935, allocations: 0 / 375.8 MB, free: 3.844 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.2936, allocations: 15.98 kB / 375.8 MB, free: 3.828 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.2937, allocations: 0 / 375.8 MB, free: 3.828 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 (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.0002715/0.2939, allocations: 209.8 kB / 376 MB, free: 3.613 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.678e-05/0.294, allocations: 47.39 kB / 376 MB, free: 3.566 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005271/0.2946, allocations: 189.2 kB / 376.2 MB, free: 3.371 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.476e-06/0.2946, allocations: 3.938 kB / 376.2 MB, free: 3.367 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.405e-06/0.2946, allocations: 0 / 376.2 MB, free: 3.367 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.2946, allocations: 8 kB / 376.2 MB, free: 3.359 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009299/0.2956, allocations: 0.4906 MB / 376.7 MB, free: 2.812 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.099e-06/0.2956, allocations: 4 kB / 376.7 MB, free: 2.809 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.2957, allocations: 19.98 kB / 376.8 MB, free: 2.789 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.955e-06/0.2958, allocations: 4 kB / 376.8 MB, free: 2.785 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.2958, allocations: 7.938 kB / 376.8 MB, free: 2.777 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.2958, allocations: 0 / 376.8 MB, free: 2.777 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.394e-06/0.2958, allocations: 4 kB / 376.8 MB, free: 2.773 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004846/0.2963, allocations: 259.4 kB / 377 MB, free: 2.504 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.2964, allocations: 112.6 kB / 377.1 MB, free: 2.375 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/0.2965, allocations: 8.281 kB / 377.1 MB, free: 2.367 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.2966, allocations: 11.98 kB / 377.2 MB, free: 2.355 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.385e-05/0.2967, allocations: 8 kB / 377.2 MB, free: 2.348 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.678e-06/0.2967, allocations: 3.938 kB / 377.2 MB, free: 2.344 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008597/0.2976, allocations: 0.6394 MB / 377.8 MB, free: 1.707 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.142e-06/0.2976, allocations: 0 / 377.8 MB, free: 1.707 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003568/0.298, allocations: 20 kB / 377.8 MB, free: 1.688 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 (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.001004/0.299, allocations: 305.8 kB / 378.1 MB, free: 1.461 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004899/0.2995, allocations: 155.3 kB / 378.3 MB, free: 1.297 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.913e-06/0.2995, allocations: 0 / 378.3 MB, free: 1.297 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000186/0.2997, allocations: 47.97 kB / 378.3 MB, free: 1.25 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.3001, allocations: 29.83 kB / 378.3 MB, free: 1.223 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.3016, allocations: 0.8585 MB / 379.2 MB, free: 336 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006282/0.3023, allocations: 0.8262 MB / 380 MB, free: 15.47 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.851e-05/0.3024, allocations: 19.36 kB / 380.1 MB, free: 15.45 MB / 314.7 MB Notification: Performance of SimCode: time 1.671e-06/0.3024, allocations: 0 / 380.1 MB, free: 15.45 MB / 314.7 MB Notification: Performance of Templates: time 0.009389/0.3118, allocations: 3.441 MB / 383.5 MB, free: 12.01 MB / 314.7 MB