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_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|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_pressureLossCoefficient_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|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_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 108.3 kB / 16.41 MB, free: 6.508 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.001452/0.001452, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.596/1.596, 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.2022/0.2022, allocations: 43.52 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.001548/0.001548, allocations: 71.89 kB / 441.8 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1423, allocations: 57.79 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.004343/0.1467, allocations: 1.682 MB / 0.4895 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001755/0.1485, allocations: 0.8383 MB / 0.4904 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.1486, allocations: 8 kB / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003105/0.149, allocations: 39.77 kB / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002436/0.1492, allocations: 51.73 kB / 0.4905 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004918/0.1497, allocations: 91.62 kB / 0.4906 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002531/0.15, allocations: 151.2 kB / 0.4907 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.426e-05/0.1501, allocations: 32.83 kB / 0.4907 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.1503, allocations: 59.77 kB / 0.4908 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.1504, allocations: 79.61 kB / 0.4909 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.1505, allocations: 4 kB / 0.4909 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000363/0.1508, allocations: 159.8 kB / 0.491 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.837e-05/0.1509, allocations: 27.91 kB / 0.491 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.633e-05/0.151, allocations: 67.55 kB / 0.4911 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003704/0.1514, allocations: 207.4 kB / 0.4913 GB, free: 8.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1514, allocations: 0 / 0.4913 GB, free: 8.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1514, allocations: 0 / 0.4913 GB, free: 8.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.1514, allocations: 0 / 0.4913 GB, free: 8.27 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.000734/0.1521, allocations: 459 kB / 0.4917 GB, free: 7.773 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.1522, allocations: 11.89 kB / 0.4918 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005628/0.1528, allocations: 72.67 kB / 0.4918 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.1531, allocations: 212 kB / 0.492 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.1531, allocations: 12.38 kB / 0.492 GB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.899e-05/0.1531, allocations: 20.12 kB / 0.4921 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004986/0.1536, allocations: 233.5 kB / 0.4923 GB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.1537, allocations: 0 / 0.4923 GB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.1537, allocations: 3.938 kB / 0.4923 GB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-05/0.1537, allocations: 27.92 kB / 0.4923 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004221/0.1542, allocations: 219.8 kB / 0.4925 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.1553, allocations: 0.7323 MB / 0.4932 GB, free: 6.113 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002563/0.1556, allocations: 86.45 kB / 0.4933 GB, free: 6.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.1557, allocations: 48.81 kB / 0.4934 GB, free: 5.969 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.1557, allocations: 4 kB / 0.4934 GB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.1558, allocations: 38.5 kB / 0.4934 GB, free: 5.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.224e-06/0.1558, allocations: 0 / 0.4934 GB, free: 5.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005142/0.1563, allocations: 161.6 kB / 0.4936 GB, free: 5.754 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.1563, allocations: 55.34 kB / 0.4936 GB, free: 5.688 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.1565, allocations: 191.2 kB / 0.4938 GB, free: 5.492 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.1566, allocations: 33.7 kB / 0.4938 GB, free: 5.453 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.1567, allocations: 139.5 kB / 0.494 GB, free: 5.312 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.1567, allocations: 23.64 kB / 0.494 GB, free: 5.289 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.295e-05/0.1568, allocations: 33.7 kB / 0.494 GB, free: 5.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1569, allocations: 322.8 kB / 0.4943 GB, free: 4.926 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.1571, allocations: 47.95 kB / 0.4944 GB, free: 4.879 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.1572, allocations: 98.81 kB / 0.4945 GB, free: 4.758 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003517/0.1576, allocations: 162.7 kB / 0.4946 GB, free: 4.574 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.1576, allocations: 0 / 0.4946 GB, free: 4.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000384/0.158, allocations: 177.5 kB / 0.4948 GB, free: 4.395 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.158, allocations: 18.69 kB / 0.4948 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.158, allocations: 0 / 0.4948 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.1581, allocations: 4 kB / 0.4948 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008548/0.1589, allocations: 119.8 kB / 0.4949 GB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/0.1604, allocations: 1.817 MB / 0.4967 GB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.1606, allocations: 27.86 kB / 0.4967 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.1606, allocations: 7.938 kB / 0.4967 GB, free: 2.336 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 11 * 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.00016/0.1608, allocations: 145.6 kB / 0.4969 GB, free: 2.184 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.187e-05/0.1609, allocations: 23.69 kB / 0.4969 GB, free: 2.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004662/0.1613, allocations: 174.9 kB / 0.4971 GB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.1613, allocations: 4 kB / 0.4971 GB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.1614, allocations: 0 / 0.4971 GB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.1614, allocations: 0 / 0.4971 GB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003455/0.1617, allocations: 241.5 kB / 0.4973 GB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1617, allocations: 0 / 0.4973 GB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000672/0.1624, allocations: 107.9 kB / 0.4974 GB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.1624, allocations: 0 / 0.4974 GB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.1624, allocations: 4 kB / 0.4974 GB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001201/0.1637, allocations: 1.781 MB / 0.4991 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1637, allocations: 0 / 0.4991 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004052/0.1641, allocations: 247.4 kB / 0.4994 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.776e-05/0.1642, allocations: 85.02 kB / 0.4995 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.1642, allocations: 7.984 kB / 0.4995 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.1643, allocations: 11.98 kB / 0.4995 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.837e-05/0.1644, allocations: 7.984 kB / 0.4995 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.1644, allocations: 4 kB / 0.4995 GB, free: 15.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001288/0.1645, allocations: 136.9 kB / 0.4996 GB, free: 15.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1646, allocations: 4 kB / 0.4996 GB, free: 15.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000348/0.1649, allocations: 51.84 kB / 0.4997 GB, free: 15.15 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 (11): * Single equations (assignments): 8 * 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.0002639/0.1652, allocations: 107.2 kB / 0.4998 GB, free: 15.04 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001236/0.1664, allocations: 235.9 kB / 0.5 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.1664, allocations: 0 / 0.5 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006261/0.1671, allocations: 124.2 kB / 0.5001 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004307/0.1675, allocations: 52 kB / 0.5002 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007734/0.1683, allocations: 338 kB / 0.5005 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.1686, allocations: 0.7434 MB / 0.5012 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.1688, allocations: 33.41 kB / 0.5012 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.574e-05/0.1688, allocations: 15.44 kB / 0.5013 GB, free: 13.46 MB / 398.1 MB Notification: Performance of SimCode: time 1.8e-07/0.1688, allocations: 0 / 0.5013 GB, free: 13.46 MB / 398.1 MB Notification: Performance of Templates: time 0.00745/0.1763, allocations: 3.077 MB / 0.5043 GB, free: 10.41 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches