Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3.2.3_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_3.2.3_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.001015/0.001016, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 184 kB / 16.92 MB, free: 6.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.822/1.822, allocations: 205.4 MB / 223.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3879/0.3879, allocations: 43.57 MB / 315 MB, free: 9.09 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005432/0.0005427, allocations: 18.97 kB / 384.6 MB, free: 7.871 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1482, allocations: 58.87 MB / 443.5 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.002087/0.1504, allocations: 1.536 MB / 445 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.1515, allocations: 0.6466 MB / 445.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.309e-05/0.1515, allocations: 0 / 445.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.1518, allocations: 51.73 kB / 445.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001466/0.152, allocations: 63.64 kB / 445.8 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002883/0.1523, allocations: 103.7 kB / 445.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003137/0.1526, allocations: 298.7 kB / 446.2 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.807e-05/0.1527, allocations: 36.28 kB / 446.2 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.791e-05/0.1528, allocations: 79.53 kB / 446.3 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.1529, allocations: 115.4 kB / 446.4 MB, free: 9.961 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.153, allocations: 4 kB / 446.4 MB, free: 9.957 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003554/0.1533, allocations: 215.8 kB / 446.6 MB, free: 9.746 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.252e-05/0.1534, allocations: 55.69 kB / 446.6 MB, free: 9.691 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.1535, allocations: 125 kB / 446.8 MB, free: 9.562 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003955/0.1539, allocations: 319.1 kB / 447.1 MB, free: 9.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.154, allocations: 4 kB / 447.1 MB, free: 9.246 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.154, allocations: 0 / 447.1 MB, free: 9.246 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.154, allocations: 4 kB / 447.1 MB, free: 9.242 MB / 382.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.000663/0.1546, allocations: 495.2 kB / 447.6 MB, free: 8.711 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.1547, allocations: 11.97 kB / 447.6 MB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001781/0.1565, allocations: 200.3 kB / 447.8 MB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/0.1568, allocations: 271.9 kB / 448 MB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.1568, allocations: 20.94 kB / 448.1 MB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.152e-05/0.1569, allocations: 16.38 kB / 448.1 MB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009667/0.1579, allocations: 0.5125 MB / 448.6 MB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1579, allocations: 0 / 448.6 MB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.032e-05/0.1579, allocations: 12 kB / 448.6 MB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.49e-05/0.158, allocations: 24.55 kB / 448.6 MB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.1592, allocations: 0.5876 MB / 449.2 MB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002162/0.1614, allocations: 1.189 MB / 450.4 MB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006822/0.1621, allocations: 182.3 kB / 450.6 MB, free: 5.555 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003586/0.1625, allocations: 92.77 kB / 450.7 MB, free: 5.461 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.1625, allocations: 4 kB / 450.7 MB, free: 5.457 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.1625, allocations: 34.55 kB / 450.7 MB, free: 5.414 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.1625, allocations: 0 / 450.7 MB, free: 5.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.001256/0.1638, allocations: 309.2 kB / 451 MB, free: 5.105 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.1639, allocations: 51.41 kB / 451.1 MB, free: 5.043 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/0.1641, allocations: 282.5 kB / 451.3 MB, free: 4.758 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.1642, allocations: 33.7 kB / 451.4 MB, free: 4.719 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.1643, allocations: 171.6 kB / 451.5 MB, free: 4.547 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.1643, allocations: 31.53 kB / 451.6 MB, free: 4.516 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.1644, allocations: 17.72 kB / 451.6 MB, free: 4.492 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1645, allocations: 330.8 kB / 451.9 MB, free: 4.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003663/0.1649, allocations: 99.89 kB / 452 MB, free: 4.062 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003784/0.1653, allocations: 119.3 kB / 452.1 MB, free: 3.934 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007332/0.166, allocations: 219.2 kB / 452.3 MB, free: 3.707 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.166, allocations: 7.938 kB / 452.4 MB, free: 3.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008443/0.1669, allocations: 273.2 kB / 452.6 MB, free: 3.426 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.1669, allocations: 8 kB / 452.6 MB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1669, allocations: 96 / 452.6 MB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.167, allocations: 4 kB / 452.6 MB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006025/0.173, allocations: 467.3 kB / 453.1 MB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002783/0.1758, allocations: 1.945 MB / 455 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004918/0.1763, allocations: 51.88 kB / 455.1 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.665e-05/0.1763, allocations: 7.984 kB / 455.1 MB, free: 0.8828 MB / 382.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.0002114/0.1766, allocations: 161.7 kB / 455.2 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.418e-05/0.1766, allocations: 19.72 kB / 455.3 MB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.628e-05/0.1767, allocations: 33.64 kB / 455.3 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1767, allocations: 0 / 455.3 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.1767, allocations: 4 kB / 455.3 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1767, allocations: 0 / 455.3 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003579/0.1771, allocations: 293.4 kB / 455.6 MB, free: 324 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1771, allocations: 0 / 455.6 MB, free: 324 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2538/0.4309, allocations: 455.4 kB / 456 MB, free: 46.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.4309, allocations: 0.7031 kB / 456 MB, free: 46.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.819e-05/0.431, allocations: 8.375 kB / 456 MB, free: 46.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002326/0.4333, allocations: 1.951 MB / 458 MB, free: 45.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4333, allocations: 0 / 458 MB, free: 45.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007743/0.4341, allocations: 329.8 kB / 458.3 MB, free: 45.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.678e-05/0.4342, allocations: 103.1 kB / 458.4 MB, free: 45.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.2e-05/0.4343, allocations: 3.625 kB / 458.4 MB, free: 45.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003608/0.4346, allocations: 21.88 kB / 458.4 MB, free: 45.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7e-05/0.4347, allocations: 7.438 kB / 458.4 MB, free: 45.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.4347, allocations: 9.766 kB / 458.5 MB, free: 45.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001759/0.4349, allocations: 206.4 kB / 458.7 MB, free: 44.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4349, allocations: 3.625 kB / 458.7 MB, free: 44.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003678/0.4353, allocations: 66.39 kB / 458.7 MB, free: 44.94 MB / 382.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.0001896/0.4355, allocations: 114.1 kB / 458.8 MB, free: 44.85 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006052/0.4415, allocations: 0.6088 MB / 459.4 MB, free: 44.85 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.4416, allocations: 0.9375 kB / 459.4 MB, free: 44.85 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005497/0.4471, allocations: 0.4964 MB / 459.9 MB, free: 44.85 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000451/0.4475, allocations: 43.55 kB / 460 MB, free: 44.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009976/0.4486, allocations: 0.5611 MB / 460.5 MB, free: 44.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.4488, allocations: 0.7775 MB / 461.3 MB, free: 43.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001663/0.4489, allocations: 48.59 kB / 461.4 MB, free: 43.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.106e-05/0.449, allocations: 20.66 kB / 461.4 MB, free: 43.86 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.449, allocations: 192 / 461.4 MB, free: 43.86 MB / 382.1 MB Notification: Performance of Templates: time 0.008732/0.4577, allocations: 4.895 MB / 466.3 MB, free: 43.65 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches