Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009164/0.0009166, allocations: 98.53 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001081/0.001082, allocations: 206.5 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.7 MB / 247.5 MB, free: 11.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1961/0.1961, allocations: 46.18 MB / 345.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002838/0.0002841, allocations: 8 kB / 420.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1045, allocations: 63.55 MB / 483.8 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.001829/0.1063, allocations: 1.525 MB / 485.3 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.1076, allocations: 0.8142 MB / 486.1 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.873e-05/0.1077, allocations: 0 / 486.1 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000179/0.1078, allocations: 43.81 kB / 486.1 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002274/0.1081, allocations: 75.66 kB / 486.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001619/0.1083, allocations: 55.81 kB / 486.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002093/0.1085, allocations: 207.3 kB / 486.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.496e-05/0.1085, allocations: 8 kB / 486.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.1087, allocations: 59.77 kB / 486.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.1088, allocations: 87.66 kB / 486.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.1088, allocations: 4 kB / 486.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.109, allocations: 67.89 kB / 486.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.503e-05/0.109, allocations: 31.89 kB / 486.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.674e-05/0.1091, allocations: 69.44 kB / 486.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.1093, allocations: 92.02 kB / 486.9 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1093, allocations: 0 / 486.9 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1093, allocations: 3.938 kB / 486.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.1093, allocations: 4 kB / 486.9 MB, free: 0.9883 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004386/0.1097, allocations: 395.3 kB / 487.3 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.1098, allocations: 8.875 kB / 487.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000286/0.1101, allocations: 40.72 kB / 487.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.1102, allocations: 192.2 kB / 487.5 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.1102, allocations: 4.375 kB / 487.5 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.1103, allocations: 16.12 kB / 487.5 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000321/0.1106, allocations: 176.1 kB / 487.7 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.1106, allocations: 0 / 487.7 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.1106, allocations: 8 kB / 487.7 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/0.1107, allocations: 7.984 kB / 487.7 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003324/0.111, allocations: 155.7 kB / 487.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007471/0.1118, allocations: 0.6484 MB / 488.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003136/0.1121, allocations: 114.6 kB / 488.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.1122, allocations: 44.83 kB / 488.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.1122, allocations: 0 / 488.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.1123, allocations: 34.56 kB / 488.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.1123, allocations: 0 / 488.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004422/0.1127, allocations: 149.5 kB / 488.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.1128, allocations: 55.34 kB / 488.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.609e-05/0.1129, allocations: 133.8 kB / 489 MB, free: 14.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.1129, allocations: 29.7 kB / 489.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.263e-05/0.1129, allocations: 119.8 kB / 489.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.113, allocations: 35.72 kB / 489.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.113, allocations: 17.72 kB / 489.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.534e-05/0.1131, allocations: 322.8 kB / 489.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.1132, allocations: 39.97 kB / 489.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.1134, allocations: 106.5 kB / 489.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/0.1137, allocations: 155.5 kB / 489.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.1137, allocations: 0 / 489.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003474/0.1141, allocations: 177.6 kB / 490 MB, free: 13.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.1141, allocations: 4 kB / 490 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1141, allocations: 4 kB / 490 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.1141, allocations: 0 / 490 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.1143, allocations: 47.91 kB / 490.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1143, allocations: 8.062 kB / 490.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.1144, allocations: 24.09 kB / 490.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.1144, allocations: 7.984 kB / 490.1 MB, free: 13.45 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.364e-05/0.1145, allocations: 129.7 kB / 490.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.1146, allocations: 4 kB / 490.2 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003132/0.1149, allocations: 137.9 kB / 490.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1149, allocations: 0 / 490.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1149, allocations: 0 / 490.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.1149, allocations: 4 kB / 490.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.1151, allocations: 197.5 kB / 490.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1151, allocations: 4 kB / 490.6 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.1153, allocations: 35.92 kB / 490.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.1153, allocations: 4 kB / 490.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-06/0.1153, allocations: 0 / 490.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1153, allocations: 0 / 490.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1153, allocations: 3.984 kB / 490.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.1156, allocations: 223.3 kB / 490.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.11e-05/0.1157, allocations: 88.95 kB / 490.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.1157, allocations: 0 / 490.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.1158, allocations: 11.98 kB / 490.9 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.1158, allocations: 7.984 kB / 490.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.1158, allocations: 0 / 490.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.881e-05/0.1159, allocations: 95.27 kB / 491 MB, free: 12.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1159, allocations: 4 kB / 491 MB, free: 12.42 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.1162, allocations: 24 kB / 491.1 MB, free: 12.4 MB / 366.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001175/0.1163, allocations: 103.2 kB / 491.2 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000292/0.1166, allocations: 111.9 kB / 491.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1166, allocations: 3.938 kB / 491.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.1167, allocations: 47.91 kB / 491.3 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.117, allocations: 12.38 kB / 491.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004338/0.1174, allocations: 342.8 kB / 491.7 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.1177, allocations: 0.7083 MB / 492.4 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.886e-05/0.1177, allocations: 15.44 kB / 492.4 MB, free: 11 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1177, allocations: 0 / 492.4 MB, free: 11 MB / 366.1 MB Notification: Performance of Templates: time 0.002766/0.1205, allocations: 1.293 MB / 493.7 MB, free: 9.707 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches