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.001718/0.001718, allocations: 104.8 kB / 16.4 MB, free: 6.457 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.002169/0.00217, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.698/1.698, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2378/0.2378, allocations: 43.53 MB / 314.1 MB, free: 448 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.001518/0.001518, allocations: 63.91 kB / 441.8 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1417, allocations: 57.78 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003021/0.1448, allocations: 1.834 MB / 0.4897 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.146, allocations: 0.6269 MB / 0.4903 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.809e-05/0.1461, allocations: 4 kB / 0.4903 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003525/0.1464, allocations: 51.73 kB / 0.4904 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001797/0.1466, allocations: 71.53 kB / 0.4904 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003731/0.147, allocations: 115.5 kB / 0.4905 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003071/0.1473, allocations: 230.8 kB / 0.4908 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.1474, allocations: 36.27 kB / 0.4908 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.1476, allocations: 87.52 kB / 0.4909 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.1477, allocations: 103.5 kB / 0.491 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.716e-05/0.1478, allocations: 8 kB / 0.491 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004005/0.1482, allocations: 219.7 kB / 0.4912 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.981e-05/0.1483, allocations: 55.77 kB / 0.4912 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.1484, allocations: 103.3 kB / 0.4913 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004948/0.1489, allocations: 334.6 kB / 0.4917 GB, free: 7.898 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1489, allocations: 4 kB / 0.4917 GB, free: 7.895 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1489, allocations: 0 / 0.4917 GB, free: 7.895 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1489, allocations: 0 / 0.4917 GB, free: 7.895 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.0007619/0.1497, allocations: 0.53 MB / 0.4922 GB, free: 7.316 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.1498, allocations: 11.89 kB / 0.4922 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001742/0.1515, allocations: 212.3 kB / 0.4924 GB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003426/0.1519, allocations: 260 kB / 0.4926 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.1519, allocations: 16.94 kB / 0.4927 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.884e-05/0.152, allocations: 24.36 kB / 0.4927 GB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009505/0.1529, allocations: 0.5047 MB / 0.4932 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1529, allocations: 0 / 0.4932 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.614e-05/0.153, allocations: 7.984 kB / 0.4932 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.706e-05/0.153, allocations: 24.55 kB / 0.4932 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/0.1542, allocations: 0.5992 MB / 0.4938 GB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002081/0.1563, allocations: 1.174 MB / 0.4949 GB, free: 4.355 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006483/0.157, allocations: 166.3 kB / 0.4951 GB, free: 4.184 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003504/0.1573, allocations: 96.73 kB / 0.4952 GB, free: 4.086 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.1574, allocations: 0 / 0.4952 GB, free: 4.086 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.1574, allocations: 30.56 kB / 0.4952 GB, free: 4.047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.1574, allocations: 0 / 0.4952 GB, free: 4.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0012/0.1586, allocations: 313.3 kB / 0.4955 GB, free: 3.734 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.1587, allocations: 55.41 kB / 0.4956 GB, free: 3.668 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002851/0.1589, allocations: 274.6 kB / 0.4958 GB, free: 3.395 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.159, allocations: 25.7 kB / 0.4959 GB, free: 3.363 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.1591, allocations: 171.7 kB / 0.496 GB, free: 3.191 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.344e-05/0.1592, allocations: 27.78 kB / 0.496 GB, free: 3.164 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.1593, allocations: 37.69 kB / 0.4961 GB, free: 3.121 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1594, allocations: 326.8 kB / 0.4964 GB, free: 2.793 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003714/0.1598, allocations: 95.89 kB / 0.4965 GB, free: 2.699 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003648/0.1602, allocations: 115.3 kB / 0.4966 GB, free: 2.574 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007045/0.1609, allocations: 207.2 kB / 0.4968 GB, free: 2.359 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.1609, allocations: 3.938 kB / 0.4968 GB, free: 2.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000856/0.1618, allocations: 273.3 kB / 0.4971 GB, free: 2.082 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.1618, allocations: 4 kB / 0.4971 GB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1618, allocations: 0 / 0.4971 GB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.1618, allocations: 4 kB / 0.4971 GB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005565/0.1674, allocations: 471.2 kB / 0.4975 GB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002761/0.1702, allocations: 1.945 MB / 0.4994 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003995/0.1706, allocations: 39.78 kB / 0.4994 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.1706, allocations: 12.02 kB / 0.4995 GB, free: 15.55 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.0002119/0.1708, allocations: 169.5 kB / 0.4996 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.501e-05/0.1709, allocations: 23.8 kB / 0.4996 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.146e-05/0.171, allocations: 29.8 kB / 0.4997 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.171, allocations: 0 / 0.4997 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.171, allocations: 4 kB / 0.4997 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.171, allocations: 0 / 0.4997 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003604/0.1714, allocations: 289.4 kB / 0.5 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1714, allocations: 0 / 0.5 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005442/0.1768, allocations: 455.3 kB / 0.5004 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.1769, allocations: 4 kB / 0.5004 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/0.1769, allocations: 7.984 kB / 0.5004 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002813/0.1797, allocations: 1.941 MB / 0.5023 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1797, allocations: 0 / 0.5023 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008532/0.1806, allocations: 327.2 kB / 0.5026 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-05/0.1807, allocations: 96.91 kB / 0.5027 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.337e-05/0.1807, allocations: 0 / 0.5027 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003502/0.1811, allocations: 19.97 kB / 0.5027 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.907e-05/0.1812, allocations: 11.97 kB / 0.5027 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.1812, allocations: 7.984 kB / 0.5027 GB, free: 12.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002028/0.1814, allocations: 213.9 kB / 0.5029 GB, free: 11.81 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1814, allocations: 0 / 0.5029 GB, free: 11.81 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003613/0.1818, allocations: 67.89 kB / 0.503 GB, free: 11.74 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.0002219/0.182, allocations: 111.2 kB / 0.5031 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006021/0.188, allocations: 0.5889 MB / 0.5037 GB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.1881, allocations: 0 / 0.5037 GB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005453/0.1935, allocations: 0.4955 MB / 0.5042 GB, free: 10.54 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004555/0.194, allocations: 47.33 kB / 0.5042 GB, free: 10.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.1951, allocations: 488 kB / 0.5047 GB, free: 9.996 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.1955, allocations: 0.7792 MB / 0.5054 GB, free: 9.191 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001725/0.1957, allocations: 45.92 kB / 0.5055 GB, free: 9.145 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.183e-05/0.1958, allocations: 31.36 kB / 0.5055 GB, free: 9.113 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1958, allocations: 0 / 0.5055 GB, free: 9.113 MB / 398.1 MB Notification: Performance of Templates: time 0.01014/0.2059, allocations: 5.217 MB / 0.5106 GB, free: 3.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/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