Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test10.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test10") Notification: Performance of loadModel(ModelicaTest): time 1.848/1.848, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000467/0.0004671, allocations: 16 kB / 282.5 MB, free: 9.629 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2863, allocations: 48.69 MB / 331.2 MB, free: 6.488 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test10): time 0.001825/0.2882, allocations: 1.233 MB / 332.4 MB, free: 5.859 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.2895, allocations: 0.8298 MB / 333.3 MB, free: 5.266 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.383e-05/0.2895, allocations: 1.344 kB / 333.3 MB, free: 5.266 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001598/0.2897, allocations: 16.16 kB / 333.3 MB, free: 5.258 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001586/0.2899, allocations: 26.86 kB / 333.3 MB, free: 5.242 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001181/0.29, allocations: 35.89 kB / 333.3 MB, free: 5.223 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.2901, allocations: 37.64 kB / 333.4 MB, free: 5.203 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.593e-05/0.2902, allocations: 11.83 kB / 333.4 MB, free: 5.199 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.588e-05/0.2903, allocations: 19.66 kB / 333.4 MB, free: 5.191 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.2905, allocations: 28.92 kB / 333.4 MB, free: 5.176 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.2905, allocations: 2.781 kB / 333.4 MB, free: 5.176 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.2906, allocations: 31.42 kB / 333.5 MB, free: 5.168 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.021e-05/0.2906, allocations: 6.891 kB / 333.5 MB, free: 5.164 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.208e-05/0.2907, allocations: 32.92 kB / 333.5 MB, free: 5.129 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.2908, allocations: 67.86 kB / 333.6 MB, free: 5.105 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.35e-06/0.2909, allocations: 1.031 kB / 333.6 MB, free: 5.105 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.826e-06/0.2909, allocations: 0 / 333.6 MB, free: 5.105 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.2909, allocations: 0 / 333.6 MB, free: 5.105 MB / 266.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.0004123/0.2913, allocations: 400.6 kB / 334 MB, free: 4.695 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.2914, allocations: 8.938 kB / 334 MB, free: 4.695 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.871e-05/0.2914, allocations: 8.297 kB / 334 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.2916, allocations: 185.5 kB / 334.2 MB, free: 4.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.2916, allocations: 6.438 kB / 334.2 MB, free: 4.477 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.2916, allocations: 3.188 kB / 334.2 MB, free: 4.477 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.2918, allocations: 76.16 kB / 334.2 MB, free: 4.418 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.2919, allocations: 0.75 kB / 334.2 MB, free: 4.418 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.2919, allocations: 4.969 kB / 334.2 MB, free: 4.414 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.669e-06/0.2919, allocations: 1.469 kB / 334.2 MB, free: 4.414 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001995/0.2921, allocations: 43.05 kB / 334.3 MB, free: 4.406 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003412/0.2925, allocations: 283.7 kB / 334.6 MB, free: 4.117 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.2927, allocations: 51.81 kB / 334.6 MB, free: 4.082 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.2927, allocations: 2.109 kB / 334.6 MB, free: 4.082 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.2927, allocations: 39.97 kB / 334.7 MB, free: 4.035 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.28e-06/0.2928, allocations: 0 / 334.7 MB, free: 4.035 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009522/0.2937, allocations: 234.3 kB / 334.9 MB, free: 3.957 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.2938, allocations: 79.22 kB / 335 MB, free: 3.863 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.2939, allocations: 131.9 kB / 335.1 MB, free: 3.746 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.2939, allocations: 25.7 kB / 335.1 MB, free: 3.715 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.61e-05/0.294, allocations: 164.5 kB / 335.3 MB, free: 3.555 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.294, allocations: 21.27 kB / 335.3 MB, free: 3.539 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.774e-06/0.294, allocations: 9 kB / 335.3 MB, free: 3.531 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.011e-05/0.2941, allocations: 312.8 kB / 335.6 MB, free: 3.219 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.2943, allocations: 43.02 kB / 335.7 MB, free: 3.211 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.2944, allocations: 60.61 kB / 335.7 MB, free: 3.184 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.2946, allocations: 68.28 kB / 335.8 MB, free: 3.145 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.008e-06/0.2946, allocations: 3.938 kB / 335.8 MB, free: 3.141 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003961/0.2951, allocations: 159.2 kB / 335.9 MB, free: 3.055 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/0.2951, allocations: 32.09 kB / 336 MB, free: 3.023 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.496e-06/0.2951, allocations: 3.938 kB / 336 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.2951, allocations: 6 kB / 336 MB, free: 3.016 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.2953, allocations: 22.69 kB / 336 MB, free: 3.016 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.424e-06/0.2953, allocations: 1.281 kB / 336 MB, free: 3.016 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.849e-05/0.2954, allocations: 17.47 kB / 336 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.2954, allocations: 7 kB / 336 MB, free: 3.008 MB / 266.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 7.664e-05/0.2955, allocations: 117.1 kB / 336.1 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.476e-05/0.2956, allocations: 12.14 kB / 336.2 MB, free: 2.879 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004134/0.296, allocations: 141.7 kB / 336.3 MB, free: 2.816 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.296, allocations: 1.531 kB / 336.3 MB, free: 2.816 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.426e-06/0.296, allocations: 0 / 336.3 MB, free: 2.816 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.771e-06/0.2961, allocations: 5.656 kB / 336.3 MB, free: 2.812 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006362/0.2967, allocations: 401.5 kB / 336.7 MB, free: 2.473 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.364e-06/0.2967, allocations: 5.188 kB / 336.7 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.2969, allocations: 22.36 kB / 336.7 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.138e-06/0.2969, allocations: 1.031 kB / 336.7 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.2969, allocations: 1.125 kB / 336.7 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.764e-06/0.2969, allocations: 0.6094 kB / 336.7 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.319e-06/0.2969, allocations: 8.953 kB / 336.7 MB, free: 2.461 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004027/0.2973, allocations: 224.8 kB / 337 MB, free: 2.305 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.2974, allocations: 84.44 kB / 337 MB, free: 2.207 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.2974, allocations: 5.875 kB / 337 MB, free: 2.203 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.2976, allocations: 13.22 kB / 337.1 MB, free: 2.203 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/0.2976, allocations: 4.688 kB / 337.1 MB, free: 2.203 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.2977, allocations: 10.66 kB / 337.1 MB, free: 2.195 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.863e-05/0.2977, allocations: 98 kB / 337.2 MB, free: 2.113 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.3e-07/0.2977, allocations: 4 kB / 337.2 MB, free: 2.109 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000382/0.2981, allocations: 26.66 kB / 337.2 MB, free: 2.102 MB / 266.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.0009514/0.2991, allocations: 322.4 kB / 337.5 MB, free: 1.906 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004369/0.2996, allocations: 153.3 kB / 337.7 MB, free: 1.824 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.854e-06/0.2996, allocations: 0 / 337.7 MB, free: 1.824 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.2998, allocations: 54.3 kB / 337.7 MB, free: 1.812 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.3, allocations: 12.73 kB / 337.7 MB, free: 1.805 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004189/0.3005, allocations: 199.5 kB / 337.9 MB, free: 1.625 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.3006, allocations: 0.6887 MB / 338.6 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.388e-05/0.3007, allocations: 19.7 kB / 338.6 MB, free: 0.918 MB / 266.7 MB Notification: Performance of SimCode: time 1.484e-06/0.3007, allocations: 0 / 338.6 MB, free: 0.918 MB / 266.7 MB Notification: Performance of Templates: time 0.003879/0.3046, allocations: 1.567 MB / 340.2 MB, free: 316 kB / 266.7 MB