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.001431/0.001431, allocations: 105.4 kB / 18.4 MB, free: 4.57 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.001675/0.001675, allocations: 188 kB / 19.34 MB, free: 3.641 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.539/1.539, allocations: 222.9 MB / 243 MB, free: 15.14 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.219/0.219, allocations: 44.18 MB / 337.4 MB, free: 2.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00216/0.002161, allocations: 67.55 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.156, allocations: 60.82 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003422/0.1595, allocations: 1.819 MB / 472.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.1606, allocations: 0.6347 MB / 473.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.748e-05/0.1607, allocations: 4 kB / 473.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002949/0.161, allocations: 43.73 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001617/0.1612, allocations: 71.58 kB / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003412/0.1615, allocations: 123.5 kB / 473.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002696/0.1618, allocations: 230.8 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.724e-05/0.1619, allocations: 24.3 kB / 473.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.162, allocations: 91.45 kB / 473.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.1622, allocations: 107.5 kB / 473.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.1622, allocations: 7.938 kB / 473.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003589/0.1626, allocations: 227.7 kB / 474.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.836e-05/0.1627, allocations: 51.7 kB / 474.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.752e-05/0.1628, allocations: 95.36 kB / 474.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004049/0.1632, allocations: 330.8 kB / 474.6 MB, free: 9.805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1632, allocations: 0 / 474.6 MB, free: 9.805 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1632, allocations: 3.938 kB / 474.6 MB, free: 9.801 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.1632, allocations: 0 / 474.6 MB, free: 9.801 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.000697/0.1639, allocations: 0.5266 MB / 475.1 MB, free: 9.227 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.164, allocations: 12.03 kB / 475.1 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001735/0.1657, allocations: 196.3 kB / 475.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003702/0.1661, allocations: 267.9 kB / 475.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.1661, allocations: 20.92 kB / 475.6 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.747e-05/0.1662, allocations: 24.38 kB / 475.6 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009361/0.1671, allocations: 0.4969 MB / 476.1 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1671, allocations: 0 / 476.1 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.6e-05/0.1672, allocations: 12 kB / 476.1 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.407e-05/0.1672, allocations: 24.55 kB / 476.1 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.1684, allocations: 0.5798 MB / 476.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002321/0.1708, allocations: 1.181 MB / 477.9 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006404/0.1714, allocations: 170.3 kB / 478.1 MB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003428/0.1718, allocations: 84.77 kB / 478.1 MB, free: 6.027 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.1718, allocations: 12.08 kB / 478.2 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.1719, allocations: 38.55 kB / 478.2 MB, free: 5.969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.773e-06/0.1719, allocations: 0 / 478.2 MB, free: 5.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.00121/0.1731, allocations: 297.1 kB / 478.5 MB, free: 5.672 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.1732, allocations: 51.41 kB / 478.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002966/0.1735, allocations: 286.4 kB / 478.8 MB, free: 5.316 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.1735, allocations: 29.7 kB / 478.8 MB, free: 5.281 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.1736, allocations: 167.5 kB / 479 MB, free: 5.113 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.1737, allocations: 23.66 kB / 479 MB, free: 5.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.085e-05/0.1738, allocations: 41.69 kB / 479.1 MB, free: 5.043 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1739, allocations: 330.8 kB / 479.4 MB, free: 4.711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003346/0.1742, allocations: 87.91 kB / 479.5 MB, free: 4.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003412/0.1746, allocations: 115.3 kB / 479.6 MB, free: 4.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006829/0.1753, allocations: 215.1 kB / 479.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.1753, allocations: 3.938 kB / 479.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007873/0.1761, allocations: 269.1 kB / 480.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.1761, allocations: 7.984 kB / 480.1 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1761, allocations: 0 / 480.1 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.1762, allocations: 8.094 kB / 480.1 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005889/0.182, allocations: 459.2 kB / 480.5 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002655/0.1847, allocations: 1.949 MB / 482.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003829/0.1851, allocations: 43.66 kB / 482.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.1851, allocations: 4 kB / 482.5 MB, free: 1.473 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.0001931/0.1853, allocations: 165.8 kB / 482.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.339e-05/0.1854, allocations: 19.72 kB / 482.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.034e-05/0.1855, allocations: 25.7 kB / 482.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1855, allocations: 0 / 482.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.1855, allocations: 0 / 482.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1855, allocations: 3.938 kB / 482.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000354/0.1859, allocations: 293.4 kB / 483 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1859, allocations: 4 kB / 483 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005686/0.1916, allocations: 451.3 kB / 483.5 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1916, allocations: 0 / 483.5 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.1916, allocations: 3.984 kB / 483.5 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002712/0.1943, allocations: 1.941 MB / 485.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.1944, allocations: 0 / 485.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008195/0.1952, allocations: 331.1 kB / 485.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.037e-05/0.1953, allocations: 100.8 kB / 485.8 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.464e-05/0.1953, allocations: 4 kB / 485.8 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000362/0.1957, allocations: 23.97 kB / 485.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.22e-05/0.1958, allocations: 3.984 kB / 485.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/0.1958, allocations: 7.984 kB / 485.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002557/0.1961, allocations: 213.9 kB / 486.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1961, allocations: 0 / 486.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003754/0.1965, allocations: 71.94 kB / 486.2 MB, free: 13.69 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.000224/0.1967, allocations: 106.9 kB / 486.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006248/0.2029, allocations: 0.5968 MB / 486.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.203, allocations: 0 / 486.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005603/0.2086, allocations: 0.4955 MB / 487.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000553/0.2091, allocations: 44.53 kB / 487.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.2104, allocations: 472.5 kB / 487.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005233/0.211, allocations: 0.7791 MB / 488.6 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001584/0.2111, allocations: 54.05 kB / 488.7 MB, free: 11.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.863e-05/0.2112, allocations: 19.44 kB / 488.7 MB, free: 11.08 MB / 366.1 MB Notification: Performance of SimCode: time 9.41e-07/0.2112, allocations: 0 / 488.7 MB, free: 11.08 MB / 366.1 MB Notification: Performance of Templates: time 0.01003/0.2212, allocations: 5.192 MB / 493.9 MB, free: 5.957 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 -s cvode -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/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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