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.00227/0.00227, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.19/2.19, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001101/0.0011, allocations: 92.83 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2944/0.2944, allocations: 43.49 MB / 353.6 MB, free: 2.254 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.453e-05/2.463e-05, allocations: 4.219 kB / 418.3 MB, free: 41.01 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.395, allocations: 58.85 MB / 477.1 MB, free: 5.281 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1854/0.5805, allocations: 101.7 MB / 0.5653 GB, free: 13.5 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003885/0.5809, allocations: 103.9 kB / 0.5654 GB, free: 13.4 MB / 411.1 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.09178/0.6727, allocations: 17.7 MB / 0.5827 GB, free: 11.59 MB / 427.1 MB Notification: Performance of FrontEnd: time 4.268e-06/0.6728, allocations: 4 kB / 0.5827 GB, free: 11.59 MB / 427.1 MB Notification: Performance of Transformations before backend: time 1.786e-05/0.6728, allocations: 8 kB / 0.5827 GB, free: 11.58 MB / 427.1 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.001599/0.6744, allocations: 0.6307 MB / 0.5833 GB, free: 10.91 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.6745, allocations: 8.031 kB / 0.5833 GB, free: 10.9 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.6746, allocations: 35.58 kB / 0.5833 GB, free: 10.86 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004249/0.675, allocations: 242.6 kB / 0.5836 GB, free: 10.59 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.6751, allocations: 8 kB / 0.5836 GB, free: 10.58 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.166e-05/0.6751, allocations: 16 kB / 0.5836 GB, free: 10.56 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009511/0.6761, allocations: 401.3 kB / 0.584 GB, free: 10.17 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009289/0.677, allocations: 398 kB / 0.5844 GB, free: 9.777 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.6771, allocations: 0 / 0.5844 GB, free: 9.777 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.013e-05/0.6771, allocations: 4 kB / 0.5844 GB, free: 9.773 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001022/0.6773, allocations: 44.7 kB / 0.5844 GB, free: 9.73 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003207/0.6805, allocations: 1.266 MB / 0.5856 GB, free: 8.355 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008207/0.6814, allocations: 257.3 kB / 0.5859 GB, free: 8.098 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.6816, allocations: 76.77 kB / 0.586 GB, free: 8.02 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.955e-05/0.6817, allocations: 12.36 kB / 0.586 GB, free: 8.008 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.6817, allocations: 38.56 kB / 0.586 GB, free: 7.961 MB / 427.1 MB Notification: Performance of pre-optimization done (n=25): time 3.276e-06/0.6817, allocations: 0 / 0.586 GB, free: 7.961 MB / 427.1 MB Notification: Performance of matching and sorting (n=25): time 0.0006618/0.6824, allocations: 201.8 kB / 0.5862 GB, free: 7.758 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.6825, allocations: 59.41 kB / 0.5863 GB, free: 7.688 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.6826, allocations: 125.2 kB / 0.5864 GB, free: 7.555 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.6827, allocations: 29.64 kB / 0.5864 GB, free: 7.52 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/0.6829, allocations: 262.5 kB / 0.5867 GB, free: 7.258 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.683, allocations: 82.75 kB / 0.5867 GB, free: 7.176 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.849e-05/0.683, allocations: 0 / 0.5867 GB, free: 7.176 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.6832, allocations: 326.8 kB / 0.587 GB, free: 6.848 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.6834, allocations: 67.95 kB / 0.5871 GB, free: 6.781 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/0.6837, allocations: 154.4 kB / 0.5873 GB, free: 6.594 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.684, allocations: 92.08 kB / 0.5873 GB, free: 6.504 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.684, allocations: 0 / 0.5873 GB, free: 6.504 MB / 427.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000715/0.6847, allocations: 277.4 kB / 0.5876 GB, free: 6.227 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.6847, allocations: 4 kB / 0.5876 GB, free: 6.223 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.6848, allocations: 7.938 kB / 0.5876 GB, free: 6.215 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.6848, allocations: 4 kB / 0.5876 GB, free: 6.211 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.6859, allocations: 127.8 kB / 0.5877 GB, free: 6.086 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001736/0.6877, allocations: 2.368 MB / 0.5901 GB, free: 3.625 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003501/0.6881, allocations: 35.77 kB / 0.5901 GB, free: 3.59 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.874e-05/0.6881, allocations: 19.98 kB / 0.5901 GB, free: 3.57 MB / 427.1 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.0001514/0.6883, allocations: 112.9 kB / 0.5902 GB, free: 3.453 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.042e-05/0.6884, allocations: 11.91 kB / 0.5902 GB, free: 3.441 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/0.6895, allocations: 321.9 kB / 0.5905 GB, free: 3.121 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.6895, allocations: 4 kB / 0.5905 GB, free: 3.117 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.6896, allocations: 0 / 0.5905 GB, free: 3.117 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.6896, allocations: 7.984 kB / 0.5906 GB, free: 3.109 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000527/0.6901, allocations: 277.8 kB / 0.5908 GB, free: 2.801 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.6901, allocations: 4 kB / 0.5908 GB, free: 2.797 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009637/0.6911, allocations: 119.8 kB / 0.5909 GB, free: 2.68 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.226e-06/0.6912, allocations: 0 / 0.5909 GB, free: 2.68 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/0.6912, allocations: 7.938 kB / 0.5909 GB, free: 2.672 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001671/0.6929, allocations: 2.367 MB / 0.5933 GB, free: 216 kB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.6929, allocations: 288 / 0.5933 GB, free: 216 kB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007176/0.6937, allocations: 323.3 kB / 0.5936 GB, free: 15.88 MB / 443.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.895e-05/0.6938, allocations: 96.84 kB / 0.5937 GB, free: 15.77 MB / 443.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.546e-05/0.6938, allocations: 0 / 0.5937 GB, free: 15.77 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002733/0.6941, allocations: 11.94 kB / 0.5937 GB, free: 15.75 MB / 443.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.611e-05/0.6942, allocations: 19.95 kB / 0.5937 GB, free: 15.73 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.785e-05/0.6943, allocations: 15.98 kB / 0.5937 GB, free: 15.72 MB / 443.1 MB Notification: Performance of sorting global known variables: time 9.743e-05/0.6944, allocations: 103.2 kB / 0.5938 GB, free: 15.62 MB / 443.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6944, allocations: 0 / 0.5938 GB, free: 15.62 MB / 443.1 MB Notification: Performance of remove unused functions: time 0.001196/0.6956, allocations: 251.3 kB / 0.594 GB, free: 15.37 MB / 443.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 () * 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.001148/0.6968, allocations: 389.2 kB / 0.5944 GB, free: 14.98 MB / 443.1 MB Notification: Performance of simCode: created initialization part: time 0.001034/0.6978, allocations: 240.4 kB / 0.5946 GB, free: 14.75 MB / 443.1 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.6979, allocations: 0 / 0.5946 GB, free: 14.75 MB / 443.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005917/0.6985, allocations: 143.8 kB / 0.5948 GB, free: 14.61 MB / 443.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.6988, allocations: 3.859 kB / 0.5948 GB, free: 14.6 MB / 443.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.7, allocations: 415.6 kB / 0.5952 GB, free: 14.17 MB / 443.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005286/0.7005, allocations: 0.8024 MB / 0.596 GB, free: 13.34 MB / 443.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.7007, allocations: 31.42 kB / 0.596 GB, free: 13.31 MB / 443.1 MB Notification: Performance of SimCode: time 9.71e-07/0.7007, allocations: 0 / 0.596 GB, free: 13.31 MB / 443.1 MB Notification: Performance of Templates: time 0.02325/0.724, allocations: 10.09 MB / 0.6058 GB, free: 3.215 MB / 443.1 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