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.001262/0.001268, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001766/0.001765, allocations: 174.1 kB / 16.58 MB, free: 6.84 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.758/1.758, allocations: 205.4 MB / 222.8 MB, free: 5.883 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4692/0.4692, allocations: 43.57 MB / 314.6 MB, free: 8.652 MB / 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.0007105/0.0007105, allocations: 12 kB / 384 MB, free: 7.988 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1746, allocations: 58.87 MB / 442.8 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002826/0.1775, allocations: 1.474 MB / 444.3 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.1794, allocations: 0.7688 MB / 445.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.1795, allocations: 7.938 kB / 445.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002329/0.1798, allocations: 31.83 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003447/0.1801, allocations: 67.66 kB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.1804, allocations: 55.81 kB / 445.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000317/0.1807, allocations: 167.3 kB / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.858e-05/0.1808, allocations: 8.266 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.1809, allocations: 63.83 kB / 445.5 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.1811, allocations: 75.72 kB / 445.6 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.1811, allocations: 4 kB / 445.6 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001941/0.1813, allocations: 63.89 kB / 445.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.385e-05/0.1814, allocations: 27.89 kB / 445.7 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.677e-05/0.1815, allocations: 41.64 kB / 445.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.1817, allocations: 103.7 kB / 445.8 MB, free: 10.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1817, allocations: 0 / 445.8 MB, free: 10.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1817, allocations: 0 / 445.8 MB, free: 10.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1817, allocations: 0 / 445.8 MB, free: 10.04 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.0006805/0.1824, allocations: 391 kB / 446.2 MB, free: 9.605 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1825, allocations: 12.03 kB / 446.2 MB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003605/0.1828, allocations: 35.83 kB / 446.2 MB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.1831, allocations: 187 kB / 446.4 MB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.1831, allocations: 7.984 kB / 446.4 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.1832, allocations: 12 kB / 446.4 MB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000404/0.1836, allocations: 188 kB / 446.6 MB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.1836, allocations: 0 / 446.6 MB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.1836, allocations: 4 kB / 446.6 MB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.333e-05/0.1837, allocations: 8 kB / 446.6 MB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003362/0.184, allocations: 147.8 kB / 446.8 MB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009967/0.185, allocations: 0.6484 MB / 447.4 MB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003598/0.1854, allocations: 110.7 kB / 447.5 MB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.1855, allocations: 44.83 kB / 447.6 MB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.1855, allocations: 4.094 kB / 447.6 MB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.1856, allocations: 38.56 kB / 447.6 MB, free: 8.027 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.1856, allocations: 0 / 447.6 MB, free: 8.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005322/0.1861, allocations: 153.5 kB / 447.8 MB, free: 7.871 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.1862, allocations: 55.41 kB / 447.8 MB, free: 7.805 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.1864, allocations: 129.9 kB / 447.9 MB, free: 7.668 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.1864, allocations: 29.7 kB / 448 MB, free: 7.633 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.1865, allocations: 127.8 kB / 448.1 MB, free: 7.504 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.1866, allocations: 23.66 kB / 448.1 MB, free: 7.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-06/0.1866, allocations: 0 / 448.1 MB, free: 7.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.1868, allocations: 318.8 kB / 448.4 MB, free: 7.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.1869, allocations: 47.97 kB / 448.5 MB, free: 7.113 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003065/0.1873, allocations: 99.62 kB / 448.6 MB, free: 6.988 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.1874, allocations: 47.97 kB / 448.6 MB, free: 6.941 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.1874, allocations: 4 kB / 448.6 MB, free: 6.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004871/0.1879, allocations: 169.3 kB / 448.8 MB, free: 6.766 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.188, allocations: 7.984 kB / 448.8 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.188, allocations: 4.25 kB / 448.8 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/0.188, allocations: 8 kB / 448.8 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.1882, allocations: 39.92 kB / 448.8 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.086e-05/0.1882, allocations: 7.984 kB / 448.9 MB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.1884, allocations: 19.84 kB / 448.9 MB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.1884, allocations: 7.953 kB / 448.9 MB, free: 6.672 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001813/0.1886, allocations: 141.8 kB / 449 MB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.1886, allocations: 3.906 kB / 449 MB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000388/0.189, allocations: 134 kB / 449.2 MB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.1891, allocations: 4 kB / 449.2 MB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.1891, allocations: 4 kB / 449.2 MB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.1891, allocations: 0 / 449.2 MB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003197/0.1894, allocations: 205.5 kB / 449.4 MB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1894, allocations: 3.938 kB / 449.4 MB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.1896, allocations: 27.98 kB / 449.4 MB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1896, allocations: 0 / 449.4 MB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.1896, allocations: 8 kB / 449.4 MB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.259e-06/0.1896, allocations: 0 / 449.4 MB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1897, allocations: 0 / 449.4 MB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003783/0.19, allocations: 223.3 kB / 449.6 MB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.702e-05/0.1901, allocations: 88.95 kB / 449.7 MB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.1902, allocations: 0 / 449.7 MB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.48e-05/0.1903, allocations: 11.98 kB / 449.7 MB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.647e-05/0.1903, allocations: 4 kB / 449.7 MB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.1903, allocations: 11.98 kB / 449.7 MB, free: 5.723 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.573e-05/0.1904, allocations: 99.2 kB / 449.8 MB, free: 5.625 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1905, allocations: 0 / 449.8 MB, free: 5.625 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003104/0.1908, allocations: 20 kB / 449.8 MB, free: 5.605 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002256/0.191, allocations: 103.2 kB / 449.9 MB, free: 5.492 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003452/0.1914, allocations: 112.8 kB / 450.1 MB, free: 5.383 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1914, allocations: 4 kB / 450.1 MB, free: 5.379 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.1915, allocations: 47.91 kB / 450.1 MB, free: 5.332 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.1918, allocations: 11.95 kB / 450.1 MB, free: 5.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006171/0.1925, allocations: 309.3 kB / 450.4 MB, free: 4.988 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.1929, allocations: 0.7043 MB / 451.1 MB, free: 4.258 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001319/0.193, allocations: 32.5 kB / 451.2 MB, free: 4.223 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.138e-05/0.1931, allocations: 15.44 kB / 451.2 MB, free: 4.207 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1931, allocations: 3.938 kB / 451.2 MB, free: 4.203 MB / 382.1 MB Notification: Performance of Templates: time 0.00344/0.1965, allocations: 0.8082 MB / 452 MB, free: 3.406 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","../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