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.001293/0.001293, allocations: 103.5 kB / 16.4 MB, free: 6.504 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.001443/0.001443, 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.593/1.593, 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.2367/0.2367, 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.001761/0.001761, allocations: 67.89 kB / 441.8 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1594, 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.004164/0.1637, allocations: 1.792 MB / 0.4897 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.1652, allocations: 0.8499 MB / 0.4905 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.347e-05/0.1653, allocations: 0 / 0.4905 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002635/0.1655, allocations: 31.83 kB / 0.4905 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003037/0.1659, allocations: 79.58 kB / 0.4906 GB, free: 9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.1661, allocations: 67.73 kB / 0.4907 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002247/0.1663, allocations: 135.4 kB / 0.4908 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.512e-05/0.1664, allocations: 11.98 kB / 0.4908 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.1666, allocations: 71.73 kB / 0.4909 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.1667, allocations: 75.73 kB / 0.4909 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.1668, allocations: 4 kB / 0.4909 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001759/0.167, allocations: 83.8 kB / 0.491 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.675e-05/0.167, allocations: 23.97 kB / 0.491 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.208e-05/0.1671, allocations: 43.73 kB / 0.4911 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002802/0.1674, allocations: 139.5 kB / 0.4912 GB, free: 8.355 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.1674, allocations: 4 kB / 0.4912 GB, free: 8.352 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1674, allocations: 0 / 0.4912 GB, free: 8.352 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.1674, allocations: 0 / 0.4912 GB, free: 8.352 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.0007419/0.1682, allocations: 411.2 kB / 0.4916 GB, free: 7.902 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.1682, allocations: 11.89 kB / 0.4916 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00038/0.1686, allocations: 28.81 kB / 0.4917 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.1688, allocations: 192.2 kB / 0.4918 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.1689, allocations: 8.375 kB / 0.4918 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/0.1689, allocations: 20.11 kB / 0.4919 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004337/0.1693, allocations: 180 kB / 0.492 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.1694, allocations: 0 / 0.492 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.77e-05/0.1694, allocations: 4 kB / 0.492 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.975e-05/0.1694, allocations: 15.92 kB / 0.4921 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003515/0.1698, allocations: 139.8 kB / 0.4922 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009493/0.1708, allocations: 0.6328 MB / 0.4928 GB, free: 6.559 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000333/0.1711, allocations: 110.6 kB / 0.4929 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.1712, allocations: 44.77 kB / 0.493 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.1713, allocations: 4 kB / 0.493 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.1713, allocations: 38.56 kB / 0.493 GB, free: 6.344 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.1713, allocations: 0 / 0.493 GB, free: 6.344 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004357/0.1718, allocations: 141.6 kB / 0.4931 GB, free: 6.199 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.1718, allocations: 59.41 kB / 0.4932 GB, free: 6.129 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.172, allocations: 133.9 kB / 0.4933 GB, free: 5.988 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.172, allocations: 25.7 kB / 0.4933 GB, free: 5.957 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.903e-05/0.1721, allocations: 119.9 kB / 0.4935 GB, free: 5.836 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.1721, allocations: 23.66 kB / 0.4935 GB, free: 5.812 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.883e-05/0.1722, allocations: 33.7 kB / 0.4935 GB, free: 5.773 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1723, allocations: 322.8 kB / 0.4938 GB, free: 5.449 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.1724, allocations: 31.97 kB / 0.4938 GB, free: 5.418 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.1726, allocations: 102.2 kB / 0.4939 GB, free: 5.293 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.1728, allocations: 139.5 kB / 0.4941 GB, free: 5.129 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1728, allocations: 0 / 0.4941 GB, free: 5.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003276/0.1732, allocations: 161.4 kB / 0.4942 GB, free: 4.965 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.301e-05/0.1732, allocations: 11.98 kB / 0.4942 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.1732, allocations: 0 / 0.4942 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.1733, allocations: 4 kB / 0.4942 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.1735, allocations: 43.92 kB / 0.4943 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.1735, allocations: 3.984 kB / 0.4943 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.353e-05/0.1736, allocations: 15.84 kB / 0.4943 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.1736, allocations: 12.16 kB / 0.4943 GB, free: 4.875 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.0001105/0.1737, allocations: 137.6 kB / 0.4945 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.96e-05/0.1738, allocations: 7.906 kB / 0.4945 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003326/0.1741, allocations: 118 kB / 0.4946 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1741, allocations: 4 kB / 0.4946 GB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1741, allocations: 0 / 0.4946 GB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.1741, allocations: 0 / 0.4946 GB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.1744, allocations: 213.4 kB / 0.4948 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1744, allocations: 0 / 0.4948 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.1745, allocations: 27.98 kB / 0.4948 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1745, allocations: 0 / 0.4948 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.1745, allocations: 0 / 0.4948 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.1745, allocations: 4 kB / 0.4948 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1746, allocations: 0 / 0.4948 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003269/0.1749, allocations: 215.3 kB / 0.495 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.911e-05/0.1749, allocations: 85.02 kB / 0.4951 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.175, allocations: 0 / 0.4951 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.759e-05/0.1751, allocations: 11.98 kB / 0.4951 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.817e-05/0.1751, allocations: 7.938 kB / 0.4951 GB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.1751, allocations: 7.875 kB / 0.4951 GB, free: 3.949 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.418e-05/0.1752, allocations: 95.27 kB / 0.4952 GB, free: 3.855 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1752, allocations: 4 kB / 0.4952 GB, free: 3.852 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.1755, allocations: 20 kB / 0.4952 GB, free: 3.832 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.0001836/0.1757, allocations: 103.2 kB / 0.4953 GB, free: 3.723 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003112/0.176, allocations: 100.4 kB / 0.4954 GB, free: 3.625 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.176, allocations: 0 / 0.4954 GB, free: 3.625 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.1761, allocations: 43.91 kB / 0.4955 GB, free: 3.582 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.1764, allocations: 8.797 kB / 0.4955 GB, free: 3.574 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005152/0.1769, allocations: 262.6 kB / 0.4957 GB, free: 3.289 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.1773, allocations: 0.7157 MB / 0.4964 GB, free: 2.547 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.14e-05/0.1774, allocations: 24.52 kB / 0.4965 GB, free: 2.523 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.1774, allocations: 15.44 kB / 0.4965 GB, free: 2.508 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1774, allocations: 4 kB / 0.4965 GB, free: 2.504 MB / 382.1 MB Notification: Performance of Templates: time 0.00408/0.1815, allocations: 0.9445 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