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.001216/0.001216, allocations: 111.7 kB / 17.09 MB, free: 5.988 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.001297/0.001297, allocations: 200.2 kB / 18.02 MB, free: 5.066 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.5/1.5, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2196/0.2196, allocations: 43.53 MB / 314.8 MB, free: 460 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.001359/0.001359, allocations: 68.36 kB / 442.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.112, allocations: 57.8 MB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003698/0.1158, allocations: 1.908 MB / 0.4904 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002081/0.1179, allocations: 1.138 MB / 0.4916 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.1181, allocations: 4 kB / 0.4916 GB, free: 8.688 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003913/0.1185, allocations: 67.58 kB / 0.4916 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002673/0.1188, allocations: 75.53 kB / 0.4917 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005138/0.1193, allocations: 151.4 kB / 0.4918 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003096/0.1196, allocations: 258.4 kB / 0.4921 GB, free: 8.145 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.587e-05/0.1197, allocations: 40.72 kB / 0.4921 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.1199, allocations: 107.3 kB / 0.4922 GB, free: 8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.1201, allocations: 115.4 kB / 0.4923 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.1201, allocations: 11.94 kB / 0.4924 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005637/0.1207, allocations: 319.5 kB / 0.4927 GB, free: 7.562 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.851e-05/0.1208, allocations: 55.62 kB / 0.4927 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.1209, allocations: 115.2 kB / 0.4928 GB, free: 7.395 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006524/0.1216, allocations: 438.5 kB / 0.4932 GB, free: 6.965 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1216, allocations: 0 / 0.4932 GB, free: 6.965 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1216, allocations: 0 / 0.4932 GB, free: 6.965 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.1216, 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.0008324/0.1224, allocations: 0.5732 MB / 0.4938 GB, free: 6.344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.1225, allocations: 19.77 kB / 0.4938 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.283e-05/0.1226, allocations: 36.56 kB / 0.4939 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.1229, allocations: 228 kB / 0.4941 GB, free: 6.027 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.1229, allocations: 33.12 kB / 0.4941 GB, free: 5.996 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.044e-05/0.123, allocations: 28 kB / 0.4941 GB, free: 5.969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006969/0.1237, allocations: 497.4 kB / 0.4946 GB, free: 5.469 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1237, allocations: 0 / 0.4946 GB, free: 5.469 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/0.1237, allocations: 16 kB / 0.4946 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.185e-05/0.1238, allocations: 32.92 kB / 0.4947 GB, free: 5.422 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006211/0.1244, allocations: 423.7 kB / 0.4951 GB, free: 5.008 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.1258, allocations: 1.181 MB / 0.4962 GB, free: 3.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.126, allocations: 82.53 kB / 0.4963 GB, free: 3.641 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.1262, allocations: 40.83 kB / 0.4963 GB, free: 3.598 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/0.1262, allocations: 4.141 kB / 0.4963 GB, free: 3.594 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.1262, allocations: 42.48 kB / 0.4964 GB, free: 3.543 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.1262, allocations: 0 / 0.4964 GB, free: 3.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004372/0.1267, allocations: 153.5 kB / 0.4965 GB, free: 3.387 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.1267, allocations: 55.41 kB / 0.4966 GB, free: 3.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.1269, allocations: 162.3 kB / 0.4967 GB, free: 3.148 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.1269, allocations: 33.7 kB / 0.4968 GB, free: 3.109 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.127, allocations: 211.3 kB / 0.497 GB, free: 2.898 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.127, allocations: 31.64 kB / 0.497 GB, free: 2.867 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.679e-05/0.1271, allocations: 53.61 kB / 0.497 GB, free: 2.809 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1272, allocations: 326.8 kB / 0.4974 GB, free: 2.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.1274, allocations: 55.95 kB / 0.4974 GB, free: 2.426 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.1276, allocations: 172.1 kB / 0.4976 GB, free: 2.199 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003728/0.128, allocations: 248 kB / 0.4978 GB, free: 1.898 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.128, allocations: 0 / 0.4978 GB, free: 1.898 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004519/0.1284, allocations: 241.6 kB / 0.498 GB, free: 1.656 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.1285, allocations: 12.06 kB / 0.498 GB, free: 1.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.1285, allocations: 4 kB / 0.4981 GB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.1285, allocations: 11.94 kB / 0.4981 GB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/0.1288, allocations: 87.89 kB / 0.4981 GB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009826/0.1298, allocations: 1.781 MB / 0.4999 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.13, allocations: 35.67 kB / 0.4999 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.13, allocations: 16 kB / 0.4999 GB, free: 15.64 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.0002681/0.1303, allocations: 181.7 kB / 0.5001 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.542e-05/0.1303, allocations: 8.094 kB / 0.5001 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004459/0.1308, allocations: 201.9 kB / 0.5003 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.1308, allocations: 3.938 kB / 0.5003 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1308, allocations: 0 / 0.5003 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/0.1309, allocations: 85.02 kB / 0.5004 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.1309, allocations: 0 / 0.5004 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.037e-05/0.131, allocations: 7.984 kB / 0.5004 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.131, allocations: 12 kB / 0.5004 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005103/0.1316, allocations: 275.4 kB / 0.5007 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004264/0.132, allocations: 358.4 kB / 0.501 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001083/0.1321, allocations: 36.64 kB / 0.5011 GB, free: 14.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.297e-05/0.1322, allocations: 116.1 kB / 0.5012 GB, free: 14.32 MB / 398.1 MB Notification: Performance of Backend: time 4.51e-07/0.1322, allocations: 0 / 0.5012 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008526/0.1331, allocations: 269.9 kB / 0.5014 GB, free: 14.05 MB / 398.1 MB Notification: Performance of SimCode: time 0.0009503/0.134, allocations: 0.9452 MB / 0.5023 GB, free: 13.05 MB / 398.1 MB Notification: Performance of Templates: time 0.007703/0.1417, allocations: 3.574 MB / 0.5058 GB, free: 9.504 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