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_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|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_pressureLossCoefficient_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|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_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 113.3 kB / 18.45 MB, free: 4.602 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.001299/0.001299, allocations: 181.1 kB / 19.38 MB, free: 3.684 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.265/1.265, 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.1967/0.1967, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2972, allocations: 60.82 MB / 0.5196 GB, free: 3.867 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002566/0.2998, allocations: 1.678 MB / 0.5212 GB, free: 2.715 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.3009, allocations: 0.8013 MB / 0.522 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.23e-05/0.301, allocations: 1.438 kB / 0.522 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001986/0.3012, allocations: 38.61 kB / 0.522 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001396/0.3014, allocations: 54.94 kB / 0.5221 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.3016, allocations: 101.2 kB / 0.5222 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.3018, allocations: 148.5 kB / 0.5223 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.513e-05/0.3019, allocations: 20.55 kB / 0.5223 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.302, allocations: 64.5 kB / 0.5224 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.3021, allocations: 66.3 kB / 0.5225 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.3022, allocations: 3.312 kB / 0.5225 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002858/0.3025, allocations: 161.3 kB / 0.5226 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.025e-05/0.3025, allocations: 39.28 kB / 0.5227 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.066e-05/0.3026, allocations: 64.66 kB / 0.5227 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003151/0.3029, allocations: 203.6 kB / 0.5229 GB, free: 1.781 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3029, allocations: 0.75 kB / 0.5229 GB, free: 1.781 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.303, allocations: 0 / 0.5229 GB, free: 1.781 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.303, allocations: 1.156 kB / 0.5229 GB, free: 1.781 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005163/0.3035, allocations: 461 kB / 0.5234 GB, free: 1.359 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.3035, allocations: 10.52 kB / 0.5234 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004952/0.304, allocations: 69.38 kB / 0.5234 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.3042, allocations: 213.7 kB / 0.5236 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.3042, allocations: 14.16 kB / 0.5237 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.3043, allocations: 16.86 kB / 0.5237 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004457/0.3047, allocations: 234.8 kB / 0.5239 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.3047, allocations: 0.6562 kB / 0.5239 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.3047, allocations: 5.25 kB / 0.5239 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.835e-05/0.3048, allocations: 21.27 kB / 0.5239 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004166/0.3052, allocations: 223 kB / 0.5241 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000927/0.3061, allocations: 0.7292 MB / 0.5249 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.3064, allocations: 88.05 kB / 0.5249 GB, free: 348 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.3065, allocations: 53.16 kB / 0.525 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.3065, allocations: 5.5 kB / 0.525 GB, free: 324 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.3065, allocations: 38.5 kB / 0.525 GB, free: 276 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.954e-06/0.3066, allocations: 0 / 0.525 GB, free: 276 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004722/0.307, allocations: 173.7 kB / 0.5252 GB, free: 212 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.961e-05/0.3071, allocations: 53.34 kB / 0.5252 GB, free: 148 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.3072, allocations: 188 kB / 0.5254 GB, free: 16 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.748e-05/0.3072, allocations: 26.41 kB / 0.5254 GB, free: 15.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.249e-05/0.3073, allocations: 143.8 kB / 0.5256 GB, free: 15.86 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.3074, allocations: 21.36 kB / 0.5256 GB, free: 15.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7e-05/0.3074, allocations: 32.2 kB / 0.5256 GB, free: 15.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.3076, allocations: 326.9 kB / 0.5259 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.3077, allocations: 48.66 kB / 0.526 GB, free: 15.49 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.3079, allocations: 105.3 kB / 0.5261 GB, free: 15.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/0.3082, allocations: 153.3 kB / 0.5262 GB, free: 15.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3082, allocations: 1 kB / 0.5262 GB, free: 15.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003713/0.3086, allocations: 185.8 kB / 0.5264 GB, free: 15.24 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.3086, allocations: 14.73 kB / 0.5264 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.3086, allocations: 2.406 kB / 0.5264 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.3086, allocations: 2.531 kB / 0.5264 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008437/0.3095, allocations: 127.7 kB / 0.5266 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001075/0.3106, allocations: 1.82 MB / 0.5283 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.3107, allocations: 24.98 kB / 0.5284 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.3107, allocations: 5.5 kB / 0.5284 GB, free: 13.38 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 initialization (14): * Single equations (assignments): 11 * 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.0001086/0.3109, allocations: 141.5 kB / 0.5285 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.066e-05/0.3109, allocations: 18.33 kB / 0.5285 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004264/0.3113, allocations: 172.5 kB / 0.5287 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3113, allocations: 1.375 kB / 0.5287 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.3114, allocations: 5.359 kB / 0.5287 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3114, allocations: 3.938 kB / 0.5287 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.3116, allocations: 233.3 kB / 0.5289 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3116, allocations: 4 kB / 0.5289 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006678/0.3123, allocations: 108.5 kB / 0.529 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.3123, allocations: 1.375 kB / 0.529 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.3123, allocations: 1.375 kB / 0.529 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008854/0.3132, allocations: 1.782 MB / 0.5308 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.3132, allocations: 0 / 0.5308 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/0.3136, allocations: 241.7 kB / 0.531 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.368e-05/0.3136, allocations: 93.03 kB / 0.5311 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.3137, allocations: 1.375 kB / 0.5311 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.3138, allocations: 5.5 kB / 0.5311 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.3139, allocations: 10.73 kB / 0.5311 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.3139, allocations: 6.688 kB / 0.5311 GB, free: 10.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001032/0.314, allocations: 142.3 kB / 0.5312 GB, free: 10.63 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.314, allocations: 4 kB / 0.5312 GB, free: 10.62 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000309/0.3143, allocations: 43.69 kB / 0.5313 GB, free: 10.62 MB / 398.1 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 (11): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0001788/0.3145, allocations: 106.1 kB / 0.5314 GB, free: 10.52 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.3156, allocations: 229.6 kB / 0.5316 GB, free: 10.44 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3156, allocations: 0 / 0.5316 GB, free: 10.44 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006151/0.3163, allocations: 130.6 kB / 0.5317 GB, free: 10.38 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.3166, allocations: 45.12 kB / 0.5318 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006042/0.3173, allocations: 370.3 kB / 0.5321 GB, free: 10.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.3175, allocations: 0.739 MB / 0.5329 GB, free: 9.359 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.666e-05/0.3176, allocations: 15.47 kB / 0.5329 GB, free: 9.355 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3176, allocations: 4 kB / 0.5329 GB, free: 9.352 MB / 398.1 MB Notification: Performance of Templates: time 0.006391/0.324, allocations: 4.426 MB / 0.5372 GB, free: 7.031 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches