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.001236/0.001236, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001319/0.001319, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2139/0.2139, allocations: 46.09 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 78.25 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1177, allocations: 62.45 MB / 481.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003489/0.1212, allocations: 1.923 MB / 483.4 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001764/0.123, allocations: 1.125 MB / 484.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.887e-05/0.1231, allocations: 0 / 484.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003128/0.1235, allocations: 75.58 kB / 484.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000195/0.1237, allocations: 75.52 kB / 484.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003995/0.1241, allocations: 147.4 kB / 484.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.1244, allocations: 270.4 kB / 485.1 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.387e-05/0.1244, allocations: 32.72 kB / 485.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002019/0.1246, allocations: 107.5 kB / 485.2 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.1248, allocations: 123.3 kB / 485.3 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.1248, allocations: 8 kB / 485.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004958/0.1253, allocations: 315.4 kB / 485.7 MB, free: 336 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.46e-05/0.1254, allocations: 59.62 kB / 485.7 MB, free: 276 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.1256, allocations: 115.2 kB / 485.8 MB, free: 160 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005735/0.1262, allocations: 434.6 kB / 486.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.1262, allocations: 4 kB / 486.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.1262, allocations: 4 kB / 486.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.1262, allocations: 0 / 486.3 MB, free: 15.72 MB / 366.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.0007802/0.127, allocations: 0.5698 MB / 486.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.127, allocations: 8.031 kB / 486.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.606e-05/0.1271, allocations: 32.56 kB / 486.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.1274, allocations: 235.9 kB / 487.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.1274, allocations: 33.12 kB / 487.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.779e-05/0.1275, allocations: 28 kB / 487.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006844/0.1282, allocations: 0.4935 MB / 487.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1282, allocations: 0 / 487.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/0.1282, allocations: 12 kB / 487.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.931e-05/0.1283, allocations: 28.98 kB / 487.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005876/0.1289, allocations: 431.6 kB / 488.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.1303, allocations: 1.169 MB / 489.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.1305, allocations: 78.53 kB / 489.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.1306, allocations: 40.83 kB / 489.4 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.1306, allocations: 4.156 kB / 489.4 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.1307, allocations: 42.48 kB / 489.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.763e-06/0.1307, allocations: 0 / 489.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004647/0.1312, allocations: 149.5 kB / 489.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.1312, allocations: 51.41 kB / 489.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.1314, allocations: 174.2 kB / 489.8 MB, free: 11.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.1314, allocations: 25.7 kB / 489.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.1315, allocations: 223.2 kB / 490.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.1316, allocations: 31.62 kB / 490.1 MB, free: 11.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.052e-05/0.1316, allocations: 57.61 kB / 490.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.1317, allocations: 318.8 kB / 490.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.1319, allocations: 51.95 kB / 490.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/0.1321, allocations: 172.2 kB / 490.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003277/0.1324, allocations: 248 kB / 490.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1324, allocations: 3.938 kB / 490.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004276/0.1329, allocations: 245.2 kB / 491.2 MB, free: 10.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.1329, allocations: 8 kB / 491.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1329, allocations: 4.391 kB / 491.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.1329, allocations: 8 kB / 491.2 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003345/0.1333, allocations: 91.83 kB / 491.3 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008841/0.1342, allocations: 1.782 MB / 493 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.1343, allocations: 31.69 kB / 493.1 MB, free: 8.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.1343, allocations: 12.28 kB / 493.1 MB, free: 8.418 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.0002609/0.1346, allocations: 195.3 kB / 493.3 MB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.384e-05/0.1346, allocations: 7.906 kB / 493.3 MB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000445/0.1351, allocations: 186.1 kB / 493.5 MB, free: 8.027 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.1351, allocations: 7.938 kB / 493.5 MB, free: 8.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1351, allocations: 0 / 493.5 MB, free: 8.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1351, allocations: 0 / 493.5 MB, free: 8.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002959/0.1354, allocations: 293.5 kB / 493.8 MB, free: 7.684 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1354, allocations: 7.984 kB / 493.8 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001991/0.1356, allocations: 63.97 kB / 493.8 MB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1357, allocations: 0 / 493.8 MB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.1357, allocations: 7.938 kB / 493.8 MB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008325/0.1365, allocations: 1.777 MB / 495.6 MB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1365, allocations: 0 / 495.6 MB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.1368, allocations: 215.4 kB / 495.8 MB, free: 5.531 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-05/0.1369, allocations: 89.14 kB / 495.9 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.1369, allocations: 11.92 kB / 495.9 MB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.736e-05/0.137, allocations: 8 kB / 495.9 MB, free: 5.406 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.1371, allocations: 11.98 kB / 495.9 MB, free: 5.395 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.719e-06/0.1371, allocations: 4 kB / 496 MB, free: 5.391 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.707e-05/0.1372, allocations: 115.2 kB / 496.1 MB, free: 5.277 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1372, allocations: 0 / 496.1 MB, free: 5.277 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004271/0.1376, allocations: 95.59 kB / 496.2 MB, free: 5.184 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.0002541/0.1379, allocations: 142.1 kB / 496.3 MB, free: 5.039 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000502/0.1384, allocations: 192 kB / 496.5 MB, free: 4.852 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1384, allocations: 0 / 496.5 MB, free: 4.852 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002826/0.1387, allocations: 91.88 kB / 496.6 MB, free: 4.762 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.1389, allocations: 13.11 kB / 496.6 MB, free: 4.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007124/0.1397, allocations: 464.6 kB / 497 MB, free: 4.277 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.14, allocations: 0.8021 MB / 497.8 MB, free: 3.449 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001616/0.1402, allocations: 61.19 kB / 497.9 MB, free: 3.387 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.387e-05/0.1402, allocations: 19.44 kB / 497.9 MB, free: 3.371 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1402, allocations: 0 / 497.9 MB, free: 3.371 MB / 366.1 MB Notification: Performance of Templates: time 0.006518/0.1468, allocations: 3.067 MB / 0.4892 GB, free: 356 kB / 366.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 -s cvode -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