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_nominalPressureLossLawDensity_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_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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 108.4 kB / 17.98 MB, free: 5.355 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.001274/0.001274, allocations: 193.3 kB / 18.9 MB, free: 4.438 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.288/1.288, allocations: 222.9 MB / 242.6 MB, free: 15.39 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.1948/0.1948, allocations: 44.17 MB / 336.9 MB, free: 2.926 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 55.06 kB / 408.6 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1052, allocations: 60.82 MB / 469.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003473/0.1087, allocations: 1.965 MB / 471.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.1105, allocations: 1.095 MB / 472.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.546e-05/0.1106, allocations: 4 kB / 472.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003173/0.1109, allocations: 63.66 kB / 472.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000182/0.1111, allocations: 67.61 kB / 472.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004046/0.1115, allocations: 135.5 kB / 472.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002739/0.1118, allocations: 262.4 kB / 473 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.083e-05/0.1119, allocations: 33.02 kB / 473 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.1121, allocations: 103.4 kB / 473.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.1122, allocations: 127.3 kB / 473.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.112e-05/0.1123, allocations: 8 kB / 473.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004767/0.1128, allocations: 319.5 kB / 473.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.758e-05/0.1128, allocations: 55.64 kB / 473.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.113, allocations: 111.2 kB / 473.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004095/0.1134, allocations: 311.1 kB / 474 MB, free: 10.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1134, allocations: 0 / 474 MB, free: 10.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1134, allocations: 0 / 474 MB, free: 10.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.1134, allocations: 0 / 474 MB, free: 10.04 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.000733/0.1142, allocations: 0.566 MB / 474.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.1142, allocations: 12.03 kB / 474.6 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.611e-05/0.1143, allocations: 28.56 kB / 474.6 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.1145, allocations: 243.8 kB / 474.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.1146, allocations: 37.12 kB / 474.9 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.179e-05/0.1146, allocations: 31.98 kB / 474.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007107/0.1153, allocations: 489.4 kB / 475.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1154, allocations: 0 / 475.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.1154, allocations: 19.98 kB / 475.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.206e-05/0.1155, allocations: 28.98 kB / 475.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000592/0.1161, allocations: 427.7 kB / 475.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.1175, allocations: 1.181 MB / 477.1 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.1177, allocations: 78.53 kB / 477.1 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.1178, allocations: 48.77 kB / 477.2 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.1178, allocations: 3.984 kB / 477.2 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.1179, allocations: 38.5 kB / 477.2 MB, free: 6.609 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.502e-06/0.1179, allocations: 0 / 477.2 MB, free: 6.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.000454/0.1183, allocations: 153.5 kB / 477.4 MB, free: 6.453 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.1184, allocations: 55.41 kB / 477.4 MB, free: 6.387 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.1185, allocations: 173.9 kB / 477.6 MB, free: 6.207 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.1186, allocations: 25.7 kB / 477.6 MB, free: 6.176 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.1187, allocations: 223.4 kB / 477.8 MB, free: 5.953 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.1187, allocations: 27.64 kB / 477.9 MB, free: 5.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.249e-05/0.1188, allocations: 53.61 kB / 477.9 MB, free: 5.867 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1189, allocations: 322.8 kB / 478.2 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.1191, allocations: 59.94 kB / 478.3 MB, free: 5.484 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.1193, allocations: 168.2 kB / 478.5 MB, free: 5.262 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003361/0.1197, allocations: 240 kB / 478.7 MB, free: 4.969 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.1197, allocations: 4 kB / 478.7 MB, free: 4.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004342/0.1201, allocations: 245.1 kB / 478.9 MB, free: 4.719 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1201, allocations: 8.562 kB / 478.9 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.1201, allocations: 4 kB / 478.9 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.1202, allocations: 8 kB / 479 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003419/0.1205, allocations: 91.84 kB / 479 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000927/0.1215, allocations: 1.785 MB / 480.8 MB, free: 2.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.1216, allocations: 27.73 kB / 480.9 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.1216, allocations: 16 kB / 480.9 MB, free: 2.711 MB / 350.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.0002464/0.1219, allocations: 180.4 kB / 481 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.1219, allocations: 11.91 kB / 481.1 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004856/0.1224, allocations: 202.1 kB / 481.3 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.1224, allocations: 7.938 kB / 481.3 MB, free: 2.309 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1224, allocations: 0 / 481.3 MB, free: 2.309 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1225, allocations: 0 / 481.3 MB, free: 2.309 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003027/0.1228, allocations: 293.5 kB / 481.6 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1228, allocations: 0 / 481.6 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/0.123, allocations: 63.97 kB / 481.6 MB, free: 1.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.123, allocations: 0 / 481.6 MB, free: 1.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.123, allocations: 4 kB / 481.6 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008592/0.1239, allocations: 1.777 MB / 483.4 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1239, allocations: 4.219 kB / 483.4 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003233/0.1242, allocations: 219.4 kB / 483.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.504e-05/0.1243, allocations: 88.95 kB / 483.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.1243, allocations: 3.938 kB / 483.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.766e-05/0.1244, allocations: 7.984 kB / 483.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/0.1245, allocations: 11.98 kB / 483.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.1245, allocations: 8 kB / 483.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.101e-05/0.1246, allocations: 115.2 kB / 483.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1246, allocations: 3.938 kB / 483.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004779/0.1251, allocations: 99.59 kB / 483.9 MB, free: 15.47 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.0002894/0.1254, allocations: 143.7 kB / 484.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005497/0.1259, allocations: 188.7 kB / 484.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.1259, allocations: 4.125 kB / 484.3 MB, free: 15.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002855/0.1262, allocations: 88.59 kB / 484.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.1265, allocations: 13.61 kB / 484.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009078/0.1274, allocations: 0.6184 MB / 485 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.1278, allocations: 0.7904 MB / 485.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/0.1278, allocations: 23.44 kB / 485.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1278, allocations: 0 / 485.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of Templates: time 0.008552/0.1364, allocations: 6.968 MB / 492.8 MB, free: 6.574 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches