Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.268/2.268, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005997/0.0006, allocations: 12 kB / 314.4 MB, free: 9.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3259, allocations: 54.86 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002387/0.3284, allocations: 1.337 MB / 370.6 MB, free: 9.355 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.3301, allocations: 0.7471 MB / 371.4 MB, free: 8.605 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.656e-05/0.3302, allocations: 8 kB / 371.4 MB, free: 8.598 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002308/0.3304, allocations: 27.88 kB / 371.4 MB, free: 8.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001572/0.3306, allocations: 39.86 kB / 371.4 MB, free: 8.531 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003371/0.3309, allocations: 67.78 kB / 371.5 MB, free: 8.465 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000201/0.3311, allocations: 103.8 kB / 371.6 MB, free: 8.363 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.8e-05/0.3312, allocations: 21.11 kB / 371.6 MB, free: 8.344 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.3314, allocations: 47.84 kB / 371.7 MB, free: 8.297 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.3315, allocations: 47.77 kB / 371.7 MB, free: 8.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.294e-05/0.3315, allocations: 4 kB / 371.7 MB, free: 8.246 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004265/0.332, allocations: 159.7 kB / 371.9 MB, free: 8.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.187e-05/0.3321, allocations: 35.91 kB / 371.9 MB, free: 8.055 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.233e-05/0.3321, allocations: 45.64 kB / 372 MB, free: 8.004 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003086/0.3324, allocations: 136.7 kB / 372.1 MB, free: 7.871 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.3325, allocations: 0 / 372.1 MB, free: 7.871 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3325, allocations: 0 / 372.1 MB, free: 7.871 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.3325, allocations: 0 / 372.1 MB, free: 7.871 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006967/0.3332, allocations: 438.9 kB / 372.5 MB, free: 7.395 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.3332, allocations: 12.03 kB / 372.5 MB, free: 7.383 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.73e-05/0.3333, allocations: 50.55 kB / 372.6 MB, free: 7.324 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007187/0.3341, allocations: 67.73 kB / 372.7 MB, free: 7.258 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.3343, allocations: 210.8 kB / 372.9 MB, free: 7.012 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.3344, allocations: 11.98 kB / 372.9 MB, free: 7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.896e-05/0.3344, allocations: 12 kB / 372.9 MB, free: 6.988 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006755/0.3351, allocations: 249.2 kB / 373.1 MB, free: 6.738 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.3351, allocations: 4 kB / 373.1 MB, free: 6.734 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.275e-05/0.3352, allocations: 7.984 kB / 373.1 MB, free: 6.727 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-05/0.3352, allocations: 19.98 kB / 373.2 MB, free: 6.707 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007603/0.336, allocations: 231.8 kB / 373.4 MB, free: 6.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001624/0.3376, allocations: 0.7323 MB / 374.1 MB, free: 5.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003635/0.338, allocations: 102.4 kB / 374.2 MB, free: 5.551 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.3381, allocations: 4 kB / 374.2 MB, free: 5.547 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.3381, allocations: 30.56 kB / 374.3 MB, free: 5.508 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 2.395e-06/0.3381, allocations: 0 / 374.3 MB, free: 5.508 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008391/0.339, allocations: 185.5 kB / 374.4 MB, free: 5.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.339, allocations: 51.41 kB / 374.5 MB, free: 5.258 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/0.3393, allocations: 191.3 kB / 374.7 MB, free: 5.062 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.3393, allocations: 29.64 kB / 374.7 MB, free: 5.027 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.3395, allocations: 202 kB / 374.9 MB, free: 4.828 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.3395, allocations: 27.64 kB / 374.9 MB, free: 4.801 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.35e-05/0.3395, allocations: 4 kB / 374.9 MB, free: 4.797 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.3397, allocations: 318.8 kB / 375.2 MB, free: 4.477 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002421/0.3399, allocations: 51.94 kB / 375.3 MB, free: 4.426 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/0.3402, allocations: 99.14 kB / 375.4 MB, free: 4.305 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/0.3405, allocations: 75.92 kB / 375.5 MB, free: 4.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.3405, allocations: 0 / 375.5 MB, free: 4.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006707/0.3412, allocations: 193.4 kB / 375.7 MB, free: 4.035 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.3412, allocations: 4 kB / 375.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.3413, allocations: 4 kB / 375.7 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.3413, allocations: 0 / 375.7 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/0.3428, allocations: 107.8 kB / 375.8 MB, free: 3.922 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001597/0.3445, allocations: 1.809 MB / 377.6 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002747/0.3448, allocations: 35.72 kB / 377.6 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/0.3448, allocations: 4 kB / 377.6 MB, free: 2.004 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001837/0.345, allocations: 145.7 kB / 377.8 MB, free: 1.852 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.131e-05/0.3451, allocations: 11.91 kB / 377.8 MB, free: 1.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007757/0.3458, allocations: 190.9 kB / 378 MB, free: 1.648 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3459, allocations: 0 / 378 MB, free: 1.648 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3459, allocations: 0 / 378 MB, free: 1.648 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.3459, allocations: 0 / 378 MB, free: 1.648 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003673/0.3463, allocations: 237.5 kB / 378.2 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3463, allocations: 0 / 378.2 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/0.3476, allocations: 99.83 kB / 378.3 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.3476, allocations: 0 / 378.3 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.3476, allocations: 0 / 378.3 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/0.3489, allocations: 1.781 MB / 380.1 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3489, allocations: 0 / 380.1 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000617/0.3496, allocations: 251.5 kB / 380.3 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.439e-05/0.3497, allocations: 88.92 kB / 380.4 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.714e-05/0.3497, allocations: 4 kB / 380.4 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.35, allocations: 15.98 kB / 380.4 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.285e-05/0.35, allocations: 7.984 kB / 380.4 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.3501, allocations: 0 / 380.4 MB, free: 15.02 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001733/0.3502, allocations: 143.9 kB / 380.6 MB, free: 14.88 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.3503, allocations: 4 kB / 380.6 MB, free: 14.88 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004116/0.3507, allocations: 39.94 kB / 380.6 MB, free: 14.84 MB / 314.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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001032/0.3517, allocations: 0.8138 MB / 381.4 MB, free: 14 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002078/0.3538, allocations: 220.1 kB / 381.6 MB, free: 13.78 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3539, allocations: 0 / 381.6 MB, free: 13.78 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001168/0.355, allocations: 115.9 kB / 381.7 MB, free: 13.67 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005029/0.3556, allocations: 35.97 kB / 381.8 MB, free: 13.63 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/0.3581, allocations: 1.074 MB / 382.9 MB, free: 12.49 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.3585, allocations: 0.7397 MB / 383.6 MB, free: 11.73 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.3586, allocations: 45.45 kB / 383.6 MB, free: 11.68 MB / 314.7 MB Notification: Performance of SimCode: time 1.062e-06/0.3587, allocations: 4 kB / 383.6 MB, free: 11.68 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.804/3.162, allocations: 5.094 MB / 388.7 MB, free: 6.598 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat failed! " Variables in the reference:time,zeta_TOT[1],zeta_TOT[2],zeta_TOT[3],rho,input_mdot[1],input_mdot[2],input_mdot[3],input_dp[1],input_dp[2],input_dp[3],M_FLOW[1],M_FLOW[2],M_FLOW[3],DP[1],DP[2],DP[3],DP_plot[1],DP_plot[2],DP_plot[3],input_DP.y Variables in the result:A_cross,DP[1],DP[2],DP[3],DP_plot[1],DP_plot[2],DP_plot[3],M_FLOW[1],M_FLOW[2],M_FLOW[3],dp_IN_con[1].A_cross,dp_IN_con[1].dp_smooth,dp_IN_con[2].A_cross,dp_IN_con[2].dp_smooth,dp_IN_con[3].A_cross,dp_IN_con[3].dp_smooth,dp_IN_var[1].rho,dp_IN_var[1].zeta_TOT,dp_IN_var[2].rho,dp_IN_var[2].zeta_TOT,dp_IN_var[3].rho,dp_IN_var[3].zeta_TOT,input_DP.duration,input_DP.height,input_DP.offset,input_DP.startTime,input_DP.y,input_dp[1],input_dp[2],input_dp[3],input_mdot[1],input_mdot[2],input_mdot[3],m_flow_IN_con[1].A_cross,m_flow_IN_con[1].dp_smooth,m_flow_IN_con[2].A_cross,m_flow_IN_con[2].dp_smooth,m_flow_IN_con[3].A_cross,m_flow_IN_con[3].dp_smooth,m_flow_IN_var[1].rho,m_flow_IN_var[1].zeta_TOT,m_flow_IN_var[2].rho,m_flow_IN_var[2].zeta_TOT,m_flow_IN_var[3].rho,m_flow_IN_var[3].zeta_TOT,n,rho,time,zeta_TOT[1],zeta_TOT[2],zeta_TOT[3]