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_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta.1.|eta.2.|eta.3.|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_nominalDensityViscosity_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta.1.|eta.2.|eta.3.|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_nominalDensityViscosity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009149/0.0009149, allocations: 94.95 kB / 17.35 MB, free: 6.375 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.001012/0.001012, allocations: 175.2 kB / 18.25 MB, free: 5.523 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.437/1.437, allocations: 223.3 MB / 242.3 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1988/0.1988, allocations: 44.25 MB / 337.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003001/0.0003001, allocations: 8 kB / 410.4 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1181, allocations: 61.91 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.001935/0.12, allocations: 1.531 MB / 473.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.1211, allocations: 0.6543 MB / 474.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.69e-05/0.1212, allocations: 0 / 474.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.1214, allocations: 51.73 kB / 474.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001387/0.1216, allocations: 63.66 kB / 474.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.1218, allocations: 95.33 kB / 474.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002903/0.1221, allocations: 302.7 kB / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.47e-05/0.1222, allocations: 28.3 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.212e-05/0.1223, allocations: 87.52 kB / 475.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.1225, allocations: 107.4 kB / 475.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.1225, allocations: 7.984 kB / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003286/0.1228, allocations: 223.8 kB / 475.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.29e-05/0.1229, allocations: 51.7 kB / 475.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.123, allocations: 125 kB / 475.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003708/0.1234, allocations: 319.1 kB / 475.9 MB, free: 9.703 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.1234, allocations: 0 / 475.9 MB, free: 9.703 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1234, allocations: 8 kB / 475.9 MB, free: 9.695 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.1234, allocations: 0 / 475.9 MB, free: 9.695 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0005614/0.124, allocations: 491.4 kB / 476.4 MB, free: 9.168 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.124, allocations: 8.031 kB / 476.4 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00179/0.1258, allocations: 208.2 kB / 476.6 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.1261, allocations: 263.9 kB / 476.8 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.1262, allocations: 20.92 kB / 476.9 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.161e-05/0.1262, allocations: 24.31 kB / 476.9 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009576/0.1272, allocations: 0.5086 MB / 477.4 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1272, allocations: 0 / 477.4 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.975e-05/0.1272, allocations: 12 kB / 477.4 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.961e-05/0.1273, allocations: 28.48 kB / 477.4 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.1285, allocations: 0.5915 MB / 478 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002107/0.1306, allocations: 1.169 MB / 479.2 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006824/0.1313, allocations: 182.3 kB / 479.4 MB, free: 6.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003676/0.1317, allocations: 96.75 kB / 479.5 MB, free: 5.926 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.1318, allocations: 4.141 kB / 479.5 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.1318, allocations: 38.5 kB / 479.5 MB, free: 5.875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.1318, allocations: 4 kB / 479.5 MB, free: 5.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.001223/0.133, allocations: 313.1 kB / 479.8 MB, free: 5.559 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.1331, allocations: 55.34 kB / 479.9 MB, free: 5.492 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002972/0.1334, allocations: 278.5 kB / 480.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.1334, allocations: 33.7 kB / 480.2 MB, free: 5.172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.1335, allocations: 167.5 kB / 480.3 MB, free: 5.004 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.1336, allocations: 27.64 kB / 480.4 MB, free: 4.977 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/0.1336, allocations: 17.72 kB / 480.4 MB, free: 4.953 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1337, allocations: 326.8 kB / 480.7 MB, free: 4.625 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004025/0.1342, allocations: 99.89 kB / 480.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003851/0.1345, allocations: 131.3 kB / 480.9 MB, free: 4.387 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000731/0.1353, allocations: 223.2 kB / 481.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.1353, allocations: 3.938 kB / 481.2 MB, free: 4.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008606/0.1362, allocations: 273.1 kB / 481.4 MB, free: 3.879 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.1362, allocations: 10.5 kB / 481.4 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.1362, allocations: 4.094 kB / 481.4 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.1363, allocations: 3.938 kB / 481.4 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005948/0.1422, allocations: 463.3 kB / 481.9 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002882/0.1451, allocations: 1.941 MB / 483.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004708/0.1456, allocations: 51.88 kB / 483.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.1457, allocations: 7.984 kB / 483.9 MB, free: 1.34 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 initialization (13): * Single equations (assignments): 10 * 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.000204/0.1459, allocations: 157.7 kB / 484 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.491e-05/0.1459, allocations: 23.7 kB / 484.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.35e-05/0.146, allocations: 29.72 kB / 484.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.146, allocations: 7.984 kB / 484.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.1461, allocations: 0 / 484.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1461, allocations: 0 / 484.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003561/0.1464, allocations: 293.4 kB / 484.4 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.1464, allocations: 96 / 484.4 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00577/0.1522, allocations: 463.2 kB / 484.8 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/0.1523, allocations: 4 kB / 484.8 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.325e-05/0.1523, allocations: 7.984 kB / 484.9 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002819/0.1551, allocations: 1.941 MB / 486.8 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1551, allocations: 4.031 kB / 486.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008919/0.156, allocations: 335.1 kB / 487.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.884e-05/0.1561, allocations: 96.81 kB / 487.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/0.1562, allocations: 0 / 487.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003871/0.1566, allocations: 27.97 kB / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.152e-05/0.1567, allocations: 7.984 kB / 487.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.1567, allocations: 7.984 kB / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002024/0.1569, allocations: 209.9 kB / 487.5 MB, free: 13.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1569, allocations: 0 / 487.5 MB, free: 13.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003726/0.1573, allocations: 75.83 kB / 487.5 MB, free: 13.53 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.0001958/0.1575, allocations: 103.8 kB / 487.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006381/0.1639, allocations: 0.6045 MB / 488.3 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.1639, allocations: 3.938 kB / 488.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006705/0.1706, allocations: 0.4958 MB / 488.8 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000671/0.1713, allocations: 36.53 kB / 488.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.1729, allocations: 0.5614 MB / 489.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005332/0.1735, allocations: 0.7755 MB / 490.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002808/0.1738, allocations: 54.05 kB / 490.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.751e-05/0.1739, allocations: 23.42 kB / 490.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of SimCode: time 4.288e-06/0.1739, allocations: 0 / 490.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of Templates: time 0.01372/0.1876, allocations: 4.889 MB / 495.1 MB, free: 5.977 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches