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.001127/0.001127, allocations: 109.4 kB / 17.78 MB, free: 5.25 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.001287/0.001287, allocations: 188.1 kB / 18.71 MB, free: 4.324 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.311/1.311, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2049/0.2049, allocations: 44.19 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 59.91 kB / 470.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3613, allocations: 60.82 MB / 0.5189 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002451/0.3638, allocations: 1.679 MB / 0.5206 GB, free: 2.477 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.3649, allocations: 0.7941 MB / 0.5213 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.811e-05/0.3649, allocations: 6.438 kB / 0.5213 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002116/0.3652, allocations: 29.48 kB / 0.5214 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001468/0.3653, allocations: 63.31 kB / 0.5214 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.3656, allocations: 102 kB / 0.5215 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.3658, allocations: 152.2 kB / 0.5217 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.599e-05/0.3659, allocations: 15.27 kB / 0.5217 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.366, allocations: 72.7 kB / 0.5218 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.3661, allocations: 66.28 kB / 0.5218 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.3661, allocations: 4.469 kB / 0.5218 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002764/0.3664, allocations: 160.8 kB / 0.522 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.025e-05/0.3665, allocations: 40.62 kB / 0.522 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.345e-05/0.3666, allocations: 62.97 kB / 0.5221 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.3669, allocations: 199.9 kB / 0.5223 GB, free: 1.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3669, allocations: 0.75 kB / 0.5223 GB, free: 1.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3669, allocations: 4 kB / 0.5223 GB, free: 1.539 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.3669, allocations: 0.7812 kB / 0.5223 GB, free: 1.539 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.0005342/0.3674, allocations: 457.2 kB / 0.5227 GB, free: 1.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.3675, allocations: 10.41 kB / 0.5227 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000476/0.368, allocations: 69.53 kB / 0.5228 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.3682, allocations: 214.2 kB / 0.523 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.3682, allocations: 15.41 kB / 0.523 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.3682, allocations: 18.61 kB / 0.523 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004354/0.3687, allocations: 235.2 kB / 0.5232 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.3687, allocations: 0 / 0.5232 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.3687, allocations: 6.188 kB / 0.5233 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-05/0.3687, allocations: 16.58 kB / 0.5233 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004513/0.3692, allocations: 224.6 kB / 0.5235 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.3702, allocations: 0.7281 MB / 0.5242 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.3704, allocations: 89.11 kB / 0.5243 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.3706, allocations: 46.67 kB / 0.5243 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.3706, allocations: 1.672 kB / 0.5243 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.17e-05/0.3706, allocations: 35.81 kB / 0.5244 GB, free: 44 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.3706, allocations: 4 kB / 0.5244 GB, free: 40 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005082/0.3711, allocations: 169.5 kB / 0.5245 GB, free: 15.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.3712, allocations: 53.89 kB / 0.5246 GB, free: 15.92 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.3714, allocations: 188.5 kB / 0.5248 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.3714, allocations: 26.27 kB / 0.5248 GB, free: 15.76 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.436e-05/0.3715, allocations: 143.3 kB / 0.5249 GB, free: 15.63 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.3715, allocations: 21.27 kB / 0.5249 GB, free: 15.61 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.476e-05/0.3716, allocations: 36.08 kB / 0.525 GB, free: 15.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.3717, allocations: 331.8 kB / 0.5253 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.3719, allocations: 47.16 kB / 0.5253 GB, free: 15.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.3721, allocations: 110.3 kB / 0.5254 GB, free: 15.17 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003311/0.3724, allocations: 153.1 kB / 0.5256 GB, free: 15.08 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.3724, allocations: 1.375 kB / 0.5256 GB, free: 15.08 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004659/0.3729, allocations: 189.5 kB / 0.5258 GB, free: 15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.3729, allocations: 10.19 kB / 0.5258 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.3729, allocations: 2.969 kB / 0.5258 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.373, allocations: 6.75 kB / 0.5258 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009143/0.3739, allocations: 121.8 kB / 0.5259 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/0.3751, allocations: 1.818 MB / 0.5277 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.3753, allocations: 20.66 kB / 0.5277 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.3753, allocations: 10.97 kB / 0.5277 GB, free: 13.2 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.0001581/0.3755, allocations: 139.9 kB / 0.5278 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.915e-05/0.3755, allocations: 14.11 kB / 0.5279 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004765/0.376, allocations: 178.6 kB / 0.528 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.376, allocations: 1.125 kB / 0.528 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.376, allocations: 9 kB / 0.528 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.3761, allocations: 0 / 0.528 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003154/0.3764, allocations: 232.5 kB / 0.5283 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3764, allocations: 1.125 kB / 0.5283 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007601/0.3772, allocations: 113.4 kB / 0.5284 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.3772, allocations: 3.984 kB / 0.5284 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.3772, allocations: 1.188 kB / 0.5284 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001085/0.3783, allocations: 1.782 MB / 0.5301 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3783, allocations: 1.188 kB / 0.5301 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004068/0.3787, allocations: 244.9 kB / 0.5303 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.597e-05/0.3788, allocations: 87.86 kB / 0.5304 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.3788, allocations: 1.531 kB / 0.5304 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.379, allocations: 9.297 kB / 0.5304 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.641e-05/0.379, allocations: 16.86 kB / 0.5305 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-06/0.379, allocations: 1.5 kB / 0.5305 GB, free: 10.55 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001156/0.3792, allocations: 138.3 kB / 0.5306 GB, free: 10.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3792, allocations: 0 / 0.5306 GB, free: 10.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003476/0.3795, allocations: 42.75 kB / 0.5306 GB, free: 10.44 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.0001983/0.3797, allocations: 111.8 kB / 0.5307 GB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001191/0.3809, allocations: 232 kB / 0.531 GB, free: 10.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3809, allocations: 0 / 0.531 GB, free: 10.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006668/0.3816, allocations: 126.3 kB / 0.5311 GB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.382, allocations: 45.62 kB / 0.5311 GB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006675/0.3827, allocations: 341.3 kB / 0.5314 GB, free: 9.941 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.383, allocations: 0.7313 MB / 0.5322 GB, free: 9.223 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001114/0.3832, allocations: 36.72 kB / 0.5322 GB, free: 9.207 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.641e-05/0.3832, allocations: 17.88 kB / 0.5322 GB, free: 9.195 MB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3832, allocations: 1.219 kB / 0.5322 GB, free: 9.195 MB / 398.1 MB Notification: Performance of Templates: time 0.006623/0.3898, allocations: 3.145 MB / 0.5353 GB, free: 7.625 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/jenkins/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/jenkins/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