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.001564/0.001564, allocations: 111.3 kB / 17.08 MB, free: 6.016 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.002051/0.002051, allocations: 199 kB / 18.01 MB, free: 5.094 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.44/1.44, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2058/0.2058, allocations: 43.52 MB / 314.8 MB, free: 472 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.00148/0.00148, allocations: 67.89 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.105, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003266/0.1083, allocations: 1.823 MB / 0.4903 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.1095, allocations: 0.6308 MB / 0.491 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.1097, allocations: 3.938 kB / 0.491 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003233/0.11, allocations: 55.73 kB / 0.491 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002186/0.1103, allocations: 71.58 kB / 0.4911 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004906/0.1108, allocations: 119.5 kB / 0.4912 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003085/0.1111, allocations: 226.8 kB / 0.4914 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.705e-05/0.1112, allocations: 36.28 kB / 0.4914 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.1113, allocations: 83.58 kB / 0.4915 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/0.1115, allocations: 107.4 kB / 0.4916 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.1115, allocations: 8 kB / 0.4916 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004102/0.1119, allocations: 227.7 kB / 0.4919 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.781e-05/0.112, allocations: 47.77 kB / 0.4919 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.1121, allocations: 103.3 kB / 0.492 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000508/0.1126, allocations: 334.9 kB / 0.4923 GB, free: 7.926 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.1127, allocations: 0 / 0.4923 GB, free: 7.926 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.1127, allocations: 3.984 kB / 0.4923 GB, free: 7.922 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.1127, allocations: 0 / 0.4923 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.0007425/0.1134, allocations: 0.5188 MB / 0.4928 GB, free: 7.355 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.1135, allocations: 11.89 kB / 0.4928 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001778/0.1153, allocations: 204.2 kB / 0.493 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.1156, allocations: 271.9 kB / 0.4933 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.619e-05/0.1156, allocations: 20.88 kB / 0.4933 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.642e-05/0.1157, allocations: 20.38 kB / 0.4933 GB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009762/0.1167, allocations: 0.5047 MB / 0.4938 GB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1167, allocations: 0 / 0.4938 GB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.769e-05/0.1167, allocations: 12 kB / 0.4938 GB, free: 6.273 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.884e-05/0.1168, allocations: 24.55 kB / 0.4939 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.118, allocations: 0.5798 MB / 0.4944 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002096/0.1201, allocations: 1.173 MB / 0.4956 GB, free: 4.406 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006779/0.1208, allocations: 174.3 kB / 0.4957 GB, free: 4.227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003484/0.1212, allocations: 88.75 kB / 0.4958 GB, free: 4.137 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.1212, allocations: 4 kB / 0.4958 GB, free: 4.133 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.1212, allocations: 30.56 kB / 0.4959 GB, free: 4.094 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.1213, allocations: 0 / 0.4959 GB, free: 4.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.001255/0.1225, allocations: 309.2 kB / 0.4962 GB, free: 3.785 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.1226, allocations: 55.39 kB / 0.4962 GB, free: 3.719 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002677/0.1228, allocations: 274.6 kB / 0.4965 GB, free: 3.445 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.1229, allocations: 29.7 kB / 0.4965 GB, free: 3.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.123, allocations: 167.5 kB / 0.4967 GB, free: 3.242 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.123, allocations: 23.66 kB / 0.4967 GB, free: 3.219 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.009e-05/0.1231, allocations: 37.59 kB / 0.4967 GB, free: 3.176 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1232, allocations: 334.8 kB / 0.497 GB, free: 2.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003725/0.1236, allocations: 87.91 kB / 0.4971 GB, free: 2.754 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000394/0.124, allocations: 123.3 kB / 0.4972 GB, free: 2.621 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007464/0.1248, allocations: 211.2 kB / 0.4974 GB, free: 2.402 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.1248, allocations: 3.938 kB / 0.4974 GB, free: 2.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008811/0.1257, allocations: 261.2 kB / 0.4977 GB, free: 2.137 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.1257, allocations: 6.75 kB / 0.4977 GB, free: 2.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.1257, allocations: 7.938 kB / 0.4977 GB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1257, allocations: 0 / 0.4977 GB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005538/0.1313, allocations: 463.3 kB / 0.4981 GB, free: 1.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002605/0.1339, allocations: 1.953 MB / 0.5001 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003804/0.1343, allocations: 47.62 kB / 0.5001 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.1344, allocations: 7.984 kB / 0.5001 GB, free: 15.59 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.0001705/0.1345, allocations: 161.5 kB / 0.5003 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.476e-05/0.1346, allocations: 15.81 kB / 0.5003 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.778e-05/0.1347, allocations: 29.8 kB / 0.5003 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1347, allocations: 4 kB / 0.5003 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.1347, allocations: 0 / 0.5003 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1347, allocations: 0 / 0.5003 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003532/0.1351, allocations: 293.3 kB / 0.5006 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.1351, allocations: 4 kB / 0.5006 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005425/0.1405, allocations: 459.2 kB / 0.501 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.1405, allocations: 0 / 0.501 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.006e-05/0.1406, allocations: 11.98 kB / 0.501 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002728/0.1433, allocations: 1.938 MB / 0.5029 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.1433, allocations: 8.016 kB / 0.5029 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009212/0.1442, allocations: 319.4 kB / 0.5032 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.309e-05/0.1443, allocations: 96.84 kB / 0.5033 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.314e-05/0.1444, allocations: 4 kB / 0.5033 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003519/0.1447, allocations: 19.97 kB / 0.5034 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.383e-05/0.1448, allocations: 11.98 kB / 0.5034 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.642e-05/0.1449, allocations: 7.984 kB / 0.5034 GB, free: 12.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002065/0.1451, allocations: 217.8 kB / 0.5036 GB, free: 11.86 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1451, allocations: 0 / 0.5036 GB, free: 11.86 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004046/0.1455, allocations: 63.91 kB / 0.5036 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.0002239/0.1457, allocations: 115.2 kB / 0.5038 GB, free: 11.67 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005781/0.1515, allocations: 0.5928 MB / 0.5043 GB, free: 11.08 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1515, allocations: 0 / 0.5043 GB, free: 11.08 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005355/0.1569, allocations: 495.4 kB / 0.5048 GB, free: 10.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/0.1573, allocations: 40.66 kB / 0.5048 GB, free: 10.55 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.1584, allocations: 0.5016 MB / 0.5053 GB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.1587, allocations: 0.7714 MB / 0.5061 GB, free: 9.227 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.557e-05/0.1588, allocations: 23.42 kB / 0.5061 GB, free: 9.203 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1588, allocations: 0 / 0.5061 GB, free: 9.203 MB / 398.1 MB Notification: Performance of Templates: time 0.00907/0.1679, allocations: 6.682 MB / 0.5126 GB, free: 2.531 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/jenkins1/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/jenkins1/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