Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 100.8 kB / 16.4 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.001339/0.001339, allocations: 192.2 kB / 17.34 MB, free: 5.738 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.458/1.458, allocations: 205.1 MB / 223.2 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.2159/0.2159, allocations: 43.52 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.001715/0.001715, allocations: 63.91 kB / 441.8 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1599, allocations: 57.79 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.004934/0.1649, allocations: 1.788 MB / 0.4897 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002127/0.1671, allocations: 0.8383 MB / 0.4905 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001784/0.1673, allocations: 3.938 kB / 0.4905 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000362/0.1677, allocations: 43.81 kB / 0.4905 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005501/0.1683, allocations: 79.58 kB / 0.4906 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00041/0.1687, allocations: 59.73 kB / 0.4907 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003372/0.1691, allocations: 143.4 kB / 0.4908 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.034e-05/0.1692, allocations: 7.984 kB / 0.4908 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.1694, allocations: 63.77 kB / 0.4909 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.1696, allocations: 83.7 kB / 0.4909 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.1696, allocations: 8 kB / 0.4909 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002292/0.1699, allocations: 75.83 kB / 0.491 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.002e-05/0.17, allocations: 23.97 kB / 0.491 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.855e-05/0.17, allocations: 43.72 kB / 0.4911 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003658/0.1704, allocations: 143.3 kB / 0.4912 GB, free: 8.352 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1704, allocations: 0 / 0.4912 GB, free: 8.352 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.1704, allocations: 0 / 0.4912 GB, free: 8.352 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.1705, allocations: 4 kB / 0.4912 GB, free: 8.348 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0007656/0.1712, allocations: 407 kB / 0.4916 GB, free: 7.902 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.1713, allocations: 11.89 kB / 0.4916 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000471/0.1718, allocations: 36.86 kB / 0.4917 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.172, allocations: 188.2 kB / 0.4918 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.1721, allocations: 8.375 kB / 0.4918 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.535e-05/0.1721, allocations: 16.12 kB / 0.4919 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004655/0.1726, allocations: 172.1 kB / 0.492 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.1726, allocations: 7.984 kB / 0.492 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.1726, allocations: 4 kB / 0.492 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.859e-05/0.1727, allocations: 15.92 kB / 0.4921 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000336/0.173, allocations: 131.8 kB / 0.4922 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.1741, allocations: 0.6407 MB / 0.4928 GB, free: 6.559 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000409/0.1745, allocations: 114.6 kB / 0.4929 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.1746, allocations: 44.77 kB / 0.493 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.1747, allocations: 4 kB / 0.493 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.1747, allocations: 34.56 kB / 0.493 GB, free: 6.344 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.1747, allocations: 0 / 0.493 GB, free: 6.344 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004627/0.1752, allocations: 137.5 kB / 0.4931 GB, free: 6.203 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/0.1753, allocations: 55.41 kB / 0.4932 GB, free: 6.137 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.1754, allocations: 137.9 kB / 0.4933 GB, free: 5.992 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.1755, allocations: 29.7 kB / 0.4933 GB, free: 5.957 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.764e-05/0.1756, allocations: 120.1 kB / 0.4935 GB, free: 5.836 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.1756, allocations: 31.92 kB / 0.4935 GB, free: 5.805 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.109e-05/0.1757, allocations: 25.72 kB / 0.4935 GB, free: 5.773 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1758, allocations: 322.8 kB / 0.4938 GB, free: 5.449 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.176, allocations: 35.97 kB / 0.4938 GB, free: 5.414 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.1761, allocations: 94.22 kB / 0.4939 GB, free: 5.297 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.1764, allocations: 143.5 kB / 0.4941 GB, free: 5.129 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1764, allocations: 8 kB / 0.4941 GB, free: 5.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003266/0.1767, allocations: 157.4 kB / 0.4942 GB, free: 4.961 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1768, allocations: 4 kB / 0.4942 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.1768, allocations: 4 kB / 0.4942 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.1768, allocations: 0 / 0.4942 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.177, allocations: 48.16 kB / 0.4943 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.177, allocations: 4 kB / 0.4943 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.1771, allocations: 23.88 kB / 0.4943 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.1771, allocations: 8 kB / 0.4943 GB, free: 4.871 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001199/0.1772, allocations: 137.6 kB / 0.4945 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.1773, allocations: 7.953 kB / 0.4945 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003425/0.1776, allocations: 130 kB / 0.4946 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1776, allocations: 0 / 0.4946 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1776, allocations: 0 / 0.4946 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1777, allocations: 0 / 0.4946 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002168/0.1779, allocations: 201.5 kB / 0.4948 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1779, allocations: 0 / 0.4948 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.178, allocations: 27.92 kB / 0.4948 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.178, allocations: 4 kB / 0.4948 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.178, allocations: 7.984 kB / 0.4948 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1781, allocations: 0 / 0.4948 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1781, allocations: 0 / 0.4948 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000318/0.1784, allocations: 207.4 kB / 0.495 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.188e-05/0.1784, allocations: 81.11 kB / 0.4951 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.1785, allocations: 3.984 kB / 0.4951 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.247e-05/0.1786, allocations: 8 kB / 0.4951 GB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.721e-05/0.1786, allocations: 11.92 kB / 0.4951 GB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.1786, allocations: 7.938 kB / 0.4951 GB, free: 3.949 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.554e-05/0.1787, allocations: 95.27 kB / 0.4952 GB, free: 3.855 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1787, allocations: 3.938 kB / 0.4952 GB, free: 3.852 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000262/0.179, allocations: 27.89 kB / 0.4952 GB, free: 3.824 MB / 382.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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001841/0.1792, allocations: 107.2 kB / 0.4953 GB, free: 3.711 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000315/0.1795, allocations: 96.41 kB / 0.4954 GB, free: 3.617 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1795, allocations: 0 / 0.4954 GB, free: 3.617 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.1796, allocations: 44.06 kB / 0.4955 GB, free: 3.574 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.1799, allocations: 12.59 kB / 0.4955 GB, free: 3.562 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005244/0.1804, allocations: 262.4 kB / 0.4957 GB, free: 3.277 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.1808, allocations: 0.7119 MB / 0.4964 GB, free: 2.539 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.259e-05/0.1809, allocations: 28.52 kB / 0.4965 GB, free: 2.512 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.968e-05/0.1809, allocations: 19.42 kB / 0.4965 GB, free: 2.492 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.181, allocations: 0 / 0.4965 GB, free: 2.492 MB / 382.1 MB Notification: Performance of Templates: time 0.003877/0.1848, allocations: 0.9328 MB / 0.4974 GB, free: 1.57 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches