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.001517/0.001517, allocations: 109 kB / 16.41 MB, free: 6.48 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.001468/0.001468, allocations: 188.1 kB / 17.34 MB, free: 5.75 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.662/1.662, 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.2268/0.2268, allocations: 43.53 MB / 314.1 MB, free: 456 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.001405/0.001405, allocations: 63.91 kB / 441.8 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.141, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.004927/0.146, allocations: 1.829 MB / 0.4897 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001833/0.1479, allocations: 0.6308 MB / 0.4903 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001796/0.1481, allocations: 4 kB / 0.4903 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004817/0.1486, allocations: 59.67 kB / 0.4904 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003462/0.149, allocations: 67.58 kB / 0.4904 GB, free: 9.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006882/0.1497, allocations: 119.5 kB / 0.4905 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004277/0.1502, allocations: 230.8 kB / 0.4908 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.1503, allocations: 32.28 kB / 0.4908 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.1505, allocations: 87.52 kB / 0.4909 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002803/0.1508, allocations: 107.4 kB / 0.491 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.811e-05/0.1509, allocations: 4 kB / 0.491 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006409/0.1515, allocations: 223.8 kB / 0.4912 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.1517, allocations: 51.77 kB / 0.4912 GB, free: 8.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.1519, allocations: 103.2 kB / 0.4913 GB, free: 8.238 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007756/0.1527, allocations: 330.9 kB / 0.4917 GB, free: 7.914 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.1527, allocations: 0 / 0.4917 GB, free: 7.914 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1527, allocations: 0 / 0.4917 GB, free: 7.914 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.1527, allocations: 0 / 0.4917 GB, free: 7.914 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.001078/0.1538, allocations: 0.5187 MB / 0.4922 GB, free: 7.348 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/0.1539, allocations: 15.89 kB / 0.4922 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002197/0.1561, allocations: 204.2 kB / 0.4924 GB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004476/0.1565, allocations: 271.9 kB / 0.4926 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.1566, allocations: 16.94 kB / 0.4927 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.784e-05/0.1567, allocations: 24.31 kB / 0.4927 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009948/0.1577, allocations: 0.5008 MB / 0.4932 GB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1577, allocations: 7.938 kB / 0.4932 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.889e-05/0.1577, allocations: 8 kB / 0.4932 GB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.131e-05/0.1578, allocations: 32.47 kB / 0.4932 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.159, allocations: 0.5798 MB / 0.4938 GB, free: 5.652 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002313/0.1614, allocations: 1.169 MB / 0.4949 GB, free: 4.391 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006325/0.162, allocations: 174.3 kB / 0.4951 GB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003302/0.1623, allocations: 80.77 kB / 0.4952 GB, free: 4.129 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.1624, allocations: 7.984 kB / 0.4952 GB, free: 4.121 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.1624, allocations: 34.5 kB / 0.4952 GB, free: 4.078 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.434e-06/0.1624, allocations: 4 kB / 0.4952 GB, free: 4.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.001195/0.1636, allocations: 297.1 kB / 0.4955 GB, free: 3.777 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.1637, allocations: 51.56 kB / 0.4955 GB, free: 3.715 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000288/0.164, allocations: 278.6 kB / 0.4958 GB, free: 3.438 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.164, allocations: 29.7 kB / 0.4958 GB, free: 3.402 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.1642, allocations: 171.5 kB / 0.496 GB, free: 3.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/0.1642, allocations: 23.66 kB / 0.496 GB, free: 3.207 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.1643, allocations: 41.59 kB / 0.4961 GB, free: 3.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1645, allocations: 334.8 kB / 0.4964 GB, free: 2.824 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003583/0.1648, allocations: 87.91 kB / 0.4965 GB, free: 2.738 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003605/0.1652, allocations: 123.3 kB / 0.4966 GB, free: 2.605 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006699/0.1659, allocations: 207.2 kB / 0.4968 GB, free: 2.391 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.1659, allocations: 3.938 kB / 0.4968 GB, free: 2.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008088/0.1667, allocations: 265.2 kB / 0.497 GB, free: 2.121 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.398e-05/0.1668, allocations: 6.656 kB / 0.497 GB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.1668, allocations: 7.969 kB / 0.4971 GB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.1668, allocations: 7.938 kB / 0.4971 GB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005983/0.1728, allocations: 463.4 kB / 0.4975 GB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002843/0.1756, allocations: 1.949 MB / 0.4994 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003902/0.176, allocations: 39.66 kB / 0.4994 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/0.1761, allocations: 7.984 kB / 0.4994 GB, free: 15.58 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.0002007/0.1763, allocations: 173.6 kB / 0.4996 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.402e-05/0.1763, allocations: 15.81 kB / 0.4996 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.637e-05/0.1764, allocations: 25.7 kB / 0.4997 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1764, allocations: 0 / 0.4997 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1765, allocations: 0 / 0.4997 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1765, allocations: 0 / 0.4997 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004145/0.1769, allocations: 297.3 kB / 0.4999 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.1769, allocations: 4 kB / 0.4999 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005513/0.1824, allocations: 455.3 kB / 0.5004 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.325e-06/0.1824, allocations: 0 / 0.5004 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.865e-05/0.1825, allocations: 3.984 kB / 0.5004 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002743/0.1852, allocations: 1.941 MB / 0.5023 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1852, allocations: 0 / 0.5023 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007928/0.186, allocations: 331 kB / 0.5026 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.8e-05/0.1861, allocations: 96.84 kB / 0.5027 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.233e-05/0.1862, allocations: 4 kB / 0.5027 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003386/0.1865, allocations: 23.97 kB / 0.5027 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.571e-05/0.1866, allocations: 3.984 kB / 0.5027 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/0.1866, allocations: 7.984 kB / 0.5027 GB, free: 12.06 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002161/0.1869, allocations: 213.9 kB / 0.5029 GB, free: 11.85 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1869, allocations: 0 / 0.5029 GB, free: 11.85 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003932/0.1873, allocations: 67.91 kB / 0.503 GB, free: 11.78 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.0002442/0.1875, allocations: 111.2 kB / 0.5031 GB, free: 11.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005926/0.1934, allocations: 0.5889 MB / 0.5037 GB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1935, allocations: 0 / 0.5037 GB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005383/0.1989, allocations: 0.4993 MB / 0.5042 GB, free: 10.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.1993, allocations: 40.66 kB / 0.5042 GB, free: 10.54 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.2004, allocations: 484 kB / 0.5047 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.2008, allocations: 0.7792 MB / 0.5054 GB, free: 9.234 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001779/0.201, allocations: 49.92 kB / 0.5055 GB, free: 9.184 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.93e-05/0.2011, allocations: 19.44 kB / 0.5055 GB, free: 9.164 MB / 398.1 MB Notification: Performance of SimCode: time 7.91e-07/0.2011, allocations: 0 / 0.5055 GB, free: 9.164 MB / 398.1 MB Notification: Performance of Templates: time 0.01051/0.2116, allocations: 5.222 MB / 0.5106 GB, free: 3.969 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