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.001615/0.001615, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.002079/0.002079, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.381/1.381, allocations: 222.9 MB / 243 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.2119/0.2119, allocations: 44.18 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 71.08 kB / 409.9 MB, free: 26.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1052, allocations: 60.83 MB / 470.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002905/0.1082, allocations: 1.672 MB / 472.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.1095, allocations: 0.7984 MB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.52e-05/0.1095, allocations: 0 / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002248/0.1098, allocations: 39.83 kB / 473.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001601/0.1099, allocations: 51.67 kB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.1102, allocations: 95.64 kB / 473.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000202/0.1105, allocations: 155.2 kB / 473.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.137e-05/0.1105, allocations: 9.125 kB / 473.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.1106, allocations: 71.64 kB / 473.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.1108, allocations: 71.67 kB / 473.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.1108, allocations: 4 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000278/0.1111, allocations: 159.8 kB / 473.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.741e-05/0.1112, allocations: 39.83 kB / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.053e-05/0.1112, allocations: 63.61 kB / 473.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.1115, allocations: 207.3 kB / 474.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1116, allocations: 4 kB / 474.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1116, allocations: 4 kB / 474.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1116, allocations: 0 / 474.1 MB, free: 10.18 MB / 350.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.0005771/0.1122, allocations: 455 kB / 474.6 MB, free: 9.684 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.1122, allocations: 15.97 kB / 474.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000497/0.1127, allocations: 72.67 kB / 474.7 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.1129, allocations: 212.1 kB / 474.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.113, allocations: 4.375 kB / 474.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.038e-05/0.113, allocations: 20.11 kB / 474.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004435/0.1134, allocations: 242.5 kB / 475.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.1135, allocations: 0 / 475.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.1135, allocations: 4 kB / 475.2 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.398e-05/0.1135, allocations: 19.98 kB / 475.2 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004199/0.114, allocations: 227.5 kB / 475.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.115, allocations: 0.7246 MB / 476.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.1153, allocations: 90.48 kB / 476.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.1154, allocations: 52.81 kB / 476.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.1154, allocations: 0 / 476.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.1154, allocations: 34.5 kB / 476.3 MB, free: 7.828 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.1155, allocations: 4 kB / 476.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005229/0.116, allocations: 173.3 kB / 476.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.116, allocations: 51.41 kB / 476.5 MB, free: 7.586 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.1162, allocations: 187.3 kB / 476.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.1162, allocations: 25.7 kB / 476.7 MB, free: 7.359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.051e-05/0.1163, allocations: 139.4 kB / 476.9 MB, free: 7.219 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.1164, allocations: 31.78 kB / 476.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.058e-05/0.1164, allocations: 37.7 kB / 476.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.1165, allocations: 318.8 kB / 477.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.1167, allocations: 47.94 kB / 477.3 MB, free: 6.777 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.1168, allocations: 102.1 kB / 477.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002847/0.1171, allocations: 158.6 kB / 477.5 MB, free: 6.477 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1172, allocations: 3.938 kB / 477.5 MB, free: 6.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003673/0.1175, allocations: 181.2 kB / 477.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1176, allocations: 11.88 kB / 477.7 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1176, allocations: 8.219 kB / 477.7 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.1176, allocations: 0 / 477.7 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008518/0.1184, allocations: 119.8 kB / 477.9 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001178/0.1196, allocations: 1.821 MB / 479.7 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.1198, allocations: 24.11 kB / 479.7 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.1198, allocations: 12 kB / 479.7 MB, free: 4.227 MB / 350.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.0001183/0.1199, allocations: 141.8 kB / 479.9 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-05/0.12, allocations: 11.84 kB / 479.9 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004594/0.1205, allocations: 178.8 kB / 480 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1205, allocations: 0 / 480 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1205, allocations: 0 / 480 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1205, allocations: 0 / 480 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/0.1207, allocations: 237.5 kB / 480.3 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1207, allocations: 0 / 480.3 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006871/0.1214, allocations: 103.9 kB / 480.4 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.1215, allocations: 7.938 kB / 480.4 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.1215, allocations: 3.984 kB / 480.4 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000959/0.1224, allocations: 1.793 MB / 482.2 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1225, allocations: 0 / 482.2 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003452/0.1228, allocations: 235.5 kB / 482.4 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.92e-05/0.1229, allocations: 96.86 kB / 482.5 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.1229, allocations: 4 kB / 482.5 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.123, allocations: 7.984 kB / 482.5 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.1231, allocations: 7.984 kB / 482.5 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.1231, allocations: 8 kB / 482.5 MB, free: 1.246 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.1232, allocations: 131.9 kB / 482.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1232, allocations: 0 / 482.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003046/0.1235, allocations: 43.91 kB / 482.7 MB, free: 1.074 MB / 350.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.0001791/0.1237, allocations: 123.1 kB / 482.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001208/0.1249, allocations: 228.1 kB / 483 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.125, allocations: 0 / 483 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006243/0.1256, allocations: 127.8 kB / 483.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.126, allocations: 48.25 kB / 483.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006017/0.1266, allocations: 339.1 kB / 483.5 MB, free: 196 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.1269, allocations: 0.7358 MB / 484.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001128/0.127, allocations: 37.34 kB / 484.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.43e-05/0.1271, allocations: 15.44 kB / 484.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of SimCode: time 1.563e-06/0.1271, allocations: 4 kB / 484.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of Templates: time 0.00624/0.1334, allocations: 3.022 MB / 487.4 MB, free: 12.4 MB / 366.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 -s gbode -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