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_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.289/2.289, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004474/0.0004473, allocations: 12 kB / 314.4 MB, free: 9.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3979/0.3983, 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_nominalDensityViscosity_DPMFLOW): time 0.002621/0.401, allocations: 1.46 MB / 370.8 MB, free: 9.227 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.4024, allocations: 0.5457 MB / 371.3 MB, free: 8.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.998e-05/0.4026, allocations: 0 / 371.3 MB, free: 8.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003064/0.4029, allocations: 47.78 kB / 371.3 MB, free: 8.633 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.4031, allocations: 51.84 kB / 371.4 MB, free: 8.582 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004307/0.4035, allocations: 91.73 kB / 371.5 MB, free: 8.492 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002847/0.4038, allocations: 159.6 kB / 371.6 MB, free: 8.336 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.62e-05/0.4039, allocations: 24.3 kB / 371.7 MB, free: 8.312 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.4041, allocations: 71.7 kB / 371.7 MB, free: 8.242 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.4042, allocations: 79.61 kB / 371.8 MB, free: 8.164 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.776e-05/0.4042, allocations: 4 kB / 371.8 MB, free: 8.16 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005556/0.4048, allocations: 223.6 kB / 372 MB, free: 7.941 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.183e-05/0.4049, allocations: 47.81 kB / 372.1 MB, free: 7.895 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.072e-05/0.405, allocations: 61.58 kB / 372.1 MB, free: 7.828 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004672/0.4055, allocations: 208.5 kB / 372.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.4055, allocations: 0 / 372.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4055, allocations: 0 / 372.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.4055, allocations: 0 / 372.3 MB, free: 7.625 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0008528/0.4064, allocations: 0.4951 MB / 372.8 MB, free: 7.082 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.4064, allocations: 8.031 kB / 372.9 MB, free: 7.074 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001034/0.4065, allocations: 70.52 kB / 372.9 MB, free: 6.996 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003156/0.4097, allocations: 203.4 kB / 373.1 MB, free: 6.797 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005104/0.4103, allocations: 262.6 kB / 373.4 MB, free: 6.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.4103, allocations: 12.56 kB / 373.4 MB, free: 6.488 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.022e-05/0.4104, allocations: 27.98 kB / 373.4 MB, free: 6.461 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.4121, allocations: 0.5005 MB / 373.9 MB, free: 5.953 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.4121, allocations: 0 / 373.9 MB, free: 5.953 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.936e-05/0.4122, allocations: 15.94 kB / 373.9 MB, free: 5.938 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.962e-05/0.4123, allocations: 32.48 kB / 374 MB, free: 5.902 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00234/0.4146, allocations: 0.5915 MB / 374.6 MB, free: 5.312 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003769/0.4184, allocations: 1.169 MB / 375.7 MB, free: 4.055 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/0.4197, allocations: 170.4 kB / 375.9 MB, free: 3.879 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.4198, allocations: 11.94 kB / 375.9 MB, free: 3.867 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.4198, allocations: 34.55 kB / 375.9 MB, free: 3.824 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 2.855e-06/0.4199, allocations: 0 / 375.9 MB, free: 3.824 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.002342/0.4222, allocations: 325.1 kB / 376.3 MB, free: 3.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.4223, allocations: 55.41 kB / 376.3 MB, free: 3.434 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004426/0.4227, allocations: 274.6 kB / 376.6 MB, free: 3.156 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.176e-05/0.4228, allocations: 29.7 kB / 376.6 MB, free: 3.121 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.4229, allocations: 218 kB / 376.8 MB, free: 2.906 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.146e-05/0.423, allocations: 27.64 kB / 376.8 MB, free: 2.879 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/0.423, allocations: 0 / 376.8 MB, free: 2.879 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.4232, allocations: 314.8 kB / 377.2 MB, free: 2.562 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007066/0.4239, allocations: 99.89 kB / 377.2 MB, free: 2.465 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007358/0.4247, allocations: 127.3 kB / 377.4 MB, free: 2.328 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007446/0.4254, allocations: 107.8 kB / 377.5 MB, free: 2.223 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4254, allocations: 0 / 377.5 MB, free: 2.223 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001604/0.4271, allocations: 253.4 kB / 377.7 MB, free: 1.969 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.4271, allocations: 8 kB / 377.7 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.4271, allocations: 3.984 kB / 377.7 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.4271, allocations: 3.953 kB / 377.7 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01165/0.4388, allocations: 471.2 kB / 378.2 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004833/0.4437, allocations: 1.949 MB / 380.2 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007579/0.4445, allocations: 47.59 kB / 380.2 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.477e-05/0.4446, allocations: 12.08 kB / 380.2 MB, free: 15.41 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * 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.0002559/0.4448, allocations: 161.7 kB / 380.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.529e-05/0.4449, allocations: 19.81 kB / 380.4 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.625e-05/0.445, allocations: 25.7 kB / 380.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.445, allocations: 3.953 kB / 380.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.445, allocations: 0 / 380.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.4451, allocations: 3.984 kB / 380.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005824/0.4456, allocations: 285.5 kB / 380.7 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.4457, allocations: 96 / 380.7 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01151/0.4572, allocations: 463.2 kB / 381.2 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.4572, allocations: 0 / 381.2 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.85e-05/0.4573, allocations: 7.984 kB / 381.2 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004699/0.462, allocations: 1.953 MB / 383.1 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.4621, allocations: 0 / 383.1 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/0.4637, allocations: 331.3 kB / 383.4 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.836e-05/0.4638, allocations: 96.81 kB / 383.5 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.141e-05/0.4639, allocations: 0 / 383.5 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006817/0.4646, allocations: 19.97 kB / 383.5 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.635e-05/0.4647, allocations: 19.92 kB / 383.6 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.4647, allocations: 8 kB / 383.6 MB, free: 11.88 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003272/0.4651, allocations: 205.9 kB / 383.8 MB, free: 11.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.4651, allocations: 0 / 383.8 MB, free: 11.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004933/0.4656, allocations: 67.84 kB / 383.8 MB, free: 11.61 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 (7): * Single equations (assignments): 4 * 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.002029/0.4676, allocations: 0.8761 MB / 384.7 MB, free: 10.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.01212/0.4798, allocations: 0.6047 MB / 385.3 MB, free: 10.1 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.4798, allocations: 0 / 385.3 MB, free: 10.1 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01131/0.4911, allocations: 0.4915 MB / 385.8 MB, free: 9.609 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004586/0.4916, allocations: 44.42 kB / 385.9 MB, free: 9.566 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005326/0.497, allocations: 1.706 MB / 387.6 MB, free: 7.797 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006364/0.4977, allocations: 0.7871 MB / 388.4 MB, free: 6.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002501/0.498, allocations: 67.41 kB / 388.4 MB, free: 6.914 MB / 314.7 MB Notification: Performance of SimCode: time 1.082e-06/0.498, allocations: 3.938 kB / 388.4 MB, free: 6.91 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.717/3.215, allocations: 7.627 MB / 396 MB, free: 15.3 MB / 330.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat failed! " Variables in the reference:time,eta[1],eta[2],eta[3],rho[1],rho[2],rho[3],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:DP[1],DP[2],DP[3],DP_plot[1],DP_plot[2],DP_plot[3],M_FLOW[1],M_FLOW[2],M_FLOW[3],cp,dp_IN_con[1].dp_nom,dp_IN_con[1].eta_nom,dp_IN_con[1].exp,dp_IN_con[1].exp_eta,dp_IN_con[1].m_flow_nom,dp_IN_con[1].rho_nom,dp_IN_con[2].dp_nom,dp_IN_con[2].eta_nom,dp_IN_con[2].exp,dp_IN_con[2].exp_eta,dp_IN_con[2].m_flow_nom,dp_IN_con[2].rho_nom,dp_IN_con[3].dp_nom,dp_IN_con[3].eta_nom,dp_IN_con[3].exp,dp_IN_con[3].exp_eta,dp_IN_con[3].m_flow_nom,dp_IN_con[3].rho_nom,dp_IN_var[1].eta,dp_IN_var[1].rho,dp_IN_var[2].eta,dp_IN_var[2].rho,dp_IN_var[3].eta,dp_IN_var[3].rho,dp_nom,eta[1],eta[2],eta[3],eta_nom,exp,exp_eta,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],lambda,m_flow_IN_con[1].dp_nom,m_flow_IN_con[1].eta_nom,m_flow_IN_con[1].exp,m_flow_IN_con[1].exp_eta,m_flow_IN_con[1].m_flow_nom,m_flow_IN_con[1].rho_nom,m_flow_IN_con[2].dp_nom,m_flow_IN_con[2].eta_nom,m_flow_IN_con[2].exp,m_flow_IN_con[2].exp_eta,m_flow_IN_con[2].m_flow_nom,m_flow_IN_con[2].rho_nom,m_flow_IN_con[3].dp_nom,m_flow_IN_con[3].eta_nom,m_flow_IN_con[3].exp,m_flow_IN_con[3].exp_eta,m_flow_IN_con[3].m_flow_nom,m_flow_IN_con[3].rho_nom,m_flow_IN_var[1].eta,m_flow_IN_var[1].rho,m_flow_IN_var[2].eta,m_flow_IN_var[2].rho,m_flow_IN_var[3].eta,m_flow_IN_var[3].rho,m_flow_nom,n,nue,rho[1],rho[2],rho[3],rho_nom,time