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_overall_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_overall_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_overall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_overall_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001523/0.001523, allocations: 181.9 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.956/1.956, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001096/0.001096, allocations: 94.62 kB / 267.5 MB, free: 14.04 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.2784/0.2784, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.1e-05/4.117e-05, allocations: 4 kB / 425.3 MB, free: 23.35 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1441, allocations: 58.85 MB / 484.2 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4911/0.6352, allocations: 102.4 MB / 0.5728 GB, free: 1.242 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003603/0.6357, allocations: 105.2 kB / 0.5729 GB, free: 1.176 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6086:11-6092:61:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6094:11-6097:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6100:11-6106:59:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6108:11-6111:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.08969/0.7254, allocations: 17.84 MB / 0.5903 GB, free: 1.805 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.7254, allocations: 4 kB / 0.5903 GB, free: 1.801 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.637e-05/0.7255, allocations: 7.938 kB / 0.5904 GB, free: 1.793 MB / 394.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.001584/0.7271, allocations: 0.6247 MB / 0.591 GB, free: 1.141 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.7271, allocations: 8.031 kB / 0.591 GB, free: 1.133 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.7272, allocations: 43.39 kB / 0.591 GB, free: 1.094 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003771/0.7276, allocations: 238.2 kB / 0.5912 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/0.7277, allocations: 22.78 kB / 0.5913 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.768e-05/0.7278, allocations: 26.81 kB / 0.5913 GB, free: 0.793 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.7288, allocations: 440.5 kB / 0.5917 GB, free: 480 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.7288, allocations: 0 / 0.5917 GB, free: 480 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.878e-05/0.7289, allocations: 14.8 kB / 0.5917 GB, free: 472 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.784e-05/0.729, allocations: 34.58 kB / 0.5918 GB, free: 440 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.7301, allocations: 0.5232 MB / 0.5923 GB, free: 36 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003062/0.7332, allocations: 1.349 MB / 0.5936 GB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008654/0.7341, allocations: 273.8 kB / 0.5938 GB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002242/0.7344, allocations: 80.89 kB / 0.5939 GB, free: 14.44 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.122e-05/0.7345, allocations: 16.36 kB / 0.5939 GB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.7345, allocations: 37.62 kB / 0.594 GB, free: 14.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 3.146e-06/0.7345, allocations: 0 / 0.594 GB, free: 14.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006744/0.7352, allocations: 217.8 kB / 0.5942 GB, free: 14.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.7353, allocations: 51.41 kB / 0.5942 GB, free: 14.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.7354, allocations: 138.3 kB / 0.5944 GB, free: 14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.7355, allocations: 28.83 kB / 0.5944 GB, free: 13.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/0.7357, allocations: 266.9 kB / 0.5946 GB, free: 13.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.961e-05/0.7358, allocations: 91.55 kB / 0.5947 GB, free: 13.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.142e-05/0.7358, allocations: 3.375 kB / 0.5947 GB, free: 13.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.736, allocations: 329.7 kB / 0.5951 GB, free: 13.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.7362, allocations: 73.14 kB / 0.5951 GB, free: 13.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002996/0.7366, allocations: 159.3 kB / 0.5953 GB, free: 13.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/0.7369, allocations: 100.3 kB / 0.5954 GB, free: 13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.7369, allocations: 0 / 0.5954 GB, free: 13 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007856/0.7377, allocations: 290 kB / 0.5956 GB, free: 12.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.7377, allocations: 11.78 kB / 0.5957 GB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.7377, allocations: 4 kB / 0.5957 GB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.7378, allocations: 4 kB / 0.5957 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.7389, allocations: 135 kB / 0.5958 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/0.7404, allocations: 2.366 MB / 0.5981 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003476/0.7408, allocations: 39.59 kB / 0.5981 GB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.463e-05/0.7409, allocations: 15.98 kB / 0.5982 GB, free: 10.11 MB / 410.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 () * 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.0001454/0.741, allocations: 119.1 kB / 0.5983 GB, free: 10 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.393e-05/0.7411, allocations: 11.91 kB / 0.5983 GB, free: 9.988 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/0.7423, allocations: 348.1 kB / 0.5986 GB, free: 9.699 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.248e-06/0.7423, allocations: 4 kB / 0.5986 GB, free: 9.695 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.7423, allocations: 0 / 0.5986 GB, free: 9.695 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.7423, allocations: 7.938 kB / 0.5986 GB, free: 9.688 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005973/0.7429, allocations: 332.9 kB / 0.5989 GB, free: 9.355 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.743, allocations: 0 / 0.5989 GB, free: 9.355 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009812/0.744, allocations: 127.4 kB / 0.5991 GB, free: 9.234 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.587e-06/0.744, allocations: 0 / 0.5991 GB, free: 9.234 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.253e-05/0.744, allocations: 7.562 kB / 0.5991 GB, free: 9.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001521/0.7456, allocations: 2.358 MB / 0.6014 GB, free: 6.793 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.7456, allocations: 0 / 0.6014 GB, free: 6.793 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007331/0.7463, allocations: 350.5 kB / 0.6017 GB, free: 6.477 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-05/0.7464, allocations: 96.86 kB / 0.6018 GB, free: 6.363 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.281e-05/0.7465, allocations: 7.688 kB / 0.6018 GB, free: 6.359 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000276/0.7468, allocations: 19.12 kB / 0.6018 GB, free: 6.344 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.366e-05/0.7469, allocations: 23.77 kB / 0.6018 GB, free: 6.324 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.63e-05/0.7469, allocations: 11.98 kB / 0.6019 GB, free: 6.312 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.205e-05/0.747, allocations: 97.97 kB / 0.602 GB, free: 6.223 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.747, allocations: 0 / 0.602 GB, free: 6.223 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001134/0.7482, allocations: 265.3 kB / 0.6022 GB, free: 5.977 MB / 410.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 () * 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.001122/0.7493, allocations: 400.5 kB / 0.6026 GB, free: 5.586 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001098/0.7505, allocations: 258.5 kB / 0.6028 GB, free: 5.371 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.7505, allocations: 4 kB / 0.6028 GB, free: 5.367 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006204/0.7511, allocations: 141.6 kB / 0.603 GB, free: 5.246 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.7514, allocations: 13.62 kB / 0.603 GB, free: 5.242 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.7526, allocations: 422.3 kB / 0.6034 GB, free: 4.832 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005208/0.7532, allocations: 0.8098 MB / 0.6042 GB, free: 4.004 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.7533, allocations: 31.42 kB / 0.6042 GB, free: 3.973 MB / 410.7 MB Notification: Performance of SimCode: time 1.172e-06/0.7533, allocations: 0 / 0.6042 GB, free: 3.973 MB / 410.7 MB Notification: Performance of Templates: time 0.02168/0.775, allocations: 10.02 MB / 0.614 GB, free: 9.961 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_overall_DPMFLOW/dp_overall_DPMFLOW.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches