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.001136/0.001136, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001207/0.001207, allocations: 194 kB / 18.77 MB, free: 4.742 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.371/1.371, allocations: 222.9 MB / 242.5 MB, free: 15.46 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.2434/0.2434, allocations: 44.18 MB / 336.8 MB, free: 2.996 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 71.25 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1099, allocations: 60.83 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003129/0.1131, allocations: 1.965 MB / 471.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001725/0.1148, allocations: 1.126 MB / 472.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.969e-05/0.1149, allocations: 4 kB / 472.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003278/0.1153, allocations: 63.66 kB / 472.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001921/0.1155, allocations: 67.59 kB / 472.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.1158, allocations: 123.5 kB / 472.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002956/0.1161, allocations: 322.3 kB / 472.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.123e-05/0.1162, allocations: 37 kB / 472.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.1164, allocations: 99.47 kB / 473 MB, free: 11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.1166, allocations: 127.3 kB / 473.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.1166, allocations: 4 kB / 473.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004996/0.1171, allocations: 315.5 kB / 473.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.176e-05/0.1172, allocations: 47.75 kB / 473.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.1173, allocations: 119.1 kB / 473.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003646/0.1177, allocations: 303.1 kB / 473.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1177, allocations: 0 / 473.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.041e-06/0.1177, allocations: 4 kB / 473.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.1177, allocations: 0 / 473.9 MB, free: 10.1 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.0007222/0.1185, allocations: 0.5661 MB / 474.5 MB, free: 9.484 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.1185, allocations: 12.03 kB / 474.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.28e-05/0.1186, allocations: 28.56 kB / 474.5 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.1188, allocations: 243.8 kB / 474.7 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.1189, allocations: 29.11 kB / 474.8 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.61e-05/0.1189, allocations: 32 kB / 474.8 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007457/0.1197, allocations: 497.4 kB / 475.3 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.1197, allocations: 4 kB / 475.3 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.1197, allocations: 16 kB / 475.3 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.144e-05/0.1198, allocations: 28.98 kB / 475.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006464/0.1204, allocations: 423.7 kB / 475.7 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001453/0.1219, allocations: 1.189 MB / 476.9 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.1221, allocations: 74.53 kB / 477 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.1222, allocations: 44.83 kB / 477.1 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.1223, allocations: 11.92 kB / 477.1 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.1223, allocations: 34.56 kB / 477.1 MB, free: 6.672 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.1223, allocations: 0 / 477.1 MB, free: 6.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005167/0.1228, allocations: 153.6 kB / 477.3 MB, free: 6.516 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.1229, allocations: 51.41 kB / 477.3 MB, free: 6.453 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.123, allocations: 177.9 kB / 477.5 MB, free: 6.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.1231, allocations: 25.7 kB / 477.5 MB, free: 6.238 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.1232, allocations: 223.2 kB / 477.7 MB, free: 6.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.1232, allocations: 27.64 kB / 477.7 MB, free: 5.988 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/0.1233, allocations: 57.61 kB / 477.8 MB, free: 5.926 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1234, allocations: 318.8 kB / 478.1 MB, free: 5.605 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.1236, allocations: 51.95 kB / 478.2 MB, free: 5.555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.1238, allocations: 172.2 kB / 478.3 MB, free: 5.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003685/0.1242, allocations: 244 kB / 478.6 MB, free: 5.031 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.1242, allocations: 4 kB / 478.6 MB, free: 5.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004547/0.1247, allocations: 245.1 kB / 478.8 MB, free: 4.781 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.1247, allocations: 11.98 kB / 478.8 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1247, allocations: 4 kB / 478.8 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.1247, allocations: 4 kB / 478.8 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003758/0.1251, allocations: 88.47 kB / 478.9 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009613/0.1261, allocations: 1.789 MB / 480.7 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.1263, allocations: 31.89 kB / 480.7 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/0.1263, allocations: 12 kB / 480.8 MB, free: 2.773 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.0002535/0.1266, allocations: 177.7 kB / 480.9 MB, free: 2.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.612e-05/0.1266, allocations: 15.81 kB / 480.9 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005445/0.1272, allocations: 194 kB / 481.1 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.1272, allocations: 3.938 kB / 481.1 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1272, allocations: 4 kB / 481.1 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1272, allocations: 0 / 481.1 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003611/0.1276, allocations: 297.5 kB / 481.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1276, allocations: 0 / 481.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.1278, allocations: 59.97 kB / 481.5 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1279, allocations: 4 kB / 481.5 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.1279, allocations: 0 / 481.5 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009726/0.1288, allocations: 1.781 MB / 483.3 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-05/0.1289, allocations: 0 / 483.3 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003842/0.1293, allocations: 220.1 kB / 483.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-05/0.1293, allocations: 88.95 kB / 483.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.1294, allocations: 7.938 kB / 483.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.1295, allocations: 11.98 kB / 483.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.1295, allocations: 7.984 kB / 483.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.1296, allocations: 4 kB / 483.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001059/0.1297, allocations: 113.1 kB / 483.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1297, allocations: 3.938 kB / 483.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004832/0.1302, allocations: 103.6 kB / 483.8 MB, free: 15.54 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.0003017/0.1305, allocations: 139.7 kB / 484 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005898/0.1311, allocations: 187.8 kB / 484.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1311, allocations: 1.125 kB / 484.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004151/0.1315, allocations: 91.89 kB / 484.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.1318, allocations: 15.98 kB / 484.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009017/0.1327, allocations: 0.6022 MB / 484.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005018/0.1332, allocations: 0.7907 MB / 485.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.828e-05/0.1333, allocations: 19.44 kB / 485.7 MB, free: 13.63 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1333, allocations: 0 / 485.7 MB, free: 13.63 MB / 366.1 MB Notification: Performance of Templates: time 0.009608/0.1429, allocations: 6.975 MB / 492.6 MB, free: 6.66 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