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.001324/0.001324, allocations: 108.7 kB / 16.41 MB, free: 6.473 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.001307/0.001307, allocations: 189.5 kB / 17.34 MB, free: 5.754 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.562/1.562, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.231/0.231, allocations: 43.53 MB / 314.1 MB, free: 456 kB / 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.001409/0.001409, allocations: 67.91 kB / 441.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1262, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003409/0.1297, allocations: 1.818 MB / 0.4897 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.131, allocations: 0.6308 MB / 0.4903 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.493e-05/0.1311, allocations: 0 / 0.4903 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003296/0.1315, allocations: 63.67 kB / 0.4904 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001675/0.1316, allocations: 67.58 kB / 0.4904 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003696/0.132, allocations: 119.5 kB / 0.4905 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003051/0.1323, allocations: 230.8 kB / 0.4908 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.187e-05/0.1324, allocations: 28.3 kB / 0.4908 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.1325, allocations: 87.5 kB / 0.4909 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.1327, allocations: 103.5 kB / 0.491 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.1327, allocations: 8 kB / 0.491 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004234/0.1332, allocations: 227.7 kB / 0.4912 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.273e-05/0.1333, allocations: 47.77 kB / 0.4912 GB, free: 8.352 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.1334, allocations: 107.3 kB / 0.4913 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000488/0.1339, allocations: 326.9 kB / 0.4917 GB, free: 7.926 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1339, allocations: 4 kB / 0.4917 GB, free: 7.922 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1339, allocations: 0 / 0.4917 GB, free: 7.922 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.1339, allocations: 0 / 0.4917 GB, free: 7.922 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.0007974/0.1347, allocations: 0.5221 MB / 0.4922 GB, free: 7.355 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.1348, allocations: 11.89 kB / 0.4922 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001828/0.1366, allocations: 208.2 kB / 0.4924 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000532/0.1371, allocations: 271.9 kB / 0.4926 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/0.1372, allocations: 20.92 kB / 0.4927 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.147e-05/0.1372, allocations: 20.38 kB / 0.4927 GB, free: 6.793 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.1383, allocations: 0.5047 MB / 0.4932 GB, free: 6.281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.1383, allocations: 0 / 0.4932 GB, free: 6.281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.378e-05/0.1384, allocations: 12 kB / 0.4932 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.928e-05/0.1385, allocations: 24.55 kB / 0.4932 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.1399, allocations: 0.5876 MB / 0.4938 GB, free: 5.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002359/0.1422, allocations: 1.169 MB / 0.4949 GB, free: 4.398 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007104/0.143, allocations: 166.3 kB / 0.4951 GB, free: 4.227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003554/0.1433, allocations: 92.75 kB / 0.4952 GB, free: 4.133 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.1434, allocations: 4.141 kB / 0.4952 GB, free: 4.129 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.1434, allocations: 34.56 kB / 0.4952 GB, free: 4.086 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.495e-05/0.1434, allocations: 0 / 0.4952 GB, free: 4.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.001282/0.1447, allocations: 305 kB / 0.4955 GB, free: 3.781 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.1448, allocations: 55.41 kB / 0.4955 GB, free: 3.715 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002958/0.1451, allocations: 274.6 kB / 0.4958 GB, free: 3.441 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.1451, allocations: 29.7 kB / 0.4958 GB, free: 3.406 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.1452, allocations: 163.5 kB / 0.496 GB, free: 3.242 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.1453, allocations: 23.66 kB / 0.496 GB, free: 3.219 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.908e-05/0.1454, allocations: 45.58 kB / 0.4961 GB, free: 3.168 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1455, allocations: 330.8 kB / 0.4964 GB, free: 2.836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003739/0.1459, allocations: 87.89 kB / 0.4965 GB, free: 2.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004036/0.1463, allocations: 127.3 kB / 0.4966 GB, free: 2.613 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007478/0.1471, allocations: 211.1 kB / 0.4968 GB, free: 2.395 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.1471, allocations: 3.938 kB / 0.4968 GB, free: 2.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008707/0.148, allocations: 257.3 kB / 0.497 GB, free: 2.133 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.148, allocations: 10.66 kB / 0.497 GB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.148, allocations: 0 / 0.497 GB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.148, allocations: 0 / 0.497 GB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005892/0.1539, allocations: 471.2 kB / 0.4975 GB, free: 1.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002974/0.1569, allocations: 1.941 MB / 0.4994 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004236/0.1574, allocations: 43.69 kB / 0.4994 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/0.1574, allocations: 8.297 kB / 0.4994 GB, free: 15.6 MB / 398.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.0001949/0.1576, allocations: 173.5 kB / 0.4996 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.314e-05/0.1577, allocations: 23.75 kB / 0.4996 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.796e-05/0.1577, allocations: 29.8 kB / 0.4997 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1578, allocations: 0 / 0.4997 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.1578, allocations: 4 kB / 0.4997 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1578, allocations: 0 / 0.4997 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003672/0.1581, allocations: 297.3 kB / 0.4999 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1582, allocations: 0 / 0.4999 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00558/0.1637, allocations: 455.3 kB / 0.5004 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.1638, allocations: 4 kB / 0.5004 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/0.1638, allocations: 3.984 kB / 0.5004 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002828/0.1666, allocations: 1.941 MB / 0.5023 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1666, allocations: 0 / 0.5023 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009075/0.1676, allocations: 327 kB / 0.5026 GB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.186e-05/0.1677, allocations: 100.8 kB / 0.5027 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.269e-05/0.1677, allocations: 4 kB / 0.5027 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003702/0.1681, allocations: 15.97 kB / 0.5027 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.192e-05/0.1682, allocations: 15.97 kB / 0.5027 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.1682, allocations: 7.984 kB / 0.5027 GB, free: 12.06 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002925/0.1685, allocations: 209.9 kB / 0.5029 GB, free: 11.85 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1685, allocations: 0 / 0.5029 GB, free: 11.85 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003788/0.1689, allocations: 67.91 kB / 0.503 GB, free: 11.79 MB / 398.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.0002281/0.1691, allocations: 111.2 kB / 0.5031 GB, free: 11.67 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006166/0.1753, allocations: 0.5889 MB / 0.5037 GB, free: 11.08 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1753, allocations: 0 / 0.5037 GB, free: 11.08 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00577/0.1811, allocations: 0.4955 MB / 0.5042 GB, free: 10.58 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.1816, allocations: 44.66 kB / 0.5042 GB, free: 10.54 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.1828, allocations: 476 kB / 0.5047 GB, free: 10.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.1832, allocations: 0.783 MB / 0.5054 GB, free: 9.242 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001637/0.1834, allocations: 49.92 kB / 0.5055 GB, free: 9.191 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.221e-05/0.1835, allocations: 27.42 kB / 0.5055 GB, free: 9.164 MB / 398.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1835, allocations: 0 / 0.5055 GB, free: 9.164 MB / 398.1 MB Notification: Performance of Templates: time 0.009727/0.1932, allocations: 5.355 MB / 0.5107 GB, free: 3.836 MB / 398.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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