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_laminar_DPMFLOW.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 103.6 kB / 16.93 MB, free: 5.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001633/0.001634, allocations: 183.3 kB / 17.86 MB, free: 5.164 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 205.1 MB / 223.7 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2107/0.2107, allocations: 43.51 MB / 314.6 MB, free: 0.5391 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 71.08 kB / 383.4 MB, free: 56.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1102, allocations: 57.79 MB / 441.2 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002943/0.1132, allocations: 1.794 MB / 443 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.1144, allocations: 0.8344 MB / 443.8 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.581e-05/0.1145, allocations: 0 / 443.8 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002275/0.1147, allocations: 43.73 kB / 443.9 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002478/0.115, allocations: 67.66 kB / 443.9 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001812/0.1152, allocations: 71.67 kB / 444 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.1153, allocations: 143.4 kB / 444.2 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.086e-05/0.1154, allocations: 7.984 kB / 444.2 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.1155, allocations: 63.77 kB / 444.2 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.1156, allocations: 83.66 kB / 444.3 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.1157, allocations: 4 kB / 444.3 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.1158, allocations: 67.89 kB / 444.4 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.019e-05/0.1159, allocations: 27.89 kB / 444.4 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.268e-05/0.1159, allocations: 51.72 kB / 444.5 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.1162, allocations: 139.5 kB / 444.6 MB, free: 3.465 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1162, allocations: 0 / 444.6 MB, free: 3.465 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1162, allocations: 0 / 444.6 MB, free: 3.465 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.1162, allocations: 0 / 444.6 MB, free: 3.465 MB / 318.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.0005145/0.1167, allocations: 411.1 kB / 445 MB, free: 3.016 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.1168, allocations: 11.89 kB / 445 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003471/0.1171, allocations: 32.81 kB / 445 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.1173, allocations: 188.2 kB / 445.2 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.1173, allocations: 12.31 kB / 445.2 MB, free: 2.738 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.1173, allocations: 16.12 kB / 445.3 MB, free: 2.723 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003123/0.1176, allocations: 176.9 kB / 445.4 MB, free: 2.535 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1177, allocations: 0 / 445.4 MB, free: 2.535 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.1177, allocations: 7.984 kB / 445.4 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.629e-05/0.1177, allocations: 15.98 kB / 445.4 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002782/0.118, allocations: 135.8 kB / 445.6 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006882/0.1187, allocations: 0.6405 MB / 446.2 MB, free: 1.668 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.119, allocations: 114.6 kB / 446.3 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.1191, allocations: 40.83 kB / 446.4 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.1191, allocations: 3.984 kB / 446.4 MB, free: 1.5 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/0.1192, allocations: 34.56 kB / 446.4 MB, free: 1.457 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.1192, allocations: 0 / 446.4 MB, free: 1.457 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004079/0.1196, allocations: 133.5 kB / 446.5 MB, free: 1.32 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.1196, allocations: 55.41 kB / 446.6 MB, free: 1.254 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.404e-05/0.1197, allocations: 122.1 kB / 446.7 MB, free: 1.125 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.1197, allocations: 29.7 kB / 446.7 MB, free: 1.09 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.408e-05/0.1198, allocations: 128 kB / 446.9 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.1198, allocations: 27.59 kB / 446.9 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.072e-05/0.1198, allocations: 29.7 kB / 446.9 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.685e-05/0.1199, allocations: 318.8 kB / 447.2 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.12, allocations: 39.97 kB / 447.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.1201, allocations: 94.92 kB / 447.4 MB, free: 432 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/0.1204, allocations: 151.4 kB / 447.5 MB, free: 252 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1204, allocations: 4 kB / 447.5 MB, free: 248 kB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002835/0.1207, allocations: 157.3 kB / 447.7 MB, free: 84 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.1207, allocations: 4 kB / 447.7 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1207, allocations: 4 kB / 447.7 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1207, allocations: 3.938 kB / 447.7 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.1209, allocations: 48.16 kB / 447.7 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1209, allocations: 4 kB / 447.7 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.121, allocations: 23.88 kB / 447.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.121, allocations: 4 kB / 447.8 MB, free: 15.99 MB / 334.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 0.0001058/0.1211, allocations: 137.5 kB / 447.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.1212, allocations: 7.906 kB / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003243/0.1215, allocations: 130 kB / 448 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1215, allocations: 4 kB / 448 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1215, allocations: 0 / 448 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1215, allocations: 0 / 448 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.1218, allocations: 197.5 kB / 448.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1218, allocations: 0 / 448.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.1219, allocations: 27.97 kB / 448.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.1219, allocations: 0 / 448.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.122, allocations: 8 kB / 448.3 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.122, allocations: 3.938 kB / 448.3 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.122, allocations: 0 / 448.3 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003089/0.1223, allocations: 215.8 kB / 448.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.279e-05/0.1223, allocations: 85.02 kB / 448.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.1224, allocations: 0 / 448.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.1225, allocations: 15.98 kB / 448.6 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.1225, allocations: 4 kB / 448.6 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.1225, allocations: 4 kB / 448.6 MB, free: 15.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.387e-05/0.1226, allocations: 98.39 kB / 448.7 MB, free: 14.97 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1226, allocations: 0 / 448.7 MB, free: 14.97 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.1229, allocations: 20 kB / 448.7 MB, free: 14.95 MB / 334.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.0001459/0.123, allocations: 107.2 kB / 448.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003148/0.1233, allocations: 107.9 kB / 448.9 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1234, allocations: 0 / 448.9 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.1235, allocations: 47.91 kB / 449 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.1238, allocations: 18.41 kB / 449 MB, free: 14.67 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005094/0.1243, allocations: 280.4 kB / 449.2 MB, free: 14.37 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.1246, allocations: 0.7119 MB / 450 MB, free: 13.63 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.329e-05/0.1247, allocations: 11.44 kB / 450 MB, free: 13.62 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1247, allocations: 0 / 450 MB, free: 13.62 MB / 334.1 MB Notification: Performance of Templates: time 0.003005/0.1277, allocations: 1.307 MB / 451.3 MB, free: 12.32 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches