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.0009226/0.0009226, allocations: 97.75 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009918/0.0009918, allocations: 200.8 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2119/0.2119, allocations: 46.19 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002538/0.0002538, allocations: 15.94 kB / 419.6 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.118, allocations: 63.55 MB / 483.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.00245/0.1205, allocations: 1.638 MB / 484.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.1224, allocations: 1.149 MB / 485.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.095e-05/0.1225, allocations: 4 kB / 485.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.1228, allocations: 55.72 kB / 486 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002106/0.123, allocations: 71.53 kB / 486 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004507/0.1235, allocations: 123.6 kB / 486.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003554/0.1239, allocations: 322.3 kB / 486.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.817e-05/0.1239, allocations: 41 kB / 486.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002425/0.1242, allocations: 95.45 kB / 486.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.1244, allocations: 123.3 kB / 486.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.1244, allocations: 8 kB / 486.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004723/0.1249, allocations: 323.5 kB / 487 MB, free: 208 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.923e-05/0.125, allocations: 55.64 kB / 487.1 MB, free: 152 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.1251, allocations: 136.9 kB / 487.2 MB, free: 8 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000567/0.1257, allocations: 418.4 kB / 487.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1257, allocations: 4 kB / 487.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1257, allocations: 0 / 487.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.1258, allocations: 0 / 487.6 MB, free: 15.59 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.00072/0.1265, allocations: 0.527 MB / 488.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1265, allocations: 12.81 kB / 488.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.975e-05/0.1266, allocations: 32.56 kB / 488.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.1268, allocations: 235.9 kB / 488.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.1269, allocations: 29.12 kB / 488.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.121e-05/0.1269, allocations: 32 kB / 488.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007694/0.1277, allocations: 0.4935 MB / 489 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.1277, allocations: 0 / 489 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.039e-05/0.1278, allocations: 12 kB / 489 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.385e-05/0.1278, allocations: 28.92 kB / 489 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006918/0.1285, allocations: 435.7 kB / 489.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001714/0.1302, allocations: 1.177 MB / 490.6 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.1305, allocations: 86.53 kB / 490.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.1306, allocations: 48.83 kB / 490.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.667e-05/0.1307, allocations: 3.984 kB / 490.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.1307, allocations: 34.5 kB / 490.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.1307, allocations: 4 kB / 490.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006013/0.1313, allocations: 169.7 kB / 491 MB, free: 12.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.1314, allocations: 55.41 kB / 491 MB, free: 11.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.1316, allocations: 170.3 kB / 491.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.1316, allocations: 29.64 kB / 491.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.1318, allocations: 223.2 kB / 491.4 MB, free: 11.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.1318, allocations: 27.64 kB / 491.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.835e-05/0.1319, allocations: 25.72 kB / 491.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.132, allocations: 322.8 kB / 491.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.1322, allocations: 55.95 kB / 491.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/0.1324, allocations: 180.9 kB / 492 MB, free: 10.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004266/0.1329, allocations: 256 kB / 492.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.1329, allocations: 0 / 492.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005327/0.1334, allocations: 261.1 kB / 492.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.1335, allocations: 8 kB / 492.6 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.1335, allocations: 11.88 kB / 492.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.1335, allocations: 4 kB / 492.6 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003521/0.1339, allocations: 96.45 kB / 492.7 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.1351, allocations: 1.785 MB / 494.5 MB, free: 8.312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/0.1353, allocations: 31.73 kB / 494.5 MB, free: 8.281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.1353, allocations: 16 kB / 494.5 MB, free: 8.266 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.0002526/0.1356, allocations: 177.7 kB / 494.7 MB, free: 8.082 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.061e-05/0.1356, allocations: 11.91 kB / 494.7 MB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005355/0.1362, allocations: 210.1 kB / 494.9 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1362, allocations: 3.938 kB / 494.9 MB, free: 7.855 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1362, allocations: 0 / 494.9 MB, free: 7.855 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1362, allocations: 0 / 494.9 MB, free: 7.855 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003814/0.1366, allocations: 293.5 kB / 495.2 MB, free: 7.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1366, allocations: 0 / 495.2 MB, free: 7.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.1368, allocations: 67.97 kB / 495.2 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1368, allocations: 0 / 495.2 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.1368, allocations: 4 kB / 495.2 MB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001414/0.1383, allocations: 1.781 MB / 497 MB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1383, allocations: 0 / 497 MB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003767/0.1387, allocations: 227.9 kB / 497.3 MB, free: 5.359 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.435e-05/0.1387, allocations: 88.95 kB / 497.3 MB, free: 5.254 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.1388, allocations: 3.938 kB / 497.3 MB, free: 5.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.1389, allocations: 15.98 kB / 497.4 MB, free: 5.234 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.1389, allocations: 4 kB / 497.4 MB, free: 5.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.1389, allocations: 4 kB / 497.4 MB, free: 5.227 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.185e-05/0.139, allocations: 116.5 kB / 497.5 MB, free: 5.113 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.139, allocations: 0 / 497.5 MB, free: 5.113 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004839/0.1395, allocations: 107.6 kB / 497.6 MB, free: 5.008 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.0002951/0.1398, allocations: 146.6 kB / 497.7 MB, free: 4.859 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005532/0.1404, allocations: 200.9 kB / 497.9 MB, free: 4.664 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1404, allocations: 3.938 kB / 497.9 MB, free: 4.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002889/0.1407, allocations: 95.89 kB / 498 MB, free: 4.566 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.141, allocations: 12.3 kB / 498 MB, free: 4.555 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000985/0.142, allocations: 0.6024 MB / 498.6 MB, free: 3.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004367/0.1424, allocations: 0.8024 MB / 499.4 MB, free: 3.102 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001944/0.1426, allocations: 65.14 kB / 499.5 MB, free: 3.035 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.454e-05/0.1427, allocations: 15.44 kB / 499.5 MB, free: 3.023 MB / 366.1 MB Notification: Performance of SimCode: time 1.733e-06/0.1427, allocations: 0 / 499.5 MB, free: 3.023 MB / 366.1 MB Notification: Performance of Templates: time 0.007003/0.1497, allocations: 2.927 MB / 0.4907 GB, free: 144 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 -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/jenkins/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/jenkins/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