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.001748/0.001748, allocations: 103.8 kB / 16.41 MB, free: 6.5 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.00158/0.001581, 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.517/1.517, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2154/0.2154, allocations: 43.52 MB / 314.1 MB, free: 460 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.001401/0.001401, allocations: 63.91 kB / 441.8 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.142, 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.00382/0.1458, allocations: 1.678 MB / 0.4895 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.1474, allocations: 0.8305 MB / 0.4904 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.833e-05/0.1475, allocations: 4 kB / 0.4904 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003543/0.1479, allocations: 47.7 kB / 0.4904 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002073/0.1481, allocations: 51.73 kB / 0.4904 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004045/0.1485, allocations: 91.62 kB / 0.4905 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002878/0.1488, allocations: 159.2 kB / 0.4907 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.233e-05/0.1489, allocations: 24.84 kB / 0.4907 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.1491, allocations: 55.77 kB / 0.4908 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/0.1493, allocations: 79.61 kB / 0.4908 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.791e-05/0.1493, allocations: 4 kB / 0.4908 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00039/0.1497, allocations: 159.8 kB / 0.491 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.902e-05/0.1498, allocations: 35.84 kB / 0.491 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.546e-05/0.1499, allocations: 63.61 kB / 0.4911 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003425/0.1502, allocations: 215.3 kB / 0.4913 GB, free: 8.266 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1503, allocations: 0 / 0.4913 GB, free: 8.266 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1503, allocations: 0 / 0.4913 GB, free: 8.266 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.1503, allocations: 0 / 0.4913 GB, free: 8.266 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.00077/0.1511, allocations: 458.4 kB / 0.4917 GB, free: 7.773 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.1511, allocations: 15.88 kB / 0.4918 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000608/0.1517, allocations: 68.69 kB / 0.4918 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003125/0.1521, allocations: 216.1 kB / 0.492 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.1521, allocations: 16.38 kB / 0.492 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/0.1521, allocations: 12.12 kB / 0.492 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004614/0.1526, allocations: 229.5 kB / 0.4923 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.1526, allocations: 3.938 kB / 0.4923 GB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.1526, allocations: 11.88 kB / 0.4923 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.515e-05/0.1527, allocations: 19.98 kB / 0.4923 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004509/0.1531, allocations: 219.8 kB / 0.4925 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.1542, allocations: 0.7362 MB / 0.4932 GB, free: 6.109 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.1545, allocations: 82.52 kB / 0.4933 GB, free: 6.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.1546, allocations: 48.81 kB / 0.4934 GB, free: 5.969 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.1546, allocations: 0 / 0.4934 GB, free: 5.969 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.1547, allocations: 42.44 kB / 0.4934 GB, free: 5.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.1547, allocations: 0 / 0.4934 GB, free: 5.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005176/0.1552, allocations: 161.5 kB / 0.4936 GB, free: 5.754 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.1553, allocations: 55.41 kB / 0.4936 GB, free: 5.688 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.1554, allocations: 191.2 kB / 0.4938 GB, free: 5.492 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.1555, allocations: 25.7 kB / 0.4938 GB, free: 5.461 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.1556, allocations: 143.7 kB / 0.4939 GB, free: 5.316 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.1556, allocations: 27.64 kB / 0.494 GB, free: 5.289 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.061e-05/0.1557, allocations: 29.7 kB / 0.494 GB, free: 5.254 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1559, allocations: 326.8 kB / 0.4943 GB, free: 4.926 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.156, allocations: 43.95 kB / 0.4944 GB, free: 4.883 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.1562, allocations: 102.8 kB / 0.4945 GB, free: 4.758 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003098/0.1565, allocations: 162.7 kB / 0.4946 GB, free: 4.574 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1565, allocations: 0 / 0.4946 GB, free: 4.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003795/0.1569, allocations: 181.5 kB / 0.4948 GB, free: 4.391 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.1569, allocations: 11.94 kB / 0.4948 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1569, allocations: 0 / 0.4948 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1569, allocations: 4 kB / 0.4948 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008687/0.1578, allocations: 127.8 kB / 0.4949 GB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/0.1591, allocations: 1.809 MB / 0.4967 GB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.1592, allocations: 27.83 kB / 0.4967 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.1593, allocations: 4 kB / 0.4967 GB, free: 2.34 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.0001388/0.1594, allocations: 149.5 kB / 0.4969 GB, free: 2.184 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.941e-05/0.1595, allocations: 23.69 kB / 0.4969 GB, free: 2.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004466/0.1599, allocations: 175 kB / 0.497 GB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.1599, allocations: 7.984 kB / 0.4971 GB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1599, allocations: 0 / 0.4971 GB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.16, allocations: 3.984 kB / 0.4971 GB, free: 1.965 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.1602, allocations: 233.5 kB / 0.4973 GB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1602, allocations: 4 kB / 0.4973 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006929/0.1609, allocations: 107.8 kB / 0.4974 GB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.1609, allocations: 0 / 0.4974 GB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.1609, allocations: 4 kB / 0.4974 GB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/0.162, allocations: 1.781 MB / 0.4991 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1621, allocations: 0 / 0.4991 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003714/0.1624, allocations: 247.6 kB / 0.4994 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.356e-05/0.1625, allocations: 85.02 kB / 0.4994 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.1625, allocations: 7.984 kB / 0.4995 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.1627, allocations: 4 kB / 0.4995 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.1627, allocations: 11.98 kB / 0.4995 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.1627, allocations: 0 / 0.4995 GB, free: 15.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001024/0.1629, allocations: 144.8 kB / 0.4996 GB, free: 15.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1629, allocations: 4 kB / 0.4996 GB, free: 15.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000323/0.1632, allocations: 55.83 kB / 0.4997 GB, free: 15.14 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.0001764/0.1634, allocations: 103.3 kB / 0.4998 GB, free: 15.03 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001169/0.1645, allocations: 232.1 kB / 0.5 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1646, allocations: 0 / 0.5 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000651/0.1652, allocations: 131.8 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.0004029/0.1656, allocations: 42.5 kB / 0.5002 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000623/0.1663, allocations: 342 kB / 0.5005 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.1666, allocations: 0.7434 MB / 0.5012 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001114/0.1667, allocations: 37.39 kB / 0.5012 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.758e-05/0.1668, allocations: 19.42 kB / 0.5013 GB, free: 13.45 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1668, allocations: 0 / 0.5013 GB, free: 13.45 MB / 398.1 MB Notification: Performance of Templates: time 0.006337/0.1731, allocations: 3.14 MB / 0.5043 GB, free: 10.33 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