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.001721/0.001721, allocations: 110.6 kB / 16.41 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.002151/0.002152, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.523/1.523, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2281/0.2281, 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.002168/0.002168, allocations: 75.91 kB / 441.8 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1741, 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.003714/0.1778, allocations: 1.795 MB / 0.4897 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.1795, allocations: 0.8344 MB / 0.4905 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.66e-05/0.1796, allocations: 7.938 kB / 0.4905 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000309/0.1799, allocations: 39.81 kB / 0.4905 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003563/0.1802, allocations: 79.58 kB / 0.4906 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.1805, allocations: 63.73 kB / 0.4907 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002346/0.1807, allocations: 139.4 kB / 0.4908 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.279e-05/0.1808, allocations: 15.98 kB / 0.4908 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.181, allocations: 59.77 kB / 0.4909 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00019/0.1812, allocations: 87.7 kB / 0.4909 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.1812, allocations: 4 kB / 0.491 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.1814, allocations: 67.89 kB / 0.491 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.197e-05/0.1815, allocations: 31.91 kB / 0.491 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.08e-05/0.1815, allocations: 39.73 kB / 0.4911 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002942/0.1818, allocations: 147.5 kB / 0.4912 GB, free: 8.348 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1819, allocations: 0 / 0.4912 GB, free: 8.348 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1819, allocations: 0 / 0.4912 GB, free: 8.348 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.1819, allocations: 4 kB / 0.4912 GB, free: 8.344 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.0007137/0.1826, allocations: 403.2 kB / 0.4916 GB, free: 7.902 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.1827, allocations: 15.89 kB / 0.4916 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003801/0.183, allocations: 28.81 kB / 0.4917 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.1833, allocations: 200.1 kB / 0.4918 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.1833, allocations: 8.359 kB / 0.4919 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.44e-05/0.1833, allocations: 12.12 kB / 0.4919 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003711/0.1837, allocations: 180 kB / 0.492 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1837, allocations: 0 / 0.492 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/0.1837, allocations: 8 kB / 0.492 GB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.81e-05/0.1838, allocations: 15.92 kB / 0.4921 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003132/0.1841, allocations: 135.8 kB / 0.4922 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.1851, allocations: 0.6367 MB / 0.4928 GB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000339/0.1855, allocations: 114.6 kB / 0.4929 GB, free: 6.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.1856, allocations: 40.83 kB / 0.493 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.1856, allocations: 0 / 0.493 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.1857, allocations: 38.56 kB / 0.493 GB, free: 6.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.1857, allocations: 0 / 0.493 GB, free: 6.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004193/0.1861, allocations: 141.4 kB / 0.4931 GB, free: 6.195 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.1862, allocations: 55.41 kB / 0.4932 GB, free: 6.129 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.1863, allocations: 130 kB / 0.4933 GB, free: 5.992 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.1863, allocations: 29.64 kB / 0.4933 GB, free: 5.957 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.124e-05/0.1864, allocations: 115.9 kB / 0.4934 GB, free: 5.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.1864, allocations: 27.64 kB / 0.4935 GB, free: 5.812 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.412e-05/0.1865, allocations: 33.7 kB / 0.4935 GB, free: 5.773 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1866, allocations: 318.8 kB / 0.4938 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.1868, allocations: 35.97 kB / 0.4938 GB, free: 5.418 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.1869, allocations: 87.84 kB / 0.4939 GB, free: 5.305 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/0.1872, allocations: 159.5 kB / 0.4941 GB, free: 5.121 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1872, allocations: 0 / 0.4941 GB, free: 5.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003061/0.1875, allocations: 157.3 kB / 0.4942 GB, free: 4.961 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1876, allocations: 8.25 kB / 0.4942 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.1876, allocations: 4 kB / 0.4942 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.1876, allocations: 4 kB / 0.4942 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.1878, allocations: 43.91 kB / 0.4943 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.1878, allocations: 4 kB / 0.4943 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.715e-05/0.1879, allocations: 19.83 kB / 0.4943 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.1879, allocations: 4 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.0001129/0.188, allocations: 141.6 kB / 0.4945 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.1881, allocations: 11.91 kB / 0.4945 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003033/0.1884, allocations: 114 kB / 0.4946 GB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1884, allocations: 0 / 0.4946 GB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1884, allocations: 0 / 0.4946 GB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.1884, allocations: 7.984 kB / 0.4946 GB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.1886, allocations: 197.5 kB / 0.4948 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1886, allocations: 4 kB / 0.4948 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.1888, allocations: 35.91 kB / 0.4948 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1888, allocations: 0 / 0.4948 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.1888, allocations: 7.938 kB / 0.4948 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1888, allocations: 0 / 0.4948 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1888, allocations: 0 / 0.4948 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/0.1891, allocations: 211.3 kB / 0.495 GB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.436e-05/0.1892, allocations: 85 kB / 0.4951 GB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.1892, allocations: 4 kB / 0.4951 GB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.972e-05/0.1893, allocations: 4 kB / 0.4951 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.1893, allocations: 7.984 kB / 0.4951 GB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.1894, allocations: 4 kB / 0.4951 GB, free: 3.953 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.188e-05/0.1894, allocations: 95.2 kB / 0.4952 GB, free: 3.859 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.523e-06/0.1894, allocations: 0 / 0.4952 GB, free: 3.859 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000258/0.1897, allocations: 27.94 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.0001728/0.1899, allocations: 103.2 kB / 0.4953 GB, free: 3.723 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002901/0.1902, allocations: 99.84 kB / 0.4954 GB, free: 3.625 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1902, allocations: 0.5 kB / 0.4954 GB, free: 3.625 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.1903, allocations: 52.61 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.0002612/0.1905, allocations: 11.92 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.000672/0.1912, allocations: 258.5 kB / 0.4957 GB, free: 3.281 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004711/0.1917, allocations: 0.7118 MB / 0.4964 GB, free: 2.543 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.474e-05/0.1918, allocations: 28.67 kB / 0.4965 GB, free: 2.516 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.253e-05/0.1919, allocations: 11.44 kB / 0.4965 GB, free: 2.504 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1919, allocations: 0 / 0.4965 GB, free: 2.504 MB / 382.1 MB Notification: Performance of Templates: time 0.004145/0.196, allocations: 0.9407 MB / 0.4974 GB, free: 1.574 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