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.001737/0.001737, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001858/0.001858, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 247.5 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2268/0.2268, allocations: 46.12 MB / 344.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002168/0.002168, allocations: 73.03 kB / 418.3 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.11, allocations: 62.47 MB / 480.8 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.00348/0.1135, allocations: 1.911 MB / 482.7 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001929/0.1155, allocations: 1.133 MB / 483.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.635e-05/0.1156, allocations: 4 kB / 483.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003065/0.1159, allocations: 63.59 kB / 483.9 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002257/0.1162, allocations: 83.52 kB / 484 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000415/0.1166, allocations: 147.4 kB / 484.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003029/0.1169, allocations: 258.4 kB / 484.4 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.872e-05/0.117, allocations: 44.98 kB / 484.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002102/0.1172, allocations: 119.2 kB / 484.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.1174, allocations: 115.3 kB / 484.7 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.1174, allocations: 8 kB / 484.7 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005541/0.118, allocations: 319.5 kB / 485 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.482e-05/0.1181, allocations: 51.7 kB / 485 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.1182, allocations: 123.2 kB / 485.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005759/0.1188, allocations: 430.5 kB / 485.6 MB, free: 432 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1188, allocations: 0 / 485.6 MB, free: 432 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1188, allocations: 0 / 485.6 MB, free: 432 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.1188, allocations: 0 / 485.6 MB, free: 432 kB / 350.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.0008121/0.1197, allocations: 0.57 MB / 486.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.1197, allocations: 8.031 kB / 486.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.02e-05/0.1198, allocations: 32.56 kB / 486.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.1201, allocations: 239.8 kB / 486.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.1201, allocations: 25.12 kB / 486.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.119e-05/0.1202, allocations: 32 kB / 486.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007725/0.1209, allocations: 0.4896 MB / 487 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.121, allocations: 0 / 487 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.963e-05/0.121, allocations: 16 kB / 487 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-05/0.121, allocations: 24.98 kB / 487 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007058/0.1218, allocations: 427.7 kB / 487.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001625/0.1234, allocations: 1.185 MB / 488.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.1236, allocations: 78.47 kB / 488.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.1238, allocations: 44.81 kB / 488.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.1238, allocations: 4 kB / 488.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.1238, allocations: 30.56 kB / 488.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.1238, allocations: 4 kB / 488.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.000523/0.1244, allocations: 153.7 kB / 488.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.1244, allocations: 55.34 kB / 489 MB, free: 12.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.1246, allocations: 174.2 kB / 489.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.1246, allocations: 25.7 kB / 489.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.1248, allocations: 219.2 kB / 489.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.1248, allocations: 31.64 kB / 489.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.07e-05/0.1249, allocations: 57.61 kB / 489.5 MB, free: 12.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1251, allocations: 318.8 kB / 489.8 MB, free: 11.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.1252, allocations: 51.95 kB / 489.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002518/0.1255, allocations: 168.3 kB / 490 MB, free: 11.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004222/0.1259, allocations: 252 kB / 490.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.1259, allocations: 0 / 490.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005049/0.1265, allocations: 257.3 kB / 490.5 MB, free: 11.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.1265, allocations: 6.656 kB / 490.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.1265, allocations: 4 kB / 490.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.1265, allocations: 11.94 kB / 490.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003516/0.1269, allocations: 83.91 kB / 490.6 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001178/0.1281, allocations: 1.789 MB / 492.4 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.1282, allocations: 27.73 kB / 492.4 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.1283, allocations: 16 kB / 492.4 MB, free: 9.102 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.0002748/0.1286, allocations: 184.5 kB / 492.6 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/0.1286, allocations: 7.906 kB / 492.6 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005482/0.1292, allocations: 186.1 kB / 492.8 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1292, allocations: 7.938 kB / 492.8 MB, free: 8.711 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1292, allocations: 0 / 492.8 MB, free: 8.711 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1292, allocations: 0 / 492.8 MB, free: 8.711 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003599/0.1296, allocations: 297.5 kB / 493.1 MB, free: 8.371 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.1296, allocations: 3.938 kB / 493.1 MB, free: 8.367 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002253/0.1298, allocations: 71.91 kB / 493.2 MB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1298, allocations: 0 / 493.2 MB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.1298, allocations: 4 kB / 493.2 MB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/0.1309, allocations: 1.778 MB / 494.9 MB, free: 6.445 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.131, allocations: 0 / 494.9 MB, free: 6.445 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003621/0.1313, allocations: 211.4 kB / 495.1 MB, free: 6.223 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.755e-05/0.1314, allocations: 84.95 kB / 495.2 MB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.067e-05/0.1314, allocations: 20.02 kB / 495.2 MB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.883e-05/0.1315, allocations: 0 / 495.2 MB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.1316, allocations: 11.98 kB / 495.3 MB, free: 6.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.1316, allocations: 8 kB / 495.3 MB, free: 6.082 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.971e-05/0.1317, allocations: 114.3 kB / 495.4 MB, free: 5.973 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.687e-06/0.1317, allocations: 0 / 495.4 MB, free: 5.973 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004722/0.1322, allocations: 103.5 kB / 495.5 MB, free: 5.871 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.0002891/0.1325, allocations: 143.1 kB / 495.6 MB, free: 5.723 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006079/0.1331, allocations: 196.7 kB / 495.8 MB, free: 5.531 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1331, allocations: 0 / 495.8 MB, free: 5.531 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003056/0.1334, allocations: 87.94 kB / 495.9 MB, free: 5.445 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.1337, allocations: 12.3 kB / 495.9 MB, free: 5.434 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008653/0.1346, allocations: 0.4903 MB / 496.4 MB, free: 4.914 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004553/0.135, allocations: 0.7904 MB / 497.2 MB, free: 4.098 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.588e-05/0.1351, allocations: 19.44 kB / 497.2 MB, free: 4.078 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1351, allocations: 0 / 497.2 MB, free: 4.078 MB / 366.1 MB Notification: Performance of Templates: time 0.01013/0.1452, allocations: 6.979 MB / 0.4924 GB, free: 13.1 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