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.001111/0.001111, allocations: 110.8 kB / 17.08 MB, free: 6.02 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.001046/0.001046, allocations: 198.3 kB / 18.01 MB, free: 5.094 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.332/1.332, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2015/0.2015, allocations: 43.53 MB / 314.8 MB, free: 464 kB / 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.002322/0.002322, allocations: 63.89 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1161, allocations: 57.8 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002852/0.119, allocations: 1.789 MB / 0.4903 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.1203, allocations: 0.846 MB / 0.4911 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.836e-05/0.1204, allocations: 0 / 0.4911 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.1206, allocations: 43.83 kB / 0.4912 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.1209, allocations: 79.56 kB / 0.4913 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001701/0.121, allocations: 63.73 kB / 0.4913 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.1212, allocations: 131.4 kB / 0.4914 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.118e-05/0.1213, allocations: 11.98 kB / 0.4915 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.1214, allocations: 71.75 kB / 0.4915 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.1215, allocations: 79.72 kB / 0.4916 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.1216, allocations: 7.938 kB / 0.4916 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.1217, allocations: 67.89 kB / 0.4917 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.06e-05/0.1218, allocations: 31.95 kB / 0.4917 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.257e-05/0.1218, allocations: 39.75 kB / 0.4917 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.1221, allocations: 147.4 kB / 0.4919 GB, free: 8.371 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1221, allocations: 0 / 0.4919 GB, free: 8.371 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1221, allocations: 0 / 0.4919 GB, free: 8.371 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1221, allocations: 0 / 0.4919 GB, free: 8.371 MB / 382.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.0005247/0.1226, allocations: 403.2 kB / 0.4923 GB, free: 7.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.1227, allocations: 15.89 kB / 0.4923 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003253/0.123, allocations: 32.8 kB / 0.4923 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.1232, allocations: 196.1 kB / 0.4925 GB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.1232, allocations: 4.375 kB / 0.4925 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.1233, allocations: 16.12 kB / 0.4925 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003752/0.1236, allocations: 180.1 kB / 0.4927 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1237, allocations: 0 / 0.4927 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.1237, allocations: 4 kB / 0.4927 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.958e-05/0.1237, allocations: 11.94 kB / 0.4927 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/0.124, allocations: 139.7 kB / 0.4928 GB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008544/0.1249, allocations: 0.6406 MB / 0.4935 GB, free: 6.578 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.1252, allocations: 110.6 kB / 0.4936 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.1254, allocations: 40.83 kB / 0.4936 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.1254, allocations: 4 kB / 0.4936 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.1254, allocations: 38.5 kB / 0.4936 GB, free: 6.367 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.1254, allocations: 0 / 0.4936 GB, free: 6.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.000444/0.1259, allocations: 141.4 kB / 0.4938 GB, free: 6.223 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.1259, allocations: 59.34 kB / 0.4938 GB, free: 6.152 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.226e-05/0.126, allocations: 130 kB / 0.494 GB, free: 6.016 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.1261, allocations: 25.7 kB / 0.494 GB, free: 5.984 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.243e-05/0.1261, allocations: 123.9 kB / 0.4941 GB, free: 5.859 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.1262, allocations: 23.8 kB / 0.4941 GB, free: 5.836 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.055e-05/0.1262, allocations: 33.7 kB / 0.4942 GB, free: 5.797 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1263, allocations: 318.8 kB / 0.4945 GB, free: 5.477 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.1265, allocations: 39.95 kB / 0.4945 GB, free: 5.438 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.1266, allocations: 95.48 kB / 0.4946 GB, free: 5.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/0.1269, allocations: 147.8 kB / 0.4947 GB, free: 5.148 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1269, allocations: 0 / 0.4947 GB, free: 5.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003001/0.1272, allocations: 157.3 kB / 0.4949 GB, free: 4.988 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1273, allocations: 8 kB / 0.4949 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1273, allocations: 0 / 0.4949 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.1273, allocations: 4.25 kB / 0.4949 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.1275, allocations: 51.91 kB / 0.4949 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1275, allocations: 0 / 0.4949 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.979e-05/0.1276, allocations: 19.83 kB / 0.495 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.1276, allocations: 8 kB / 0.495 GB, free: 4.898 MB / 382.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 8.903e-05/0.1277, allocations: 137.6 kB / 0.4951 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-05/0.1277, allocations: 7.906 kB / 0.4951 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000295/0.128, allocations: 122 kB / 0.4952 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.128, allocations: 4 kB / 0.4952 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.1281, allocations: 4 kB / 0.4952 GB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.1281, allocations: 0 / 0.4952 GB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.1283, allocations: 205.4 kB / 0.4954 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1283, allocations: 0 / 0.4954 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.1284, allocations: 31.97 kB / 0.4955 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1284, allocations: 4 kB / 0.4955 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.1284, allocations: 0 / 0.4955 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1285, allocations: 4 kB / 0.4955 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1285, allocations: 0 / 0.4955 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002862/0.1287, allocations: 207.3 kB / 0.4957 GB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-05/0.1288, allocations: 85.02 kB / 0.4957 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.1288, allocations: 4 kB / 0.4958 GB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.264e-05/0.1289, allocations: 4 kB / 0.4958 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.129, allocations: 15.92 kB / 0.4958 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.129, allocations: 3.938 kB / 0.4958 GB, free: 3.973 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.929e-05/0.129, allocations: 99.2 kB / 0.4959 GB, free: 3.875 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.129, allocations: 0 / 0.4959 GB, free: 3.875 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.1293, allocations: 20 kB / 0.4959 GB, free: 3.855 MB / 382.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.0001407/0.1294, allocations: 111.2 kB / 0.496 GB, free: 3.738 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002853/0.1297, allocations: 87.88 kB / 0.4961 GB, free: 3.652 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1297, allocations: 0 / 0.4961 GB, free: 3.652 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.1299, allocations: 52.39 kB / 0.4961 GB, free: 3.602 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.1301, allocations: 11.94 kB / 0.4961 GB, free: 3.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004732/0.1306, allocations: 288.3 kB / 0.4964 GB, free: 3.273 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.1309, allocations: 0.7079 MB / 0.4971 GB, free: 2.539 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.486e-05/0.1309, allocations: 15.42 kB / 0.4971 GB, free: 2.523 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.131, allocations: 0 / 0.4971 GB, free: 2.523 MB / 382.1 MB Notification: Performance of Templates: time 0.002904/0.1339, allocations: 1.336 MB / 0.4984 GB, free: 1.191 MB / 382.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