Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000728/0.000728, allocations: 96.5 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001079/0.001079, allocations: 207.8 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, allocations: 227.7 MB / 247.5 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1864/0.1864, allocations: 46.18 MB / 345.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000261/0.000261, allocations: 8 kB / 420.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.101, allocations: 63.57 MB / 483.8 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.002152/0.1032, allocations: 1.631 MB / 485.4 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.1051, allocations: 1.141 MB / 486.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.1052, allocations: 4 kB / 486.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003232/0.1056, allocations: 59.66 kB / 486.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002231/0.1058, allocations: 71.59 kB / 486.7 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004286/0.1062, allocations: 127.6 kB / 486.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003411/0.1066, allocations: 314.3 kB / 487.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.413e-05/0.1067, allocations: 37.02 kB / 487.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000224/0.1069, allocations: 103.3 kB / 487.2 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.1071, allocations: 127.3 kB / 487.4 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.1071, allocations: 12 kB / 487.4 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004823/0.1076, allocations: 315.5 kB / 487.7 MB, free: 196 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.822e-05/0.1077, allocations: 51.7 kB / 487.7 MB, free: 144 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.1079, allocations: 141 kB / 487.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003764/0.1082, allocations: 299 kB / 488.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1083, allocations: 0 / 488.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.057e-06/0.1083, allocations: 4 kB / 488.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1083, allocations: 0 / 488.2 MB, free: 15.7 MB / 366.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.0006832/0.109, allocations: 0.5153 MB / 488.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.109, allocations: 12.88 kB / 488.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.059e-05/0.1091, allocations: 32.56 kB / 488.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.1093, allocations: 231.9 kB / 489 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/0.1094, allocations: 37.11 kB / 489 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.885e-05/0.1094, allocations: 31.94 kB / 489 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006951/0.1101, allocations: 0.4974 MB / 489.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1101, allocations: 0 / 489.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.1102, allocations: 12 kB / 489.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.785e-05/0.1102, allocations: 28.98 kB / 489.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006468/0.1109, allocations: 439.7 kB / 490 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/0.1123, allocations: 1.181 MB / 491.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.1125, allocations: 86.47 kB / 491.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.1127, allocations: 44.83 kB / 491.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.1127, allocations: 4 kB / 491.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.1127, allocations: 34.56 kB / 491.3 MB, free: 12.31 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.1127, allocations: 0 / 491.3 MB, free: 12.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004881/0.1132, allocations: 177.6 kB / 491.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.1133, allocations: 55.34 kB / 491.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.1134, allocations: 170.2 kB / 491.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.1135, allocations: 29.7 kB / 491.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.1136, allocations: 215.2 kB / 492 MB, free: 11.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.1136, allocations: 27.64 kB / 492 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.1137, allocations: 29.7 kB / 492 MB, free: 11.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.1138, allocations: 318.8 kB / 492.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.114, allocations: 63.95 kB / 492.4 MB, free: 11.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.1142, allocations: 168.3 kB / 492.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003756/0.1146, allocations: 267.9 kB / 492.8 MB, free: 10.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1146, allocations: 0 / 492.8 MB, free: 10.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004779/0.115, allocations: 261.4 kB / 493.1 MB, free: 10.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.1151, allocations: 8 kB / 493.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.1151, allocations: 8.562 kB / 493.1 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.1151, allocations: 8 kB / 493.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003242/0.1154, allocations: 87.91 kB / 493.2 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008524/0.1163, allocations: 1.785 MB / 495 MB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.1165, allocations: 31.73 kB / 495 MB, free: 8.391 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.1165, allocations: 19.98 kB / 495 MB, free: 8.371 MB / 366.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.0002046/0.1167, allocations: 184.2 kB / 495.2 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.652e-05/0.1168, allocations: 12 kB / 495.2 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005057/0.1173, allocations: 202 kB / 495.4 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1173, allocations: 3.938 kB / 495.4 MB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.1173, allocations: 3.938 kB / 495.4 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1173, allocations: 0 / 495.4 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003132/0.1176, allocations: 289.5 kB / 495.7 MB, free: 7.629 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1176, allocations: 4 kB / 495.7 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002067/0.1178, allocations: 67.91 kB / 495.8 MB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1179, allocations: 0 / 495.8 MB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.1179, allocations: 8 kB / 495.8 MB, free: 7.551 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008001/0.1187, allocations: 1.774 MB / 497.6 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.1187, allocations: 4.031 kB / 497.6 MB, free: 5.703 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/0.119, allocations: 227.6 kB / 497.8 MB, free: 5.465 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.346e-05/0.1191, allocations: 88.95 kB / 497.9 MB, free: 5.359 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.1191, allocations: 7.922 kB / 497.9 MB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.357e-05/0.1192, allocations: 8 kB / 497.9 MB, free: 5.344 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.1193, allocations: 11.98 kB / 497.9 MB, free: 5.332 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.1193, allocations: 8 kB / 497.9 MB, free: 5.324 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.73e-05/0.1194, allocations: 118.4 kB / 498 MB, free: 5.211 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1194, allocations: 0 / 498 MB, free: 5.211 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004398/0.1198, allocations: 95.59 kB / 498.1 MB, free: 5.117 MB / 366.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 (7): * Single equations (assignments): 4 * 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.0002805/0.1201, allocations: 147.1 kB / 498.3 MB, free: 4.965 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005578/0.1207, allocations: 192.8 kB / 498.4 MB, free: 4.777 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1207, allocations: 0 / 498.4 MB, free: 4.777 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002884/0.121, allocations: 99.92 kB / 498.5 MB, free: 4.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.1213, allocations: 8.297 kB / 498.5 MB, free: 4.672 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008643/0.1221, allocations: 0.6378 MB / 499.2 MB, free: 4.008 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.1225, allocations: 0.7907 MB / 500 MB, free: 3.191 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.544e-05/0.1226, allocations: 27.44 kB / 0.4883 GB, free: 3.164 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1226, allocations: 0 / 0.4883 GB, free: 3.164 MB / 366.1 MB Notification: Performance of Templates: time 0.009106/0.1317, allocations: 6.922 MB / 0.495 GB, free: 12.24 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches