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_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.277/2.277, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006173/0.0006175, allocations: 12 kB / 314.4 MB, free: 9.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3616, allocations: 54.87 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.002746/0.3644, allocations: 1.541 MB / 370.8 MB, free: 9.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00219/0.3667, allocations: 0.9992 MB / 371.8 MB, free: 8.156 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.3668, allocations: 0 / 371.8 MB, free: 8.156 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003646/0.3672, allocations: 67.7 kB / 371.9 MB, free: 8.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.3675, allocations: 63.75 kB / 372 MB, free: 8.027 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005483/0.368, allocations: 111.7 kB / 372.1 MB, free: 7.918 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003411/0.3684, allocations: 195.5 kB / 372.3 MB, free: 7.727 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.3685, allocations: 28.73 kB / 372.3 MB, free: 7.699 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001903/0.3687, allocations: 91.56 kB / 372.4 MB, free: 7.609 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.3689, allocations: 91.55 kB / 372.5 MB, free: 7.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.865e-05/0.3689, allocations: 8 kB / 372.5 MB, free: 7.512 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007914/0.3697, allocations: 315.5 kB / 372.8 MB, free: 7.203 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.073e-05/0.3698, allocations: 51.77 kB / 372.8 MB, free: 7.152 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.167e-05/0.3699, allocations: 61.58 kB / 372.9 MB, free: 7.086 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005654/0.3705, allocations: 276.4 kB / 373.2 MB, free: 6.816 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.3705, allocations: 0 / 373.2 MB, free: 6.816 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.427e-06/0.3706, allocations: 8 kB / 373.2 MB, free: 6.809 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.3706, allocations: 0 / 373.2 MB, free: 6.809 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0008594/0.3714, allocations: 0.5306 MB / 373.7 MB, free: 6.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.3715, allocations: 12.03 kB / 373.7 MB, free: 6.219 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001019/0.3716, allocations: 70.53 kB / 373.8 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.067e-05/0.3717, allocations: 31.62 kB / 373.8 MB, free: 6.109 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.3721, allocations: 234.7 kB / 374 MB, free: 5.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.103e-05/0.3721, allocations: 28.94 kB / 374.1 MB, free: 5.812 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.309e-05/0.3722, allocations: 32 kB / 374.1 MB, free: 5.781 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.3733, allocations: 0.4896 MB / 374.6 MB, free: 5.273 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.3733, allocations: 0 / 374.6 MB, free: 5.273 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.868e-05/0.3734, allocations: 15.94 kB / 374.6 MB, free: 5.258 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.435e-05/0.3735, allocations: 32.98 kB / 374.6 MB, free: 5.227 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.3746, allocations: 439.6 kB / 375.1 MB, free: 4.797 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002232/0.3768, allocations: 1.209 MB / 376.3 MB, free: 3.488 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/0.3771, allocations: 74.53 kB / 376.4 MB, free: 3.406 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.943e-05/0.3772, allocations: 4 kB / 376.4 MB, free: 3.402 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.3772, allocations: 42.48 kB / 376.4 MB, free: 3.352 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 2.655e-06/0.3773, allocations: 0 / 376.4 MB, free: 3.352 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.000765/0.378, allocations: 173.4 kB / 376.6 MB, free: 3.176 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.3781, allocations: 55.41 kB / 376.6 MB, free: 3.109 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.3783, allocations: 174.2 kB / 376.8 MB, free: 2.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.3784, allocations: 25.7 kB / 376.8 MB, free: 2.898 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.3785, allocations: 286 kB / 377.1 MB, free: 2.617 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/0.3786, allocations: 31.55 kB / 377.1 MB, free: 2.586 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.49e-05/0.3786, allocations: 4 kB / 377.1 MB, free: 2.582 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.3787, allocations: 322.8 kB / 377.4 MB, free: 2.258 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002416/0.379, allocations: 63.89 kB / 377.5 MB, free: 2.195 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003268/0.3793, allocations: 172.2 kB / 377.7 MB, free: 1.969 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.3797, allocations: 87.89 kB / 377.8 MB, free: 1.883 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.3797, allocations: 0 / 377.8 MB, free: 1.883 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007898/0.3805, allocations: 257.1 kB / 378 MB, free: 1.625 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.3805, allocations: 7.953 kB / 378 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.3805, allocations: 4 kB / 378 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.681e-05/0.3806, allocations: 8 kB / 378 MB, free: 1.605 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005862/0.3812, allocations: 92.44 kB / 378.1 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/0.3823, allocations: 1.778 MB / 379.9 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002499/0.3826, allocations: 35.67 kB / 379.9 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/0.3827, allocations: 16 kB / 380 MB, free: 15.62 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * 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.0003216/0.383, allocations: 174.2 kB / 380.1 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.819e-05/0.3831, allocations: 7.906 kB / 380.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009535/0.384, allocations: 225.8 kB / 380.4 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.3841, allocations: 4 kB / 380.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.3841, allocations: 3.938 kB / 380.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3841, allocations: 0 / 380.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004692/0.3846, allocations: 289.5 kB / 380.6 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3846, allocations: 4 kB / 380.6 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004127/0.385, allocations: 59.95 kB / 380.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.385, allocations: 0 / 380.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.385, allocations: 4 kB / 380.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001107/0.3862, allocations: 1.774 MB / 382.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3862, allocations: 4.094 kB / 382.5 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005446/0.3867, allocations: 231.3 kB / 382.7 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.085e-05/0.3868, allocations: 84.95 kB / 382.8 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/0.3869, allocations: 8 kB / 382.8 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.387, allocations: 11.94 kB / 382.8 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.187e-05/0.3871, allocations: 15.97 kB / 382.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.3871, allocations: 8 kB / 382.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001239/0.3873, allocations: 111.2 kB / 382.9 MB, free: 12.46 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.3873, allocations: 0 / 382.9 MB, free: 12.46 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005956/0.3879, allocations: 95.53 kB / 383 MB, free: 12.36 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.001089/0.389, allocations: 0.805 MB / 383.8 MB, free: 11.53 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009468/0.39, allocations: 196.5 kB / 384 MB, free: 11.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.39, allocations: 0 / 384 MB, free: 11.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005389/0.3905, allocations: 101 kB / 384.1 MB, free: 11.24 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.3908, allocations: 15.89 kB / 384.2 MB, free: 11.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002689/0.3935, allocations: 1.286 MB / 385.4 MB, free: 9.844 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/0.394, allocations: 0.7982 MB / 386.2 MB, free: 9.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.3942, allocations: 75.41 kB / 386.3 MB, free: 8.945 MB / 314.7 MB Notification: Performance of SimCode: time 8.82e-07/0.3942, allocations: 0 / 386.3 MB, free: 8.945 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.851/3.245, allocations: 7.891 MB / 394.2 MB, free: 1.051 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat failed! " Variables in the reference:time,A_cross,A_cross_nom,dp_nom,m_flow_nom,exp,NominalMassFlowRate,V_flow_nom,zeta_TOT,zeta_TOT_nom,rho_nom,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:A_cross,A_cross_nom,DP[1],DP[2],DP[3],DP_plot[1],DP_plot[2],DP_plot[3],M_FLOW[1],M_FLOW[2],M_FLOW[3],NominalMassFlowRate,V_flow_nom,dp_IN_con[1].A_cross,dp_IN_con[1].A_cross_nom,dp_IN_con[1].V_flow_nom,dp_IN_con[1].dp_nom,dp_IN_con[1].exp,dp_IN_con[1].m_flow_nom,dp_IN_con[1].rho_nom,dp_IN_con[1].target,dp_IN_con[1].zeta_TOT_nom,dp_IN_con[2].A_cross,dp_IN_con[2].A_cross_nom,dp_IN_con[2].V_flow_nom,dp_IN_con[2].dp_nom,dp_IN_con[2].exp,dp_IN_con[2].m_flow_nom,dp_IN_con[2].rho_nom,dp_IN_con[2].target,dp_IN_con[2].zeta_TOT_nom,dp_IN_con[3].A_cross,dp_IN_con[3].A_cross_nom,dp_IN_con[3].V_flow_nom,dp_IN_con[3].dp_nom,dp_IN_con[3].exp,dp_IN_con[3].m_flow_nom,dp_IN_con[3].rho_nom,dp_IN_con[3].target,dp_IN_con[3].zeta_TOT_nom,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,dp_nom,exp,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].A_cross_nom,m_flow_IN_con[1].V_flow_nom,m_flow_IN_con[1].dp_nom,m_flow_IN_con[1].exp,m_flow_IN_con[1].m_flow_nom,m_flow_IN_con[1].rho_nom,m_flow_IN_con[1].target,m_flow_IN_con[1].zeta_TOT_nom,m_flow_IN_con[2].A_cross,m_flow_IN_con[2].A_cross_nom,m_flow_IN_con[2].V_flow_nom,m_flow_IN_con[2].dp_nom,m_flow_IN_con[2].exp,m_flow_IN_con[2].m_flow_nom,m_flow_IN_con[2].rho_nom,m_flow_IN_con[2].target,m_flow_IN_con[2].zeta_TOT_nom,m_flow_IN_con[3].A_cross,m_flow_IN_con[3].A_cross_nom,m_flow_IN_con[3].V_flow_nom,m_flow_IN_con[3].dp_nom,m_flow_IN_con[3].exp,m_flow_IN_con[3].m_flow_nom,m_flow_IN_con[3].rho_nom,m_flow_IN_con[3].target,m_flow_IN_con[3].zeta_TOT_nom,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,m_flow_nom,n,rho[1],rho[2],rho[3],rho_nom,time,zeta_TOT,zeta_TOT_nom