Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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.StraightPipe.dp_overall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001674/0.001682, allocations: 114.6 kB / 17.09 MB, free: 6.004 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.001705/0.001706, allocations: 194.2 kB / 18.02 MB, free: 5.094 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.454/1.454, allocations: 205.1 MB / 223.9 MB, free: 12.29 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.2096/0.2096, allocations: 43.52 MB / 314.8 MB, free: 464 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.001401/0.001401, allocations: 63.89 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.11, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003322/0.1134, allocations: 1.826 MB / 0.4904 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004371/0.1178, allocations: 2.91 MB / 0.4932 GB, free: 7.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.1179, allocations: 0 / 0.4932 GB, free: 7.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002521/0.1182, allocations: 43.69 kB / 0.4932 GB, free: 6.977 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003071/0.1185, allocations: 79.64 kB / 0.4933 GB, free: 6.898 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001647/0.1202, allocations: 0.7277 MB / 0.494 GB, free: 6.168 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003419/0.1205, allocations: 238.7 kB / 0.4943 GB, free: 5.934 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.608e-05/0.1206, allocations: 32.38 kB / 0.4943 GB, free: 5.898 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000224/0.1208, allocations: 107.4 kB / 0.4944 GB, free: 5.793 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.121, allocations: 115.5 kB / 0.4945 GB, free: 5.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.501e-05/0.1211, allocations: 8 kB / 0.4945 GB, free: 5.672 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001816/0.1229, allocations: 1.212 MB / 0.4957 GB, free: 4.457 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.92e-05/0.123, allocations: 67.69 kB / 0.4958 GB, free: 4.391 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.1232, allocations: 119.2 kB / 0.4959 GB, free: 4.273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001596/0.1248, allocations: 0.9077 MB / 0.4968 GB, free: 3.363 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1248, allocations: 4 kB / 0.4968 GB, free: 3.359 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1248, allocations: 0 / 0.4968 GB, free: 3.359 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.1248, allocations: 0 / 0.4968 GB, free: 3.359 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001227/0.126, allocations: 0.6665 MB / 0.4974 GB, free: 2.648 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.873e-05/0.1261, allocations: 11.89 kB / 0.4974 GB, free: 2.637 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.1263, allocations: 40.55 kB / 0.4975 GB, free: 2.598 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003231/0.1266, allocations: 235.3 kB / 0.4977 GB, free: 2.328 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.1266, allocations: 20.56 kB / 0.4977 GB, free: 2.309 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.959e-05/0.1267, allocations: 27.98 kB / 0.4977 GB, free: 2.281 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007604/0.1275, allocations: 471.2 kB / 0.4982 GB, free: 1.809 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.1275, allocations: 0 / 0.4982 GB, free: 1.809 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.386e-05/0.1275, allocations: 11.98 kB / 0.4982 GB, free: 1.797 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.621e-05/0.1276, allocations: 44.97 kB / 0.4982 GB, free: 1.754 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008625/0.1285, allocations: 0.5504 MB / 0.4988 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001868/0.1303, allocations: 1.303 MB / 0.5 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005038/0.1309, allocations: 274.3 kB / 0.5003 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002006/0.1311, allocations: 104.8 kB / 0.5004 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.641e-05/0.1311, allocations: 8.375 kB / 0.5004 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.1311, allocations: 42.5 kB / 0.5005 GB, free: 15.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 3.085e-06/0.1312, allocations: 0 / 0.5005 GB, free: 15.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.000747/0.1319, allocations: 329.2 kB / 0.5008 GB, free: 15.01 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.132, allocations: 55.41 kB / 0.5008 GB, free: 14.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.1321, allocations: 138 kB / 0.501 GB, free: 14.8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.1321, allocations: 29.7 kB / 0.501 GB, free: 14.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.846e-05/0.1322, allocations: 195.9 kB / 0.5012 GB, free: 14.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.572e-05/0.1323, allocations: 94.62 kB / 0.5013 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.105e-05/0.1324, allocations: 69.59 kB / 0.5013 GB, free: 14.4 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1325, allocations: 326.8 kB / 0.5016 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/0.1327, allocations: 91.78 kB / 0.5017 GB, free: 13.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002532/0.133, allocations: 174.2 kB / 0.5019 GB, free: 13.78 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004729/0.1335, allocations: 302.7 kB / 0.5022 GB, free: 13.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.1335, allocations: 0 / 0.5022 GB, free: 13.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005961/0.1341, allocations: 321 kB / 0.5025 GB, free: 13.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.1341, allocations: 8.281 kB / 0.5025 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.1341, allocations: 8 kB / 0.5025 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.1342, allocations: 4 kB / 0.5025 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004998/0.1347, allocations: 123.9 kB / 0.5026 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/0.1361, allocations: 2.352 MB / 0.5049 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.1364, allocations: 39.67 kB / 0.505 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/0.1364, allocations: 15.94 kB / 0.505 GB, free: 10.48 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002123/0.1366, allocations: 181.8 kB / 0.5051 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.089e-05/0.1367, allocations: 15.81 kB / 0.5052 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000787/0.1375, allocations: 366.6 kB / 0.5055 GB, free: 9.914 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.1375, allocations: 0 / 0.5055 GB, free: 9.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.1375, allocations: 0 / 0.5055 GB, free: 9.914 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.011e-05/0.1376, allocations: 100.8 kB / 0.5056 GB, free: 9.797 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.1376, allocations: 15.94 kB / 0.5056 GB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.1378, allocations: 12 kB / 0.5056 GB, free: 9.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.966e-05/0.1378, allocations: 23.91 kB / 0.5057 GB, free: 9.746 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009481/0.1388, allocations: 465.1 kB / 0.5061 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008352/0.1396, allocations: 0.573 MB / 0.5067 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002255/0.1399, allocations: 112 kB / 0.5068 GB, free: 8.574 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.763e-05/0.14, allocations: 107 kB / 0.5069 GB, free: 8.473 MB / 398.1 MB Notification: Performance of Backend: time 4.41e-07/0.14, allocations: 4 kB / 0.5069 GB, free: 8.469 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001682/0.1417, allocations: 0.5141 MB / 0.5074 GB, free: 7.949 MB / 398.1 MB Notification: Performance of SimCode: time 0.001266/0.1429, allocations: 0.9776 MB / 0.5083 GB, free: 6.922 MB / 398.1 MB Notification: Performance of Templates: time 0.01209/0.1551, allocations: 6.962 MB / 0.5151 GB, free: 15.96 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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/StraightPipe/dp_overall_DPMFLOW/dp_overall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches