Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001539/0.00154, allocations: 175.1 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 221.5 MB / 230.7 MB, free: 7.555 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 93.97 kB / 281.6 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1813/0.1813, allocations: 44.16 MB / 376.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.813e-05/1.815e-05, allocations: 0 / 444.6 MB, free: 15.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1336, allocations: 61.92 MB / 0.4947 GB, free: 1.215 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4735/0.6071, allocations: 103 MB / 0.5952 GB, free: 9.516 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.6074, allocations: 95.94 kB / 0.5953 GB, free: 9.422 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:6002:11-6008: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 4.0.0+maint.om/Fluid/Dissipation.mo:6010:11-6013: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 4.0.0+maint.om/Fluid/Dissipation.mo:6016:11-6022: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 4.0.0+maint.om/Fluid/Dissipation.mo:6024:11-6027: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.05464/0.6621, allocations: 18.09 MB / 0.613 GB, free: 7.238 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.6621, allocations: 0 / 0.613 GB, free: 7.238 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.6622, allocations: 4 kB / 0.613 GB, free: 7.234 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.001171/0.6633, allocations: 0.6371 MB / 0.6136 GB, free: 6.551 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.6634, allocations: 11.98 kB / 0.6136 GB, free: 6.539 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.906e-05/0.6635, allocations: 35.61 kB / 0.6137 GB, free: 6.504 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.6638, allocations: 238.7 kB / 0.6139 GB, free: 6.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.851e-05/0.6638, allocations: 8 kB / 0.6139 GB, free: 6.223 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.002e-05/0.6639, allocations: 16 kB / 0.6139 GB, free: 6.207 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005629/0.6644, allocations: 405.3 kB / 0.6143 GB, free: 5.812 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005556/0.665, allocations: 402 kB / 0.6147 GB, free: 5.418 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.665, allocations: 0 / 0.6147 GB, free: 5.418 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.643e-05/0.6651, allocations: 0 / 0.6147 GB, free: 5.418 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-05/0.6651, allocations: 40.77 kB / 0.6147 GB, free: 5.375 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001861/0.667, allocations: 1.266 MB / 0.616 GB, free: 4.004 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004646/0.6675, allocations: 258.4 kB / 0.6162 GB, free: 3.742 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.6676, allocations: 76.81 kB / 0.6163 GB, free: 3.664 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.79e-05/0.6676, allocations: 8 kB / 0.6163 GB, free: 3.656 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.6677, allocations: 34.56 kB / 0.6163 GB, free: 3.613 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 1.483e-06/0.6677, allocations: 7.938 kB / 0.6163 GB, free: 3.605 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.0004014/0.6681, allocations: 209.7 kB / 0.6165 GB, free: 3.395 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.6681, allocations: 51.41 kB / 0.6166 GB, free: 3.332 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.6682, allocations: 121.2 kB / 0.6167 GB, free: 3.203 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.6683, allocations: 25.7 kB / 0.6167 GB, free: 3.172 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.6684, allocations: 200 kB / 0.6169 GB, free: 2.969 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.796e-05/0.6684, allocations: 86.75 kB / 0.617 GB, free: 2.883 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.401e-05/0.6685, allocations: 0 / 0.617 GB, free: 2.883 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.6686, allocations: 326.8 kB / 0.6173 GB, free: 2.555 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.6687, allocations: 67.83 kB / 0.6174 GB, free: 2.488 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.6689, allocations: 154.1 kB / 0.6175 GB, free: 2.301 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.6691, allocations: 91.86 kB / 0.6176 GB, free: 2.211 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.6691, allocations: 4 kB / 0.6176 GB, free: 2.207 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004766/0.6696, allocations: 265.4 kB / 0.6179 GB, free: 1.941 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.6696, allocations: 8 kB / 0.6179 GB, free: 1.934 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.6696, allocations: 3.984 kB / 0.6179 GB, free: 1.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.6697, allocations: 4 kB / 0.6179 GB, free: 1.926 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006063/0.6703, allocations: 136.1 kB / 0.618 GB, free: 1.793 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001608/0.6719, allocations: 2.364 MB / 0.6203 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.6721, allocations: 31.7 kB / 0.6203 GB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.082e-05/0.6722, allocations: 16 kB / 0.6204 GB, free: 15.29 MB / 442.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.0001236/0.6723, allocations: 113.1 kB / 0.6205 GB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.059e-05/0.6723, allocations: 23.75 kB / 0.6205 GB, free: 15.15 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006788/0.673, allocations: 323.5 kB / 0.6208 GB, free: 14.83 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.673, allocations: 4 kB / 0.6208 GB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.6731, allocations: 4 kB / 0.6208 GB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.6731, allocations: 0 / 0.6208 GB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004464/0.6735, allocations: 274.3 kB / 0.6211 GB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.6735, allocations: 7.922 kB / 0.6211 GB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000477/0.674, allocations: 115.9 kB / 0.6212 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.674, allocations: 7.938 kB / 0.6212 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.6741, allocations: 7.953 kB / 0.6212 GB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/0.6753, allocations: 2.36 MB / 0.6235 GB, free: 11.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.6753, allocations: 3.984 kB / 0.6235 GB, free: 11.92 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003934/0.6757, allocations: 335.5 kB / 0.6238 GB, free: 11.58 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.399e-05/0.6758, allocations: 88.95 kB / 0.6239 GB, free: 11.47 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.6758, allocations: 4.188 kB / 0.6239 GB, free: 11.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.676, allocations: 11.98 kB / 0.6239 GB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.981e-05/0.676, allocations: 19.97 kB / 0.6239 GB, free: 11.44 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.958e-05/0.6761, allocations: 15.98 kB / 0.624 GB, free: 11.42 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.768e-05/0.6761, allocations: 89.11 kB / 0.624 GB, free: 11.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6762, allocations: 4 kB / 0.624 GB, free: 11.33 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001068/0.6772, allocations: 251.3 kB / 0.6243 GB, free: 11.09 MB / 442.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.0007873/0.678, allocations: 392.2 kB / 0.6247 GB, free: 10.69 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005533/0.6786, allocations: 231.8 kB / 0.6249 GB, free: 10.46 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6786, allocations: 0 / 0.6249 GB, free: 10.46 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003153/0.6789, allocations: 144.5 kB / 0.625 GB, free: 10.32 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.6791, allocations: 7.953 kB / 0.625 GB, free: 10.32 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007663/0.6799, allocations: 385.8 kB / 0.6254 GB, free: 9.918 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004678/0.6804, allocations: 0.8062 MB / 0.6262 GB, free: 9.082 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003058/0.6807, allocations: 97.86 kB / 0.6263 GB, free: 8.984 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.453e-05/0.6808, allocations: 27.42 kB / 0.6263 GB, free: 8.957 MB / 442.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6808, allocations: 4 kB / 0.6263 GB, free: 8.953 MB / 442.7 MB Notification: Performance of Templates: time 0.01021/0.691, allocations: 5.478 MB / 0.6317 GB, free: 3.5 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_overall_DPMFLOW/dp_overall_DPMFLOW.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches