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.001609/0.001609, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.98/1.98, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001148/0.001148, allocations: 95.39 kB / 270.9 MB, free: 8.375 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.5043/0.5043, allocations: 43.55 MB / 362.7 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004578/0.0004578, allocations: 15.94 kB / 431.4 MB, free: 5.914 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1524, allocations: 58.84 MB / 490.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4959/0.6483, allocations: 102.5 MB / 0.5788 GB, free: 20 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004198/0.6488, allocations: 104 kB / 0.5789 GB, free: 15.91 MB / 410.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.09212/0.741, allocations: 17.89 MB / 0.5964 GB, free: 13.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.741, allocations: 0 / 0.5964 GB, free: 13.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.655e-05/0.741, allocations: 4 kB / 0.5964 GB, free: 13.98 MB / 426.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.001655/0.7427, allocations: 0.6377 MB / 0.597 GB, free: 13.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.7428, allocations: 15.97 kB / 0.5971 GB, free: 13.28 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.7429, allocations: 27.62 kB / 0.5971 GB, free: 13.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003938/0.7433, allocations: 238.6 kB / 0.5973 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.7434, allocations: 20.66 kB / 0.5973 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.55e-05/0.7434, allocations: 31.98 kB / 0.5974 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.7447, allocations: 459.9 kB / 0.5978 GB, free: 12.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.7447, allocations: 1.031 kB / 0.5978 GB, free: 12.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.476e-05/0.7448, allocations: 12 kB / 0.5978 GB, free: 12.47 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.603e-05/0.7449, allocations: 40.97 kB / 0.5978 GB, free: 12.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001486/0.7464, allocations: 0.5621 MB / 0.5984 GB, free: 11.87 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00325/0.7497, allocations: 1.349 MB / 0.5997 GB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009921/0.7507, allocations: 290.3 kB / 0.6 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.325e-05/0.7508, allocations: 11.98 kB / 0.6 GB, free: 10.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.7509, allocations: 30.56 kB / 0.6 GB, free: 10.06 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 2.945e-06/0.7509, allocations: 4 kB / 0.6 GB, free: 10.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.001296/0.7522, allocations: 335.3 kB / 0.6004 GB, free: 9.727 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.7523, allocations: 59.41 kB / 0.6004 GB, free: 9.656 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.7524, allocations: 129.2 kB / 0.6005 GB, free: 9.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/0.7525, allocations: 29.7 kB / 0.6006 GB, free: 9.484 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.7527, allocations: 262.2 kB / 0.6008 GB, free: 9.227 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.7528, allocations: 91.12 kB / 0.6009 GB, free: 9.137 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-05/0.7528, allocations: 4 kB / 0.6009 GB, free: 9.133 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.753, allocations: 322.8 kB / 0.6012 GB, free: 8.809 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003966/0.7534, allocations: 97.41 kB / 0.6013 GB, free: 8.715 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004216/0.7538, allocations: 178 kB / 0.6015 GB, free: 8.504 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004305/0.7543, allocations: 133.5 kB / 0.6016 GB, free: 8.375 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.7543, allocations: 0 / 0.6016 GB, free: 8.375 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00104/0.7554, allocations: 325.1 kB / 0.6019 GB, free: 8.051 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.487e-05/0.7554, allocations: 8 kB / 0.6019 GB, free: 8.043 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.7554, allocations: 0 / 0.6019 GB, free: 8.043 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.7555, allocations: 8 kB / 0.6019 GB, free: 8.035 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.7565, allocations: 135.8 kB / 0.6021 GB, free: 7.902 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/0.7583, allocations: 2.372 MB / 0.6044 GB, free: 5.438 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003464/0.7586, allocations: 39.62 kB / 0.6044 GB, free: 5.398 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.782e-05/0.7587, allocations: 16 kB / 0.6044 GB, free: 5.383 MB / 426.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.0003155/0.759, allocations: 173.7 kB / 0.6046 GB, free: 5.203 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.835e-05/0.7591, allocations: 15.81 kB / 0.6046 GB, free: 5.188 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/0.7606, allocations: 393 kB / 0.605 GB, free: 4.797 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.7606, allocations: 4 kB / 0.605 GB, free: 4.793 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.7606, allocations: 0 / 0.605 GB, free: 4.793 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.7606, allocations: 0 / 0.605 GB, free: 4.793 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006825/0.7613, allocations: 345.3 kB / 0.6053 GB, free: 4.406 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.7614, allocations: 0 / 0.6053 GB, free: 4.406 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009791/0.7624, allocations: 123.8 kB / 0.6054 GB, free: 4.285 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.959e-06/0.7624, allocations: 0 / 0.6054 GB, free: 4.285 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.027e-05/0.7624, allocations: 11.98 kB / 0.6054 GB, free: 4.273 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001721/0.7642, allocations: 2.356 MB / 0.6077 GB, free: 1.824 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.7642, allocations: 3.938 kB / 0.6077 GB, free: 1.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.7653, allocations: 383.7 kB / 0.6081 GB, free: 1.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.501e-05/0.7654, allocations: 92.86 kB / 0.6082 GB, free: 1.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.01e-05/0.7655, allocations: 12 kB / 0.6082 GB, free: 1.309 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/0.7657, allocations: 15.94 kB / 0.6082 GB, free: 1.293 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.39e-05/0.7659, allocations: 23.97 kB / 0.6082 GB, free: 1.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.714e-05/0.7659, allocations: 12 kB / 0.6083 GB, free: 1.258 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001002/0.766, allocations: 102.9 kB / 0.6084 GB, free: 1.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.766, allocations: 0 / 0.6084 GB, free: 1.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001137/0.7672, allocations: 263.3 kB / 0.6086 GB, free: 0.9023 MB / 426.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.001144/0.7683, allocations: 396.5 kB / 0.609 GB, free: 0.5078 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001349/0.7697, allocations: 289.5 kB / 0.6093 GB, free: 232 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.7698, allocations: 0 / 0.6093 GB, free: 232 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007557/0.7705, allocations: 171.8 kB / 0.6094 GB, free: 60 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.7708, allocations: 8 kB / 0.6094 GB, free: 52 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.7726, allocations: 0.7411 MB / 0.6102 GB, free: 15.29 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005269/0.7731, allocations: 0.7986 MB / 0.6109 GB, free: 14.46 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/0.7734, allocations: 35.42 kB / 0.611 GB, free: 14.42 MB / 442.7 MB Notification: Performance of SimCode: time 1.092e-06/0.7734, allocations: 0 / 0.611 GB, free: 14.42 MB / 442.7 MB Notification: Performance of Templates: time 0.02299/0.7964, allocations: 10.04 MB / 0.6208 GB, free: 4.383 MB / 442.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