Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 178.1 kB / 16.41 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 205.4 MB / 222.6 MB, free: 13.61 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007834/0.0007836, allocations: 98.25 kB / 270.9 MB, free: 13.14 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2046/0.2046, allocations: 43.57 MB / 362.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003473, allocations: 15.94 kB / 431.4 MB, free: 20.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1019, allocations: 58.84 MB / 490.3 MB, free: 9.293 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.002171/0.1041, allocations: 1.591 MB / 491.9 MB, free: 7.68 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.1056, allocations: 1.053 MB / 492.9 MB, free: 6.621 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.37e-05/0.1057, allocations: 0 / 492.9 MB, free: 6.621 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002196/0.1059, allocations: 55.72 kB / 493 MB, free: 6.566 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001693/0.1061, allocations: 71.59 kB / 493 MB, free: 6.496 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.1064, allocations: 115.5 kB / 493.1 MB, free: 6.383 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002691/0.1067, allocations: 286.4 kB / 493.4 MB, free: 6.102 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.287e-05/0.1068, allocations: 36.72 kB / 493.5 MB, free: 6.066 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.1069, allocations: 95.45 kB / 493.6 MB, free: 5.973 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.1071, allocations: 123.4 kB / 493.7 MB, free: 5.852 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.1071, allocations: 4 kB / 493.7 MB, free: 5.848 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000409/0.1075, allocations: 299.5 kB / 494 MB, free: 5.555 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.286e-05/0.1076, allocations: 51.7 kB / 494 MB, free: 5.504 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.508e-05/0.1076, allocations: 73.52 kB / 494.1 MB, free: 5.426 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003265/0.108, allocations: 295.4 kB / 494.4 MB, free: 5.137 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.108, allocations: 3.938 kB / 494.4 MB, free: 5.133 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.108, allocations: 0 / 494.4 MB, free: 5.133 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.108, allocations: 4 kB / 494.4 MB, free: 5.129 MB / 330.7 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.0005842/0.1086, allocations: 0.5307 MB / 494.9 MB, free: 4.551 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.1086, allocations: 8.031 kB / 494.9 MB, free: 4.543 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.753e-05/0.1087, allocations: 39.58 kB / 495 MB, free: 4.504 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.1089, allocations: 230.7 kB / 495.2 MB, free: 4.238 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.1089, allocations: 25 kB / 495.2 MB, free: 4.215 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.639e-05/0.109, allocations: 32 kB / 495.2 MB, free: 4.184 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006797/0.1097, allocations: 0.4896 MB / 495.7 MB, free: 3.676 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1097, allocations: 0 / 495.7 MB, free: 3.676 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.498e-05/0.1097, allocations: 12 kB / 495.7 MB, free: 3.664 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.859e-05/0.1098, allocations: 24.98 kB / 495.8 MB, free: 3.641 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006159/0.1104, allocations: 443.7 kB / 496.2 MB, free: 3.207 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.1117, allocations: 1.174 MB / 497.4 MB, free: 1.934 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.1119, allocations: 86.47 kB / 497.5 MB, free: 1.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.112, allocations: 44.83 kB / 497.5 MB, free: 1.793 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/0.1121, allocations: 4 kB / 497.5 MB, free: 1.789 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.1121, allocations: 34.56 kB / 497.5 MB, free: 1.746 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.1121, allocations: 0 / 497.5 MB, free: 1.746 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004641/0.1126, allocations: 173.6 kB / 497.7 MB, free: 1.57 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.1126, allocations: 55.34 kB / 497.8 MB, free: 1.504 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.1128, allocations: 174.3 kB / 497.9 MB, free: 1.324 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.1128, allocations: 25.7 kB / 498 MB, free: 1.293 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.1129, allocations: 223.2 kB / 498.2 MB, free: 1.07 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.1129, allocations: 27.64 kB / 498.2 MB, free: 1.043 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.789e-06/0.113, allocations: 4 kB / 498.2 MB, free: 1.039 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1131, allocations: 330.8 kB / 498.5 MB, free: 0.707 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.1132, allocations: 55.95 kB / 498.6 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/0.1134, allocations: 172.3 kB / 498.8 MB, free: 436 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.1136, allocations: 87.88 kB / 498.8 MB, free: 348 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1136, allocations: 0 / 498.8 MB, free: 348 kB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004458/0.1141, allocations: 261 kB / 499.1 MB, free: 80 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1141, allocations: 7.438 kB / 499.1 MB, free: 76 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.1141, allocations: 4 kB / 499.1 MB, free: 72 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1141, allocations: 8.562 kB / 499.1 MB, free: 64 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003292/0.1145, allocations: 95.95 kB / 499.2 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009028/0.1154, allocations: 1.782 MB / 0.4893 GB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.1155, allocations: 31.69 kB / 0.4893 GB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.1155, allocations: 16 kB / 0.4893 GB, free: 14.07 MB / 346.7 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002055/0.1158, allocations: 189.7 kB / 0.4895 GB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.1158, allocations: 11.84 kB / 0.4895 GB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005053/0.1163, allocations: 206.1 kB / 0.4897 GB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.1163, allocations: 4 kB / 0.4897 GB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1163, allocations: 0 / 0.4897 GB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1163, allocations: 3.953 kB / 0.4897 GB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.1166, allocations: 289.5 kB / 0.49 GB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1166, allocations: 4 kB / 0.49 GB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.1168, allocations: 67.97 kB / 0.49 GB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1169, allocations: 3.984 kB / 0.49 GB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.1169, allocations: 8 kB / 0.49 GB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008336/0.1177, allocations: 1.774 MB / 0.4918 GB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1177, allocations: 0 / 0.4918 GB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003208/0.118, allocations: 232 kB / 0.492 GB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.758e-05/0.1181, allocations: 92.94 kB / 0.4921 GB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.1181, allocations: 4 kB / 0.4921 GB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.04e-05/0.1182, allocations: 4 kB / 0.4921 GB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/0.1183, allocations: 11.98 kB / 0.4921 GB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.1183, allocations: 8 kB / 0.4921 GB, free: 11.02 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.37e-05/0.1184, allocations: 119.9 kB / 0.4922 GB, free: 10.9 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1184, allocations: 0 / 0.4922 GB, free: 10.9 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003886/0.1188, allocations: 103.5 kB / 0.4923 GB, free: 10.8 MB / 346.7 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002358/0.119, allocations: 139.1 kB / 0.4925 GB, free: 10.65 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005343/0.1196, allocations: 204.9 kB / 0.4927 GB, free: 10.45 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1196, allocations: 0 / 0.4927 GB, free: 10.45 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002914/0.1199, allocations: 99.88 kB / 0.4928 GB, free: 10.35 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.1201, allocations: 15.88 kB / 0.4928 GB, free: 10.34 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007341/0.1209, allocations: 0.6071 MB / 0.4934 GB, free: 9.707 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.1212, allocations: 0.7826 MB / 0.4941 GB, free: 8.898 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.077e-05/0.1213, allocations: 23.42 kB / 0.4941 GB, free: 8.879 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.1213, allocations: 0 / 0.4941 GB, free: 8.879 MB / 346.7 MB Notification: Performance of Templates: time 0.008844/0.1301, allocations: 6.931 MB / 0.5009 GB, free: 1.941 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_nominalPressureLossLawDensity_DPMFLOW/dp_nominalPressureLossLawDensity_DPMFLOW.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches