Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001448/0.001449, allocations: 110.6 kB / 18.45 MB, free: 4.617 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.001871/0.001871, allocations: 187.1 kB / 19.38 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.209/0.209, allocations: 44.19 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 55.91 kB / 471.3 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3263, allocations: 60.82 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.002932/0.3292, allocations: 1.904 MB / 0.5215 GB, free: 2.312 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.3308, allocations: 1.102 MB / 0.5225 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.466e-05/0.3308, allocations: 2.125 kB / 0.5225 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000307/0.3312, allocations: 67.33 kB / 0.5226 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001834/0.3314, allocations: 82.38 kB / 0.5227 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004131/0.3318, allocations: 148.9 kB / 0.5228 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002586/0.3321, allocations: 267.2 kB / 0.5231 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.892e-05/0.3321, allocations: 39.25 kB / 0.5231 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.3323, allocations: 101.1 kB / 0.5232 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.3325, allocations: 123.4 kB / 0.5233 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.3325, allocations: 10.66 kB / 0.5233 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005195/0.333, allocations: 318 kB / 0.5236 GB, free: 1.039 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.021e-05/0.3331, allocations: 54.58 kB / 0.5237 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.3332, allocations: 119.6 kB / 0.5238 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005295/0.3337, allocations: 430 kB / 0.5242 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3337, allocations: 0 / 0.5242 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3337, allocations: 0 / 0.5242 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.3338, allocations: 1.062 kB / 0.5242 GB, free: 0.7773 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.0006338/0.3344, allocations: 0.5732 MB / 0.5248 GB, free: 296 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.3345, allocations: 10.14 kB / 0.5248 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.492e-05/0.3345, allocations: 31 kB / 0.5248 GB, free: 280 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.3348, allocations: 243.3 kB / 0.5251 GB, free: 40 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.3348, allocations: 25.5 kB / 0.5251 GB, free: 28 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.228e-05/0.3348, allocations: 37.36 kB / 0.5251 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00075/0.3356, allocations: 494 kB / 0.5256 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3356, allocations: 0 / 0.5256 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.873e-05/0.3356, allocations: 15.31 kB / 0.5256 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.041e-05/0.3357, allocations: 28.73 kB / 0.5256 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006535/0.3363, allocations: 428.5 kB / 0.526 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.3379, allocations: 1.17 MB / 0.5272 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.3381, allocations: 72.66 kB / 0.5272 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.3382, allocations: 41.61 kB / 0.5273 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.3382, allocations: 10.34 kB / 0.5273 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.3383, allocations: 31.69 kB / 0.5273 GB, free: 14.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 2.715e-06/0.3383, allocations: 4 kB / 0.5273 GB, free: 14.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004727/0.3387, allocations: 152.2 kB / 0.5275 GB, free: 14.58 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.3388, allocations: 52.81 kB / 0.5275 GB, free: 14.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.3389, allocations: 175.1 kB / 0.5277 GB, free: 14.37 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.339, allocations: 25.7 kB / 0.5277 GB, free: 14.34 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.3391, allocations: 220 kB / 0.5279 GB, free: 14.14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.3391, allocations: 27.77 kB / 0.528 GB, free: 14.11 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.06e-05/0.3392, allocations: 60.98 kB / 0.528 GB, free: 14.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.3393, allocations: 321.6 kB / 0.5283 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.3394, allocations: 50.2 kB / 0.5284 GB, free: 13.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/0.3397, allocations: 177.4 kB / 0.5285 GB, free: 13.54 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003569/0.3401, allocations: 246.9 kB / 0.5288 GB, free: 13.31 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3401, allocations: 1.594 kB / 0.5288 GB, free: 13.31 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004613/0.3405, allocations: 245.4 kB / 0.529 GB, free: 13.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3406, allocations: 7.688 kB / 0.529 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.3406, allocations: 4.125 kB / 0.529 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.3406, allocations: 9.312 kB / 0.529 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003498/0.341, allocations: 84.75 kB / 0.5291 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009218/0.3419, allocations: 1.788 MB / 0.5309 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.342, allocations: 31.27 kB / 0.5309 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.3421, allocations: 11.75 kB / 0.5309 GB, free: 11.34 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.0002323/0.3423, allocations: 188.2 kB / 0.5311 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.015e-05/0.3424, allocations: 12.78 kB / 0.5311 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004945/0.3429, allocations: 186.6 kB / 0.5313 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3429, allocations: 8.938 kB / 0.5313 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3429, allocations: 0 / 0.5313 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.3429, allocations: 83.11 kB / 0.5314 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.343, allocations: 5.781 kB / 0.5314 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.381e-05/0.3431, allocations: 6.922 kB / 0.5314 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.3431, allocations: 9.922 kB / 0.5314 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005744/0.3437, allocations: 273.7 kB / 0.5316 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004847/0.3442, allocations: 358.1 kB / 0.532 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001251/0.3443, allocations: 43.69 kB / 0.532 GB, free: 10.44 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.401e-05/0.3444, allocations: 114.6 kB / 0.5321 GB, free: 10.35 MB / 398.1 MB Notification: Performance of Backend: time 2.41e-07/0.3444, allocations: 0 / 0.5321 GB, free: 10.35 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009463/0.3454, allocations: 275.1 kB / 0.5324 GB, free: 10.21 MB / 398.1 MB Notification: Performance of SimCode: time 0.001006/0.3464, allocations: 0.9262 MB / 0.5333 GB, free: 9.422 MB / 398.1 MB Notification: Performance of Templates: time 0.00788/0.3543, allocations: 3.548 MB / 0.5368 GB, free: 7.684 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_nominalPressureLossLawDensity_DPMFLOW/dp_nominalPressureLossLawDensity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches