Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002339/0.002339, allocations: 188.5 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.202/2.202, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001714/0.001714, allocations: 94.81 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3104/0.3104, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006271/0.0006272, allocations: 15.98 kB / 431.4 MB, free: 20.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1187, allocations: 58.85 MB / 490.2 MB, free: 9.336 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002635/0.1214, allocations: 1.486 MB / 491.7 MB, free: 7.828 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003182/0.1246, allocations: 1.491 MB / 493.2 MB, free: 6.332 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.1248, allocations: 0 / 493.2 MB, free: 6.332 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002608/0.1251, allocations: 35.81 kB / 493.3 MB, free: 6.297 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003145/0.1254, allocations: 63.78 kB / 493.3 MB, free: 6.234 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.1266, allocations: 351.3 kB / 493.7 MB, free: 5.891 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003011/0.1269, allocations: 171.5 kB / 493.8 MB, free: 5.723 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.771e-05/0.127, allocations: 24.39 kB / 493.8 MB, free: 5.695 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/0.1272, allocations: 83.61 kB / 493.9 MB, free: 5.613 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.1274, allocations: 99.55 kB / 494 MB, free: 5.516 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.12e-05/0.1275, allocations: 4 kB / 494 MB, free: 5.512 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0015/0.129, allocations: 0.6903 MB / 494.7 MB, free: 4.82 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.1291, allocations: 63.8 kB / 494.8 MB, free: 4.758 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.197e-05/0.1292, allocations: 65.52 kB / 494.8 MB, free: 4.688 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008768/0.1301, allocations: 367.5 kB / 495.2 MB, free: 4.328 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1301, allocations: 0 / 495.2 MB, free: 4.328 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1301, allocations: 4 kB / 495.2 MB, free: 4.324 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1302, allocations: 0 / 495.2 MB, free: 4.324 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001207/0.1314, allocations: 0.5732 MB / 495.8 MB, free: 3.703 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1314, allocations: 12.02 kB / 495.8 MB, free: 3.691 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.191e-05/0.1315, allocations: 31.58 kB / 495.8 MB, free: 3.66 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/0.1319, allocations: 230.7 kB / 496.1 MB, free: 3.395 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.3e-05/0.1319, allocations: 28.48 kB / 496.1 MB, free: 3.367 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.09e-05/0.132, allocations: 28 kB / 496.1 MB, free: 3.34 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.1332, allocations: 471.3 kB / 496.6 MB, free: 2.879 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.1332, allocations: 0 / 496.6 MB, free: 2.879 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.732e-05/0.1333, allocations: 11.98 kB / 496.6 MB, free: 2.867 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-05/0.1334, allocations: 44.97 kB / 496.6 MB, free: 2.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/0.1348, allocations: 0.566 MB / 497.2 MB, free: 2.254 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002959/0.1378, allocations: 1.35 MB / 498.5 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00098/0.1388, allocations: 282.5 kB / 498.8 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.425e-05/0.1389, allocations: 16.36 kB / 498.8 MB, free: 492 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.139, allocations: 34.94 kB / 498.9 MB, free: 448 kB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 3.216e-06/0.139, allocations: 0 / 498.9 MB, free: 448 kB / 330.7 MB Notification: Performance of matching and sorting (n=25): time 0.001244/0.1402, allocations: 349.1 kB / 499.2 MB, free: 92 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.1403, allocations: 55.41 kB / 499.3 MB, free: 24 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.1405, allocations: 141.2 kB / 499.4 MB, free: 15.88 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.1405, allocations: 29.7 kB / 499.4 MB, free: 15.84 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.1407, allocations: 262.2 kB / 499.7 MB, free: 15.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.914e-05/0.1408, allocations: 86.75 kB / 499.8 MB, free: 15.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.321e-05/0.1408, allocations: 4 kB / 499.8 MB, free: 15.5 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.141, allocations: 330.8 kB / 0.4884 GB, free: 15.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003467/0.1414, allocations: 87.92 kB / 0.4885 GB, free: 15.08 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004202/0.1418, allocations: 182.1 kB / 0.4886 GB, free: 14.86 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004114/0.1422, allocations: 119.9 kB / 0.4887 GB, free: 14.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.1422, allocations: 4 kB / 0.4887 GB, free: 14.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001024/0.1433, allocations: 329.3 kB / 0.4891 GB, free: 14.41 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.1433, allocations: 10.66 kB / 0.4891 GB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.1433, allocations: 0 / 0.4891 GB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.1434, allocations: 4 kB / 0.4891 GB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.1444, allocations: 135.8 kB / 0.4892 GB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/0.1461, allocations: 2.368 MB / 0.4915 GB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003238/0.1464, allocations: 39.67 kB / 0.4916 GB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.311e-05/0.1465, allocations: 12 kB / 0.4916 GB, free: 11.76 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003392/0.1468, allocations: 177.7 kB / 0.4917 GB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.764e-05/0.1469, allocations: 11.81 kB / 0.4917 GB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/0.1483, allocations: 382.4 kB / 0.4921 GB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.1484, allocations: 4 kB / 0.4921 GB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.1484, allocations: 0 / 0.4921 GB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.1484, allocations: 3.953 kB / 0.4921 GB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006063/0.149, allocations: 345.3 kB / 0.4925 GB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.149, allocations: 0 / 0.4925 GB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00098/0.15, allocations: 115.9 kB / 0.4926 GB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.1501, allocations: 11.88 kB / 0.4926 GB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.442e-05/0.1501, allocations: 11.98 kB / 0.4926 GB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001527/0.1516, allocations: 2.36 MB / 0.4949 GB, free: 8.203 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1517, allocations: 3.938 kB / 0.4949 GB, free: 8.199 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009519/0.1526, allocations: 387.4 kB / 0.4953 GB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.333e-05/0.1527, allocations: 92.86 kB / 0.4954 GB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.394e-05/0.1528, allocations: 4 kB / 0.4954 GB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002712/0.1531, allocations: 19.94 kB / 0.4954 GB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.1532, allocations: 23.97 kB / 0.4954 GB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.744e-05/0.1532, allocations: 8 kB / 0.4954 GB, free: 7.641 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.22e-05/0.1533, allocations: 107.2 kB / 0.4955 GB, free: 7.535 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1533, allocations: 0 / 0.4955 GB, free: 7.535 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008366/0.1542, allocations: 163.6 kB / 0.4957 GB, free: 7.375 MB / 346.7 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007579/0.155, allocations: 223 kB / 0.4959 GB, free: 7.145 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001907/0.1569, allocations: 309.4 kB / 0.4962 GB, free: 6.844 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.157, allocations: 0 / 0.4962 GB, free: 6.844 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001142/0.1581, allocations: 179.7 kB / 0.4963 GB, free: 6.668 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/0.1586, allocations: 12 kB / 0.4964 GB, free: 6.656 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.1608, allocations: 0.7342 MB / 0.4971 GB, free: 5.898 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006992/0.1616, allocations: 0.8065 MB / 0.4979 GB, free: 5.066 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.1619, allocations: 31.42 kB / 0.4979 GB, free: 5.035 MB / 346.7 MB Notification: Performance of SimCode: time 1.473e-06/0.1619, allocations: 0 / 0.4979 GB, free: 5.035 MB / 346.7 MB Notification: Performance of Templates: time 0.02603/0.1879, allocations: 8.664 MB / 0.5063 GB, free: 12.37 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_turbulent_DPMFLOW/dp_turbulent_DPMFLOW.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches