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_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_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_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.0009445/0.0009446, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008111/0.0008111, allocations: 90.62 kB / 261.8 MB, free: 1.676 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1907/0.1907, allocations: 43.48 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.233e-05/1.234e-05, allocations: 0 / 418.3 MB, free: 28.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1092, allocations: 58.85 MB / 477.1 MB, free: 1.613 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3984/0.5077, allocations: 101.7 MB / 0.5653 GB, free: 9.691 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.508, allocations: 98.66 kB / 0.5654 GB, free: 9.637 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.0513/0.5593, allocations: 17.72 MB / 0.5827 GB, free: 10.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.5593, allocations: 4 kB / 0.5827 GB, free: 10.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.678e-05/0.5593, allocations: 7.938 kB / 0.5827 GB, free: 10.67 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.001117/0.5605, allocations: 0.6187 MB / 0.5833 GB, free: 10.03 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.5605, allocations: 8.031 kB / 0.5833 GB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.549e-05/0.5606, allocations: 35.58 kB / 0.5834 GB, free: 9.984 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.5609, allocations: 242.1 kB / 0.5836 GB, free: 9.715 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.5609, allocations: 12 kB / 0.5836 GB, free: 9.703 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.791e-05/0.5609, allocations: 16 kB / 0.5836 GB, free: 9.688 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005298/0.5615, allocations: 403.3 kB / 0.584 GB, free: 9.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005304/0.562, allocations: 395.8 kB / 0.5844 GB, free: 9.109 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.562, allocations: 0 / 0.5844 GB, free: 9.109 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.5621, allocations: 4 kB / 0.5844 GB, free: 9.105 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.418e-05/0.5621, allocations: 43.95 kB / 0.5844 GB, free: 9.066 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001757/0.5639, allocations: 1.272 MB / 0.5857 GB, free: 7.828 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004196/0.5643, allocations: 251 kB / 0.5859 GB, free: 7.617 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.5645, allocations: 77.14 kB / 0.586 GB, free: 7.559 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.48e-05/0.5645, allocations: 12.31 kB / 0.586 GB, free: 7.547 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.5645, allocations: 38.56 kB / 0.586 GB, free: 7.5 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 1.603e-06/0.5645, allocations: 3.938 kB / 0.586 GB, free: 7.496 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.0003892/0.5649, allocations: 202.8 kB / 0.5862 GB, free: 7.32 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.565, allocations: 62.95 kB / 0.5863 GB, free: 7.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.5651, allocations: 122 kB / 0.5864 GB, free: 7.129 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.5651, allocations: 25.7 kB / 0.5864 GB, free: 7.098 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.992e-05/0.5652, allocations: 198 kB / 0.5866 GB, free: 6.91 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.927e-05/0.5653, allocations: 80.64 kB / 0.5867 GB, free: 6.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.336e-05/0.5653, allocations: 0 / 0.5867 GB, free: 6.84 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.5655, allocations: 333.8 kB / 0.587 GB, free: 6.512 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.89e-05/0.5656, allocations: 65.72 kB / 0.5871 GB, free: 6.461 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.5657, allocations: 154.2 kB / 0.5872 GB, free: 6.297 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.5659, allocations: 98.27 kB / 0.5873 GB, free: 6.215 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.5659, allocations: 4 kB / 0.5873 GB, free: 6.211 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003808/0.5663, allocations: 259.7 kB / 0.5876 GB, free: 5.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.5663, allocations: 8 kB / 0.5876 GB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.5663, allocations: 4 kB / 0.5876 GB, free: 5.969 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.5663, allocations: 4 kB / 0.5876 GB, free: 5.965 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000546/0.5669, allocations: 135.8 kB / 0.5877 GB, free: 5.836 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001219/0.5681, allocations: 2.372 MB / 0.59 GB, free: 3.387 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.5683, allocations: 31.67 kB / 0.5901 GB, free: 3.355 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.5683, allocations: 16 kB / 0.5901 GB, free: 3.34 MB / 394.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.0001056/0.5685, allocations: 112.4 kB / 0.5902 GB, free: 3.227 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.5685, allocations: 15.97 kB / 0.5902 GB, free: 3.211 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005994/0.5691, allocations: 331.9 kB / 0.5905 GB, free: 2.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.5691, allocations: 8 kB / 0.5905 GB, free: 2.922 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.5691, allocations: 0 / 0.5905 GB, free: 2.922 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5692, allocations: 0 / 0.5905 GB, free: 2.922 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/0.5694, allocations: 272.5 kB / 0.5908 GB, free: 2.648 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.5695, allocations: 0 / 0.5908 GB, free: 2.648 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004652/0.5699, allocations: 119.2 kB / 0.5909 GB, free: 2.535 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.5699, allocations: 0 / 0.5909 GB, free: 2.535 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.57, allocations: 7.984 kB / 0.5909 GB, free: 2.527 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001175/0.5712, allocations: 2.368 MB / 0.5932 GB, free: 84 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.5712, allocations: 0 / 0.5932 GB, free: 84 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003659/0.5715, allocations: 327.3 kB / 0.5935 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.592e-05/0.5716, allocations: 88.95 kB / 0.5936 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.5716, allocations: 7.938 kB / 0.5936 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.5718, allocations: 12.08 kB / 0.5936 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.841e-05/0.5719, allocations: 19.97 kB / 0.5937 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.5719, allocations: 11.31 kB / 0.5937 GB, free: 15.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.74e-05/0.5719, allocations: 103.6 kB / 0.5938 GB, free: 15.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.572, allocations: 0 / 0.5938 GB, free: 15.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007407/0.5727, allocations: 245.8 kB / 0.594 GB, free: 15.3 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.0008401/0.5735, allocations: 390.9 kB / 0.5944 GB, free: 14.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000496/0.5741, allocations: 239.3 kB / 0.5946 GB, free: 14.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.5741, allocations: 0 / 0.5946 GB, free: 14.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003106/0.5744, allocations: 144 kB / 0.5947 GB, free: 14.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.5746, allocations: 8.594 kB / 0.5947 GB, free: 14.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007125/0.5753, allocations: 381.7 kB / 0.5951 GB, free: 14.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.5757, allocations: 0.8055 MB / 0.5959 GB, free: 13.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003004/0.576, allocations: 101.8 kB / 0.596 GB, free: 13.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.37e-05/0.5761, allocations: 27.42 kB / 0.596 GB, free: 13.26 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5761, allocations: 0 / 0.596 GB, free: 13.26 MB / 410.7 MB Notification: Performance of Templates: time 0.00986/0.586, allocations: 5.483 MB / 0.6014 GB, free: 7.789 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_overall_DPMFLOW/dp_overall_DPMFLOW.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches