Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.031/2.031, allocations: 209.2 MB / 224.8 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004387/0.0004388, allocations: 8 kB / 282.6 MB, free: 9.574 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4046, allocations: 48.7 MB / 331.3 MB, free: 6.516 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003049/0.4077, allocations: 1.331 MB / 332.6 MB, free: 5.852 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002015/0.4098, allocations: 0.7314 MB / 333.4 MB, free: 5.355 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.176e-05/0.4099, allocations: 0 / 333.4 MB, free: 5.355 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002903/0.4102, allocations: 30.3 kB / 333.4 MB, free: 5.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001965/0.4104, allocations: 43.08 kB / 333.4 MB, free: 5.312 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004425/0.4109, allocations: 77.25 kB / 333.5 MB, free: 5.273 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002484/0.4111, allocations: 102.3 kB / 333.6 MB, free: 5.223 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.106e-05/0.4112, allocations: 15.45 kB / 333.6 MB, free: 5.219 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.4114, allocations: 48.95 kB / 333.7 MB, free: 5.199 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.4116, allocations: 43.64 kB / 333.7 MB, free: 5.188 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.4117, allocations: 6.719 kB / 333.7 MB, free: 5.184 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000586/0.4123, allocations: 163.5 kB / 333.9 MB, free: 5.141 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.241e-05/0.4124, allocations: 29.23 kB / 333.9 MB, free: 5.133 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.2e-05/0.4124, allocations: 46.02 kB / 334 MB, free: 5.094 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004212/0.4129, allocations: 132.6 kB / 334.1 MB, free: 5.059 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.4129, allocations: 0 / 334.1 MB, free: 5.059 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.4129, allocations: 0 / 334.1 MB, free: 5.059 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.4129, allocations: 1.281 kB / 334.1 MB, free: 5.059 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0008424/0.4138, allocations: 439 kB / 334.5 MB, free: 4.652 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/0.4139, allocations: 9.062 kB / 334.5 MB, free: 4.652 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.405e-05/0.414, allocations: 48.27 kB / 334.6 MB, free: 4.605 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009981/0.415, allocations: 61.8 kB / 334.6 MB, free: 4.594 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003797/0.4154, allocations: 229.3 kB / 334.9 MB, free: 4.359 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/0.4154, allocations: 9.656 kB / 334.9 MB, free: 4.355 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.872e-05/0.4155, allocations: 11.38 kB / 334.9 MB, free: 4.352 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009827/0.4165, allocations: 241.9 kB / 335.1 MB, free: 4.258 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.4165, allocations: 1.281 kB / 335.1 MB, free: 4.258 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.102e-05/0.4166, allocations: 5.438 kB / 335.1 MB, free: 4.254 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.048e-05/0.4167, allocations: 16.72 kB / 335.1 MB, free: 4.254 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.4177, allocations: 241.1 kB / 335.4 MB, free: 4.188 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002152/0.4199, allocations: 0.7377 MB / 336.1 MB, free: 3.602 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004803/0.4205, allocations: 96.58 kB / 336.2 MB, free: 3.562 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/0.4205, allocations: 1.438 kB / 336.2 MB, free: 3.562 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.4206, allocations: 32.69 kB / 336.2 MB, free: 3.523 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 3.346e-06/0.4206, allocations: 0 / 336.2 MB, free: 3.523 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.001085/0.4217, allocations: 182.8 kB / 336.4 MB, free: 3.465 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.4217, allocations: 53 kB / 336.5 MB, free: 3.402 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.422, allocations: 192.1 kB / 336.7 MB, free: 3.273 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.422, allocations: 31.05 kB / 336.7 MB, free: 3.238 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.605e-05/0.4221, allocations: 201.6 kB / 336.9 MB, free: 3.051 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.4222, allocations: 23.94 kB / 336.9 MB, free: 3.031 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.357e-05/0.4222, allocations: 1.406 kB / 336.9 MB, free: 3.031 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.263e-05/0.4223, allocations: 319 kB / 337.2 MB, free: 2.715 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/0.4225, allocations: 52.88 kB / 337.3 MB, free: 2.707 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002688/0.4228, allocations: 109.1 kB / 337.4 MB, free: 2.613 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/0.4231, allocations: 63.73 kB / 337.4 MB, free: 2.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.4231, allocations: 0 / 337.4 MB, free: 2.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006541/0.4238, allocations: 202.1 kB / 337.6 MB, free: 2.477 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.4238, allocations: 5.375 kB / 337.6 MB, free: 2.477 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.4238, allocations: 1.906 kB / 337.6 MB, free: 2.477 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.149e-05/0.4239, allocations: 3.062 kB / 337.6 MB, free: 2.477 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/0.4255, allocations: 119.2 kB / 337.8 MB, free: 2.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/0.4268, allocations: 1.805 MB / 339.6 MB, free: 0.625 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002906/0.4271, allocations: 26.55 kB / 339.6 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/0.4271, allocations: 7.562 kB / 339.6 MB, free: 0.6094 MB / 266.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.0001843/0.4273, allocations: 147.6 kB / 339.7 MB, free: 480 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/0.4274, allocations: 14.11 kB / 339.8 MB, free: 472 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007606/0.4282, allocations: 190.2 kB / 339.9 MB, free: 356 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.4282, allocations: 1.219 kB / 339.9 MB, free: 356 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.4282, allocations: 1.469 kB / 339.9 MB, free: 356 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4282, allocations: 0 / 339.9 MB, free: 356 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003476/0.4286, allocations: 225.2 kB / 340.2 MB, free: 120 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.4286, allocations: 0 / 340.2 MB, free: 120 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/0.4299, allocations: 107 kB / 340.3 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/0.4299, allocations: 0 / 340.3 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.43, allocations: 1.219 kB / 340.3 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/0.4315, allocations: 1.781 MB / 342.1 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.4315, allocations: 3.938 kB / 342.1 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006792/0.4322, allocations: 242.1 kB / 342.3 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.4323, allocations: 94.19 kB / 342.4 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.816e-05/0.4324, allocations: 4 kB / 342.4 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.4326, allocations: 10.86 kB / 342.4 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.248e-05/0.4327, allocations: 12.42 kB / 342.4 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.4328, allocations: 10.72 kB / 342.4 MB, free: 13.96 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001989/0.433, allocations: 132.1 kB / 342.6 MB, free: 13.87 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.433, allocations: 1.188 kB / 342.6 MB, free: 13.87 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004606/0.4334, allocations: 46.56 kB / 342.6 MB, free: 13.86 MB / 282.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.001127/0.4346, allocations: 0.8009 MB / 343.4 MB, free: 13.13 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002137/0.4367, allocations: 223.4 kB / 343.6 MB, free: 13.05 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.4368, allocations: 0 / 343.6 MB, free: 13.05 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001214/0.438, allocations: 114.7 kB / 343.7 MB, free: 13 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005293/0.4386, allocations: 44.7 kB / 343.8 MB, free: 12.98 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002717/0.4413, allocations: 1.063 MB / 344.8 MB, free: 12.2 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.4418, allocations: 0.7436 MB / 345.6 MB, free: 11.47 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.442, allocations: 40.3 kB / 345.6 MB, free: 11.44 MB / 282.7 MB Notification: Performance of SimCode: time 1.232e-06/0.442, allocations: 0 / 345.6 MB, free: 11.44 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.115/3.557, allocations: 5.084 MB / 350.7 MB, free: 8.832 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_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]