Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 107.4 kB / 17.09 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 191.1 kB / 18.02 MB, free: 5.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2185/0.2185, allocations: 43.52 MB / 314.8 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 67.89 kB / 442.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1068, allocations: 57.79 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003764/0.1106, allocations: 1.908 MB / 0.4904 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.1125, allocations: 1.146 MB / 0.4916 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.1126, allocations: 0 / 0.4916 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002615/0.1129, allocations: 67.61 kB / 0.4916 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002278/0.1131, allocations: 79.52 kB / 0.4917 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004627/0.1136, allocations: 155.3 kB / 0.4919 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003048/0.1139, allocations: 258.5 kB / 0.4921 GB, free: 8.145 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.763e-05/0.114, allocations: 40.72 kB / 0.4921 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.1142, allocations: 107.3 kB / 0.4922 GB, free: 8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.1144, allocations: 119.3 kB / 0.4924 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.1145, allocations: 8 kB / 0.4924 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005212/0.115, allocations: 319.5 kB / 0.4927 GB, free: 7.562 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.606e-05/0.1151, allocations: 51.7 kB / 0.4927 GB, free: 7.512 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.1152, allocations: 123.2 kB / 0.4928 GB, free: 7.391 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006297/0.1158, allocations: 434.1 kB / 0.4932 GB, free: 6.965 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.1158, allocations: 0 / 0.4932 GB, free: 6.965 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1159, allocations: 0 / 0.4932 GB, free: 6.965 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.1159, allocations: 0 / 0.4932 GB, free: 6.965 MB / 382.1 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.0007019/0.1166, allocations: 0.5771 MB / 0.4938 GB, free: 6.336 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.1166, allocations: 15.89 kB / 0.4938 GB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.717e-05/0.1167, allocations: 28.75 kB / 0.4939 GB, free: 6.293 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.117, allocations: 236 kB / 0.4941 GB, free: 6.023 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.117, allocations: 29.11 kB / 0.4941 GB, free: 5.996 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.228e-05/0.117, allocations: 43.92 kB / 0.4941 GB, free: 5.953 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007029/0.1178, allocations: 489.3 kB / 0.4946 GB, free: 5.461 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1178, allocations: 4 kB / 0.4946 GB, free: 5.457 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.888e-05/0.1178, allocations: 15.98 kB / 0.4946 GB, free: 5.441 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.036e-05/0.1179, allocations: 32.92 kB / 0.4947 GB, free: 5.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006807/0.1185, allocations: 423.7 kB / 0.4951 GB, free: 4.996 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.1203, allocations: 1.193 MB / 0.4962 GB, free: 3.707 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.1205, allocations: 74.47 kB / 0.4963 GB, free: 3.625 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.1206, allocations: 44.83 kB / 0.4963 GB, free: 3.578 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.105e-05/0.1206, allocations: 0 / 0.4963 GB, free: 3.578 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.1207, allocations: 30.56 kB / 0.4964 GB, free: 3.539 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.1207, allocations: 4 kB / 0.4964 GB, free: 3.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004733/0.1211, allocations: 149.7 kB / 0.4965 GB, free: 3.383 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.1212, allocations: 51.41 kB / 0.4966 GB, free: 3.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.1214, allocations: 170.4 kB / 0.4967 GB, free: 3.141 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.1214, allocations: 29.64 kB / 0.4968 GB, free: 3.105 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.1216, allocations: 231.8 kB / 0.497 GB, free: 2.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.1216, allocations: 27.78 kB / 0.497 GB, free: 2.848 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.1217, allocations: 57.66 kB / 0.4971 GB, free: 2.785 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1219, allocations: 326.8 kB / 0.4974 GB, free: 2.457 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.122, allocations: 51.95 kB / 0.4974 GB, free: 2.406 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.1223, allocations: 175.8 kB / 0.4976 GB, free: 2.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004297/0.1227, allocations: 236 kB / 0.4978 GB, free: 1.891 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.1228, allocations: 8 kB / 0.4978 GB, free: 1.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005117/0.1233, allocations: 253.6 kB / 0.4981 GB, free: 1.629 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.1233, allocations: 8 kB / 0.4981 GB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.1233, allocations: 4 kB / 0.4981 GB, free: 1.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.1234, allocations: 4 kB / 0.4981 GB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/0.1237, allocations: 91.89 kB / 0.4982 GB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008778/0.1246, allocations: 1.789 MB / 0.4999 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.1247, allocations: 35.77 kB / 0.5 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.239e-05/0.1248, allocations: 19.92 kB / 0.5 GB, free: 15.61 MB / 398.1 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 (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002214/0.125, allocations: 177.8 kB / 0.5001 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.572e-05/0.125, allocations: 15.95 kB / 0.5002 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004474/0.1255, allocations: 186 kB / 0.5003 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.1255, allocations: 7.922 kB / 0.5003 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1255, allocations: 0 / 0.5003 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.528e-05/0.1256, allocations: 89.05 kB / 0.5004 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.1256, allocations: 4 kB / 0.5004 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.754e-05/0.1257, allocations: 7.984 kB / 0.5004 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.1257, allocations: 7.938 kB / 0.5004 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005415/0.1263, allocations: 283.3 kB / 0.5007 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004639/0.1267, allocations: 351.1 kB / 0.5011 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001163/0.1269, allocations: 40.08 kB / 0.5011 GB, free: 14.4 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.746e-05/0.127, allocations: 116.1 kB / 0.5012 GB, free: 14.29 MB / 398.1 MB Notification: Performance of Backend: time 5.91e-07/0.127, allocations: 0 / 0.5012 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000914/0.1279, allocations: 275 kB / 0.5015 GB, free: 14.01 MB / 398.1 MB Notification: Performance of SimCode: time 0.0009191/0.1288, allocations: 0.9377 MB / 0.5024 GB, free: 13.02 MB / 398.1 MB Notification: Performance of Templates: time 0.007244/0.1361, allocations: 3.532 MB / 0.5058 GB, free: 9.508 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_nominalPressureLossLawDensity_DPMFLOW/dp_nominalPressureLossLawDensity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches