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.001365/0.001365, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001234/0.001234, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.358/1.358, allocations: 222.9 MB / 242.9 MB, free: 15.22 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.2072/0.2072, allocations: 44.18 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 67.98 kB / 409.1 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1103, allocations: 60.82 MB / 469.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003525/0.1139, allocations: 1.903 MB / 471.8 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.1157, allocations: 1.11 MB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.1158, allocations: 0 / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003189/0.1161, allocations: 67.64 kB / 473 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.1164, allocations: 75.52 kB / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004602/0.1168, allocations: 155.3 kB / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003023/0.1171, allocations: 262.4 kB / 473.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.169e-05/0.1172, allocations: 40.98 kB / 473.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.1174, allocations: 95.45 kB / 473.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.1176, allocations: 123.3 kB / 473.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.1176, allocations: 8 kB / 473.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005361/0.1182, allocations: 319.5 kB / 474.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.628e-05/0.1183, allocations: 51.7 kB / 474.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001447/0.1184, allocations: 123.1 kB / 474.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005524/0.119, allocations: 430.5 kB / 474.7 MB, free: 9.602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.119, allocations: 0 / 474.7 MB, free: 9.602 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.119, allocations: 0 / 474.7 MB, free: 9.602 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.37e-05/0.119, allocations: 0 / 474.7 MB, free: 9.602 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.00075/0.1198, allocations: 0.5582 MB / 475.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.1198, allocations: 19.97 kB / 475.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.181e-05/0.1199, allocations: 40.55 kB / 475.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.1201, allocations: 231.9 kB / 475.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.1202, allocations: 33.12 kB / 475.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.592e-05/0.1202, allocations: 28 kB / 475.6 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007039/0.1209, allocations: 493.3 kB / 476.1 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.121, allocations: 3.938 kB / 476.1 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/0.121, allocations: 20 kB / 476.1 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-05/0.1211, allocations: 28.98 kB / 476.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000647/0.1217, allocations: 423.7 kB / 476.5 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.1232, allocations: 1.189 MB / 477.7 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.1234, allocations: 78.53 kB / 477.8 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.1235, allocations: 40.83 kB / 477.8 MB, free: 6.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.1235, allocations: 0 / 477.8 MB, free: 6.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.1236, allocations: 34.56 kB / 477.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.1236, allocations: 4 kB / 477.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004743/0.1241, allocations: 153.6 kB / 478 MB, free: 6.027 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.1241, allocations: 55.41 kB / 478.1 MB, free: 5.961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.1243, allocations: 167.9 kB / 478.2 MB, free: 5.785 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.1243, allocations: 29.7 kB / 478.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.1244, allocations: 215.2 kB / 478.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.1244, allocations: 27.64 kB / 478.5 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.206e-05/0.1245, allocations: 61.61 kB / 478.6 MB, free: 5.441 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1246, allocations: 326.8 kB / 478.9 MB, free: 5.113 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.1248, allocations: 51.95 kB / 478.9 MB, free: 5.062 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.125, allocations: 164.3 kB / 479.1 MB, free: 4.844 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003776/0.1254, allocations: 251.9 kB / 479.3 MB, free: 4.539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.1254, allocations: 4 kB / 479.3 MB, free: 4.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000481/0.1259, allocations: 253.4 kB / 479.6 MB, free: 4.281 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.1259, allocations: 8 kB / 479.6 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.1259, allocations: 4 kB / 479.6 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.126, allocations: 4 kB / 479.6 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003442/0.1263, allocations: 91.89 kB / 479.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009022/0.1272, allocations: 1.785 MB / 481.5 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.1274, allocations: 23.75 kB / 481.5 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.1274, allocations: 23.92 kB / 481.5 MB, free: 2.273 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.0002329/0.1277, allocations: 185.8 kB / 481.7 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.1277, allocations: 7.906 kB / 481.7 MB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005074/0.1282, allocations: 182.1 kB / 481.9 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.1282, allocations: 7.922 kB / 481.9 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.1282, allocations: 0 / 481.9 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1282, allocations: 4 kB / 481.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003129/0.1286, allocations: 289.5 kB / 482.2 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1286, allocations: 0 / 482.2 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002174/0.1288, allocations: 67.91 kB / 482.3 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.1288, allocations: 0 / 482.3 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.1288, allocations: 8 kB / 482.3 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008762/0.1297, allocations: 1.778 MB / 484 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1297, allocations: 0 / 484 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.1301, allocations: 211.4 kB / 484.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.562e-05/0.1301, allocations: 88.95 kB / 484.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.1301, allocations: 4.031 kB / 484.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.574e-05/0.1302, allocations: 11.98 kB / 484.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.1303, allocations: 11.94 kB / 484.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.1303, allocations: 4 kB / 484.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.519e-05/0.1304, allocations: 114.9 kB / 484.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1304, allocations: 4 kB / 484.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004275/0.1308, allocations: 99.58 kB / 484.6 MB, free: 15.06 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.0002552/0.1311, allocations: 143.7 kB / 484.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005639/0.1317, allocations: 200.3 kB / 484.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1317, allocations: 3.938 kB / 484.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002953/0.132, allocations: 96.02 kB / 485 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.1323, allocations: 11.94 kB / 485 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000762/0.133, allocations: 489.7 kB / 485.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.1334, allocations: 0.7904 MB / 486.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.267e-05/0.1334, allocations: 15.44 kB / 486.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1335, allocations: 4 kB / 486.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of Templates: time 0.008862/0.1423, allocations: 6.974 MB / 493.3 MB, free: 6.277 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