Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0007551/0.0007551, allocations: 95.5 kB / 17.35 MB, free: 6.344 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.0008173/0.0008174, allocations: 170.7 kB / 18.25 MB, free: 5.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 223.3 MB / 242.3 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2097/0.2097, allocations: 44.25 MB / 337.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003554/0.0003555, allocations: 8 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1628, allocations: 61.92 MB / 472.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003357/0.1663, allocations: 1.512 MB / 473.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.168, allocations: 0.7753 MB / 474.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.198e-05/0.1681, allocations: 0 / 474.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003029/0.1684, allocations: 35.83 kB / 474.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003659/0.1688, allocations: 71.64 kB / 474.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000159/0.169, allocations: 55.81 kB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003113/0.1693, allocations: 211.3 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.812e-05/0.1694, allocations: 8 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.1696, allocations: 59.77 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.1698, allocations: 79.67 kB / 475.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.1698, allocations: 4 kB / 475.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002283/0.1701, allocations: 79.86 kB / 475.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.895e-05/0.1702, allocations: 31.91 kB / 475.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.176e-05/0.1703, allocations: 61.5 kB / 475.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003167/0.1706, allocations: 135.8 kB / 475.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1706, allocations: 0 / 475.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1706, allocations: 4 kB / 475.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1706, allocations: 4 kB / 475.4 MB, free: 10.21 MB / 350.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.000747/0.1714, allocations: 391.3 kB / 475.8 MB, free: 9.781 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.1715, allocations: 8.031 kB / 475.8 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004545/0.1719, allocations: 40.72 kB / 475.8 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/0.1723, allocations: 192.2 kB / 476 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.1723, allocations: 12.36 kB / 476 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.566e-05/0.1724, allocations: 20.11 kB / 476 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005429/0.1729, allocations: 172.1 kB / 476.2 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1729, allocations: 0 / 476.2 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.939e-05/0.173, allocations: 8 kB / 476.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.673e-05/0.173, allocations: 15.92 kB / 476.2 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005303/0.1736, allocations: 139.9 kB / 476.4 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.1749, allocations: 0.6483 MB / 477 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004865/0.1754, allocations: 126.5 kB / 477.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.1756, allocations: 44.83 kB / 477.2 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.1757, allocations: 4 kB / 477.2 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.643e-05/0.1757, allocations: 34.56 kB / 477.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.964e-06/0.1757, allocations: 0 / 477.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007021/0.1765, allocations: 153.5 kB / 477.4 MB, free: 8.031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.05e-05/0.1765, allocations: 51.41 kB / 477.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.1767, allocations: 126 kB / 477.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.1767, allocations: 33.7 kB / 477.6 MB, free: 7.793 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.1769, allocations: 119.8 kB / 477.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.554e-05/0.1769, allocations: 31.78 kB / 477.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-05/0.177, allocations: 17.72 kB / 477.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.1772, allocations: 322.8 kB / 478.1 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.1774, allocations: 39.97 kB / 478.1 MB, free: 7.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.1776, allocations: 99.69 kB / 478.2 MB, free: 7.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004358/0.1781, allocations: 155.5 kB / 478.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1781, allocations: 0 / 478.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005448/0.1787, allocations: 177.6 kB / 478.5 MB, free: 6.766 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.1787, allocations: 6.5 kB / 478.5 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.1787, allocations: 4 kB / 478.5 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.1787, allocations: 4.25 kB / 478.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002974/0.179, allocations: 39.92 kB / 478.6 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.1791, allocations: 7.984 kB / 478.6 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.1793, allocations: 23.84 kB / 478.6 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.1793, allocations: 4 kB / 478.6 MB, free: 6.68 MB / 350.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.0001297/0.1794, allocations: 137.7 kB / 478.7 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.166e-05/0.1795, allocations: 7.906 kB / 478.7 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005101/0.18, allocations: 130 kB / 478.9 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.18, allocations: 0 / 478.9 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1801, allocations: 4 kB / 478.9 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.1801, allocations: 4 kB / 478.9 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003353/0.1804, allocations: 201.5 kB / 479.1 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1804, allocations: 4 kB / 479.1 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.1807, allocations: 23.98 kB / 479.1 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.1807, allocations: 4 kB / 479.1 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.1807, allocations: 4 kB / 479.1 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.1807, allocations: 3.938 kB / 479.1 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1807, allocations: 0 / 479.1 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004584/0.1812, allocations: 223.3 kB / 479.3 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.257e-05/0.1813, allocations: 84.95 kB / 479.4 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.1813, allocations: 4 kB / 479.4 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.1815, allocations: 15.98 kB / 479.4 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.53e-05/0.1816, allocations: 7.984 kB / 479.4 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.1816, allocations: 7.938 kB / 479.5 MB, free: 5.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.421e-05/0.1817, allocations: 95.27 kB / 479.5 MB, free: 5.637 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1817, allocations: 0 / 479.5 MB, free: 5.637 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004755/0.1822, allocations: 20 kB / 479.6 MB, free: 5.617 MB / 350.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.000158/0.1823, allocations: 115.7 kB / 479.7 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003348/0.1827, allocations: 104.4 kB / 479.8 MB, free: 5.395 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1827, allocations: 4 kB / 479.8 MB, free: 5.391 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.1828, allocations: 51.91 kB / 479.8 MB, free: 5.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.1832, allocations: 9.938 kB / 479.8 MB, free: 5.332 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007579/0.184, allocations: 309.1 kB / 480.1 MB, free: 4.996 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.1844, allocations: 0.7043 MB / 480.8 MB, free: 4.266 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001851/0.1846, allocations: 36.38 kB / 480.9 MB, free: 4.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.566e-05/0.1847, allocations: 15.44 kB / 480.9 MB, free: 4.215 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1847, allocations: 0 / 480.9 MB, free: 4.215 MB / 350.1 MB Notification: Performance of Templates: time 0.004881/0.1896, allocations: 0.8228 MB / 481.7 MB, free: 3.426 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches