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_nominalDensityViscosity_DPMFLOW.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta.1.|eta.2.|eta.3.|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_nominalDensityViscosity_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta.1.|eta.2.|eta.3.|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_nominalDensityViscosity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 173.9 kB / 8.743 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 221.5 MB / 230.7 MB, free: 7.516 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008807/0.0008806, allocations: 99.8 kB / 281.6 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1846/0.1846, allocations: 44.15 MB / 376.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.114e-05/2.116e-05, allocations: 4.219 kB / 444.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1239, allocations: 61.91 MB / 0.4947 GB, free: 1.23 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3741/0.498, allocations: 91.44 MB / 0.584 GB, free: 5.047 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00032/0.4984, allocations: 91.94 kB / 0.5841 GB, free: 4.957 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01653/0.515, allocations: 6.026 MB / 0.59 GB, free: 14.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.515, allocations: 0 / 0.59 GB, free: 14.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.515, allocations: 4 kB / 0.59 GB, free: 14.84 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0005789/0.5156, allocations: 486.3 kB / 0.5904 GB, free: 14.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.5157, allocations: 11.98 kB / 0.5904 GB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001265/0.5169, allocations: 199.3 kB / 0.5906 GB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003523/0.5173, allocations: 266.7 kB / 0.5909 GB, free: 13.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.727e-05/0.5174, allocations: 12 kB / 0.5909 GB, free: 13.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.844e-05/0.5174, allocations: 23.89 kB / 0.5909 GB, free: 13.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007514/0.5182, allocations: 0.5008 MB / 0.5914 GB, free: 13.28 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005945/0.5188, allocations: 411.5 kB / 0.5918 GB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.5188, allocations: 0 / 0.5918 GB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.424e-05/0.5188, allocations: 3.984 kB / 0.5918 GB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.189e-05/0.5189, allocations: 16.56 kB / 0.5918 GB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001839/0.5207, allocations: 1.092 MB / 0.5929 GB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.521, allocations: 110.5 kB / 0.593 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.5211, allocations: 52.81 kB / 0.593 GB, free: 11.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.5211, allocations: 160 / 0.593 GB, free: 11.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.5211, allocations: 38.5 kB / 0.5931 GB, free: 11.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.5211, allocations: 0 / 0.5931 GB, free: 11.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.00038/0.5215, allocations: 133.5 kB / 0.5932 GB, free: 11.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.5216, allocations: 55.41 kB / 0.5933 GB, free: 11.26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.5217, allocations: 127.6 kB / 0.5934 GB, free: 11.13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/0.5217, allocations: 25.7 kB / 0.5934 GB, free: 11.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.5218, allocations: 188.5 kB / 0.5936 GB, free: 10.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/0.5219, allocations: 23.66 kB / 0.5936 GB, free: 10.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.983e-05/0.5219, allocations: 0 / 0.5936 GB, free: 10.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.5221, allocations: 322.8 kB / 0.5939 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.5222, allocations: 47.97 kB / 0.594 GB, free: 10.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.5223, allocations: 80.91 kB / 0.594 GB, free: 10.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.5225, allocations: 67.83 kB / 0.5941 GB, free: 10.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.5225, allocations: 0 / 0.5941 GB, free: 10.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003305/0.5228, allocations: 169.3 kB / 0.5943 GB, free: 10.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.5228, allocations: 13.08 kB / 0.5943 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.5229, allocations: 0 / 0.5943 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.5229, allocations: 8.094 kB / 0.5943 GB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004922/0.5278, allocations: 444.1 kB / 0.5947 GB, free: 9.738 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002578/0.5304, allocations: 1.922 MB / 0.5966 GB, free: 7.746 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003587/0.5308, allocations: 27.91 kB / 0.5966 GB, free: 7.719 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.5308, allocations: 7.984 kB / 0.5966 GB, free: 7.711 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.993e-05/0.5309, allocations: 109.1 kB / 0.5967 GB, free: 7.598 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.023e-05/0.531, allocations: 11.86 kB / 0.5967 GB, free: 7.586 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.982e-05/0.531, allocations: 8.625 kB / 0.5967 GB, free: 7.574 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.531, allocations: 4 kB / 0.5967 GB, free: 7.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.531, allocations: 0 / 0.5967 GB, free: 7.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.531, allocations: 0 / 0.5967 GB, free: 7.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000311/0.5313, allocations: 250 kB / 0.597 GB, free: 7.289 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.5314, allocations: 0 / 0.597 GB, free: 7.289 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004809/0.5362, allocations: 443.3 kB / 0.5974 GB, free: 6.855 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.5362, allocations: 3.953 kB / 0.5974 GB, free: 6.852 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/0.5362, allocations: 7.984 kB / 0.5974 GB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002558/0.5388, allocations: 1.926 MB / 0.5993 GB, free: 4.848 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5388, allocations: 0 / 0.5993 GB, free: 4.848 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.5391, allocations: 227.4 kB / 0.5995 GB, free: 4.609 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.033e-05/0.5392, allocations: 85 kB / 0.5996 GB, free: 4.508 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.5393, allocations: 7.953 kB / 0.5996 GB, free: 4.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003502/0.5396, allocations: 20.06 kB / 0.5996 GB, free: 4.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.849e-05/0.5397, allocations: 7.984 kB / 0.5996 GB, free: 4.473 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/0.5397, allocations: 11.98 kB / 0.5996 GB, free: 4.461 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.55e-05/0.5398, allocations: 101.2 kB / 0.5997 GB, free: 4.363 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5398, allocations: 0 / 0.5997 GB, free: 4.363 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003991/0.5402, allocations: 83.67 kB / 0.5998 GB, free: 4.281 MB / 410.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000249/0.5404, allocations: 143.2 kB / 0.5999 GB, free: 4.133 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004624/0.5451, allocations: 448.8 kB / 0.6004 GB, free: 3.695 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5451, allocations: 3.938 kB / 0.6004 GB, free: 3.691 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004321/0.5494, allocations: 395.6 kB / 0.6008 GB, free: 3.305 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.5498, allocations: 8.719 kB / 0.6008 GB, free: 3.297 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005887/0.5504, allocations: 278.3 kB / 0.601 GB, free: 3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.5507, allocations: 0.7859 MB / 0.6018 GB, free: 2.188 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001482/0.5509, allocations: 32.39 kB / 0.6018 GB, free: 2.156 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.75e-05/0.5509, allocations: 11.44 kB / 0.6018 GB, free: 2.145 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.5509, allocations: 0 / 0.6018 GB, free: 2.145 MB / 410.7 MB Notification: Performance of Templates: time 0.007532/0.5585, allocations: 4.084 MB / 0.6058 GB, free: 14.1 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches