Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.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.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|frac_A1toA2|frac_A1toA2|A_1|A_2|C_1|C_2|eta|rho|input_mdot|input_dp|M_FLOW|DP|d_hyd|velocity|Re|DP_plot|zeta_TOT|input_DP.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 1.892/1.892, allocations: 209.3 MB / 224.8 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004408/0.0004411, allocations: 12 kB / 282.5 MB, free: 9.625 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2799, allocations: 48.71 MB / 331.2 MB, free: 6.492 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.001988/0.282, allocations: 1.436 MB / 332.7 MB, free: 5.746 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.284, allocations: 1.2 MB / 333.9 MB, free: 4.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.844e-05/0.2841, allocations: 4.938 kB / 333.9 MB, free: 4.926 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00018/0.2843, allocations: 31.25 kB / 333.9 MB, free: 4.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001932/0.2845, allocations: 53.16 kB / 333.9 MB, free: 4.875 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006305/0.2852, allocations: 199.8 kB / 334.1 MB, free: 4.789 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.2853, allocations: 80.59 kB / 334.2 MB, free: 4.746 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.197e-05/0.2854, allocations: 6.547 kB / 334.2 MB, free: 4.746 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.2855, allocations: 46.31 kB / 334.3 MB, free: 4.723 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.254e-05/0.2856, allocations: 50.16 kB / 334.3 MB, free: 4.699 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.2857, allocations: 4 kB / 334.3 MB, free: 4.699 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000872/0.2865, allocations: 494.5 kB / 334.8 MB, free: 4.555 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.335e-05/0.2866, allocations: 17.67 kB / 334.8 MB, free: 4.543 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.125e-05/0.2866, allocations: 37.77 kB / 334.9 MB, free: 4.508 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000441/0.2871, allocations: 214.6 kB / 335.1 MB, free: 4.457 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.164e-06/0.2871, allocations: 0 / 335.1 MB, free: 4.457 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.764e-06/0.2871, allocations: 1.188 kB / 335.1 MB, free: 4.457 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.703e-06/0.2871, allocations: 0 / 335.1 MB, free: 4.457 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0004886/0.2876, allocations: 431.5 kB / 335.5 MB, free: 4.043 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.2877, allocations: 7.875 kB / 335.5 MB, free: 4.043 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.843e-05/0.2877, allocations: 10.75 kB / 335.5 MB, free: 4.039 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.064e-05/0.2878, allocations: 176.7 kB / 335.7 MB, free: 3.832 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.2879, allocations: 9.938 kB / 335.7 MB, free: 3.828 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.794e-05/0.2879, allocations: 11.06 kB / 335.7 MB, free: 3.824 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003565/0.2883, allocations: 154.6 kB / 335.8 MB, free: 3.746 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.2883, allocations: 0 / 335.8 MB, free: 3.746 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.2883, allocations: 1.094 kB / 335.8 MB, free: 3.746 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.2884, allocations: 3.781 kB / 335.9 MB, free: 3.746 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003977/0.2888, allocations: 149.5 kB / 336 MB, free: 3.703 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009717/0.2897, allocations: 0.5254 MB / 336.5 MB, free: 3.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003255/0.2901, allocations: 105.5 kB / 336.6 MB, free: 3.199 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.371e-05/0.2901, allocations: 2.125 kB / 336.6 MB, free: 3.199 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.2902, allocations: 35.69 kB / 336.7 MB, free: 3.156 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 2.425e-06/0.2902, allocations: 0 / 336.7 MB, free: 3.156 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005981/0.2908, allocations: 180 kB / 336.8 MB, free: 3.086 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.318e-05/0.2908, allocations: 52.69 kB / 336.9 MB, free: 3.023 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.283e-05/0.2909, allocations: 123.3 kB / 337 MB, free: 2.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.291, allocations: 25.7 kB / 337 MB, free: 2.879 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.62e-05/0.291, allocations: 187 kB / 337.2 MB, free: 2.703 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.2911, allocations: 39.12 kB / 337.3 MB, free: 2.672 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.681e-06/0.2911, allocations: 1.406 kB / 337.3 MB, free: 2.672 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.189e-05/0.2912, allocations: 318.3 kB / 337.6 MB, free: 2.355 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.2913, allocations: 42.2 kB / 337.6 MB, free: 2.348 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.2915, allocations: 86.41 kB / 337.7 MB, free: 2.285 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.2917, allocations: 60.8 kB / 337.8 MB, free: 2.254 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.2917, allocations: 1.156 kB / 337.8 MB, free: 2.254 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000446/0.2922, allocations: 165.1 kB / 337.9 MB, free: 2.164 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.2922, allocations: 5.219 kB / 337.9 MB, free: 2.164 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.231e-06/0.2922, allocations: 1.219 kB / 337.9 MB, free: 2.164 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.2923, allocations: 2.375 kB / 337.9 MB, free: 2.164 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/0.2926, allocations: 52.05 kB / 338 MB, free: 2.148 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002757/0.2929, allocations: 0.5937 MB / 338.6 MB, free: 1.547 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.293, allocations: 24.12 kB / 338.6 MB, free: 1.531 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.2931, allocations: 9.094 kB / 338.6 MB, free: 1.527 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.629e-05/0.2932, allocations: 115.5 kB / 338.7 MB, free: 1.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.729e-05/0.2932, allocations: 7.344 kB / 338.7 MB, free: 1.406 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005312/0.2938, allocations: 190.8 kB / 338.9 MB, free: 1.289 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.306e-06/0.2938, allocations: 5.156 kB / 338.9 MB, free: 1.285 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.301e-06/0.2938, allocations: 1.219 kB / 338.9 MB, free: 1.285 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.599e-06/0.2938, allocations: 0 / 338.9 MB, free: 1.285 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/0.2941, allocations: 213.9 kB / 339.1 MB, free: 1.055 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.641e-06/0.2941, allocations: 0 / 339.1 MB, free: 1.055 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000267/0.2944, allocations: 46.14 kB / 339.2 MB, free: 1.043 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.898e-06/0.2944, allocations: 0 / 339.2 MB, free: 1.043 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.2944, allocations: 5.812 kB / 339.2 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002318/0.2947, allocations: 0.5921 MB / 339.8 MB, free: 448 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2947, allocations: 0 / 339.8 MB, free: 448 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005859/0.2953, allocations: 301.8 kB / 340.1 MB, free: 236 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.329e-05/0.2954, allocations: 105.5 kB / 340.2 MB, free: 116 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.2954, allocations: 1.469 kB / 340.2 MB, free: 116 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.2956, allocations: 10.33 kB / 340.2 MB, free: 112 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.392e-05/0.2957, allocations: 20.16 kB / 340.2 MB, free: 96 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.2957, allocations: 8.438 kB / 340.2 MB, free: 92 kB / 266.7 MB Notification: Performance of sorting global known variables: time 4.354e-05/0.2958, allocations: 94.17 kB / 340.3 MB, free: 4 kB / 266.7 MB Notification: Performance of sort global known variables: time 7.02e-07/0.2958, allocations: 0 / 340.3 MB, free: 4 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005467/0.2963, allocations: 73.25 kB / 340.4 MB, free: 15.98 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003794/0.2967, allocations: 182.5 kB / 340.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005423/0.2973, allocations: 139.9 kB / 340.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.049e-06/0.2973, allocations: 1.531 kB / 340.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000286/0.2976, allocations: 76.23 kB / 340.8 MB, free: 15.76 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.2979, allocations: 3.156 kB / 340.8 MB, free: 15.76 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009189/0.2988, allocations: 399.5 kB / 341.2 MB, free: 15.45 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.2992, allocations: 0.7111 MB / 341.9 MB, free: 14.73 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.817e-05/0.2993, allocations: 20.16 kB / 341.9 MB, free: 14.72 MB / 282.7 MB Notification: Performance of SimCode: time 1.695e-06/0.2993, allocations: 0 / 341.9 MB, free: 14.72 MB / 282.7 MB Notification: Performance of Templates: time 0.005916/0.3052, allocations: 2.518 MB / 344.4 MB, free: 13.41 MB / 282.7 MB