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.001568/0.001568, allocations: 99.89 kB / 17.08 MB, free: 5.988 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.001726/0.001726, allocations: 198.2 kB / 18.01 MB, free: 5.074 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.516/1.516, 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.2322/0.2322, allocations: 43.52 MB / 314.8 MB, free: 468 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.001436/0.001436, allocations: 67.89 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1283, 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.003189/0.1315, allocations: 1.822 MB / 0.4903 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.1328, allocations: 0.6308 MB / 0.491 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.133, allocations: 0 / 0.491 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003666/0.1334, allocations: 59.67 kB / 0.491 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002658/0.1336, allocations: 71.58 kB / 0.4911 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000526/0.1342, allocations: 115.5 kB / 0.4912 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003876/0.1346, allocations: 226.8 kB / 0.4914 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.523e-05/0.1347, allocations: 36.28 kB / 0.4914 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/0.1348, allocations: 87.52 kB / 0.4915 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001911/0.135, allocations: 103.5 kB / 0.4916 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.1351, allocations: 11.94 kB / 0.4916 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004319/0.1355, allocations: 215.8 kB / 0.4918 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.594e-05/0.1356, allocations: 59.73 kB / 0.4919 GB, free: 8.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.535e-05/0.1357, allocations: 99.3 kB / 0.492 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004249/0.1361, allocations: 334.9 kB / 0.4923 GB, free: 7.918 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1361, allocations: 0 / 0.4923 GB, free: 7.918 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1362, allocations: 0 / 0.4923 GB, free: 7.918 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.361e-06/0.1362, allocations: 0 / 0.4923 GB, free: 7.918 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.0006289/0.1368, allocations: 0.526 MB / 0.4928 GB, free: 7.348 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.1368, allocations: 11.89 kB / 0.4928 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001934/0.1388, allocations: 208.2 kB / 0.493 GB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.1391, allocations: 263.9 kB / 0.4933 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.1391, allocations: 20.91 kB / 0.4933 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.362e-05/0.1392, allocations: 24.38 kB / 0.4933 GB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009442/0.1401, allocations: 0.5047 MB / 0.4938 GB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1402, allocations: 0 / 0.4938 GB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.722e-05/0.1402, allocations: 8 kB / 0.4938 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.413e-05/0.1403, allocations: 28.53 kB / 0.4939 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.1415, allocations: 0.5837 MB / 0.4944 GB, free: 5.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002333/0.1438, allocations: 1.169 MB / 0.4956 GB, free: 4.398 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006736/0.1445, allocations: 170.3 kB / 0.4957 GB, free: 4.223 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003428/0.1449, allocations: 88.77 kB / 0.4958 GB, free: 4.133 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.1449, allocations: 4.141 kB / 0.4958 GB, free: 4.129 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.1449, allocations: 34.5 kB / 0.4959 GB, free: 4.086 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.963e-06/0.1449, allocations: 0 / 0.4959 GB, free: 4.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.00128/0.1462, allocations: 305.1 kB / 0.4962 GB, free: 3.781 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.1463, allocations: 51.41 kB / 0.4962 GB, free: 3.719 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002996/0.1466, allocations: 278.6 kB / 0.4965 GB, free: 3.441 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.1466, allocations: 25.7 kB / 0.4965 GB, free: 3.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.1467, allocations: 167.5 kB / 0.4967 GB, free: 3.242 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.1468, allocations: 27.64 kB / 0.4967 GB, free: 3.215 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.064e-05/0.1469, allocations: 37.59 kB / 0.4967 GB, free: 3.172 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.147, allocations: 330.8 kB / 0.497 GB, free: 2.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003816/0.1474, allocations: 91.89 kB / 0.4971 GB, free: 2.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003562/0.1478, allocations: 123.3 kB / 0.4972 GB, free: 2.617 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006926/0.1485, allocations: 211.2 kB / 0.4974 GB, free: 2.398 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1485, allocations: 0 / 0.4974 GB, free: 2.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00086/0.1494, allocations: 265.2 kB / 0.4977 GB, free: 2.133 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.1494, allocations: 6.656 kB / 0.4977 GB, free: 2.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.1494, allocations: 320 / 0.4977 GB, free: 2.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.1494, allocations: 8.094 kB / 0.4977 GB, free: 2.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006454/0.1559, allocations: 475.2 kB / 0.4982 GB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00297/0.1589, allocations: 1.945 MB / 0.5001 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004552/0.1593, allocations: 43.66 kB / 0.5001 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.77e-05/0.1594, allocations: 11.97 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.0001952/0.1596, allocations: 165.5 kB / 0.5003 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.765e-05/0.1597, allocations: 19.75 kB / 0.5003 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.208e-05/0.1597, allocations: 33.8 kB / 0.5003 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1597, allocations: 0 / 0.5003 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.1598, allocations: 3.984 kB / 0.5003 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.507e-05/0.1598, allocations: 96.83 kB / 0.5004 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.79e-05/0.1599, allocations: 0 / 0.5004 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004129/0.1603, allocations: 19.91 kB / 0.5004 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.741e-05/0.1604, allocations: 11.97 kB / 0.5004 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006524/0.1669, allocations: 0.6316 MB / 0.5011 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001223/0.1682, allocations: 0.5177 MB / 0.5016 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003341/0.1685, allocations: 79.94 kB / 0.5016 GB, free: 13.95 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000204/0.1687, allocations: 209.9 kB / 0.5018 GB, free: 13.74 MB / 398.1 MB Notification: Performance of Backend: time 4.21e-07/0.1687, allocations: 0 / 0.5018 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006709/0.1755, allocations: 0.6342 MB / 0.5025 GB, free: 13.1 MB / 398.1 MB Notification: Performance of SimCode: time 0.001362/0.1768, allocations: 0.9419 MB / 0.5034 GB, free: 12.11 MB / 398.1 MB Notification: Performance of Templates: time 0.01325/0.1901, allocations: 7.213 MB / 0.5104 GB, free: 4.926 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