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.001365/0.001365, allocations: 111.6 kB / 17.04 MB, free: 5.816 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.001276/0.001276, allocations: 195 kB / 17.98 MB, free: 5.027 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.52/1.52, allocations: 205.1 MB / 223.8 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.2179/0.2179, allocations: 43.51 MB / 314.7 MB, free: 492 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.001482/0.001482, allocations: 65.7 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.117, allocations: 57.79 MB / 442 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003031/0.1201, allocations: 1.791 MB / 443.8 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.1216, allocations: 0.8383 MB / 444.6 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.544e-05/0.1217, allocations: 4 kB / 444.6 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003071/0.122, allocations: 39.75 kB / 444.7 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002984/0.1223, allocations: 71.66 kB / 444.7 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.1226, allocations: 71.66 kB / 444.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.1228, allocations: 131.5 kB / 444.9 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.924e-05/0.1229, allocations: 7.984 kB / 444.9 MB, free: 3.152 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.123, allocations: 71.7 kB / 445 MB, free: 3.082 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.1232, allocations: 79.66 kB / 445.1 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.1232, allocations: 4 kB / 445.1 MB, free: 3 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001802/0.1234, allocations: 83.88 kB / 445.2 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.455e-05/0.1235, allocations: 27.91 kB / 445.2 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.028e-05/0.1236, allocations: 35.8 kB / 445.2 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.1238, allocations: 143.5 kB / 445.4 MB, free: 2.715 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1238, allocations: 3.938 kB / 445.4 MB, free: 2.711 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1238, allocations: 3.938 kB / 445.4 MB, free: 2.707 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1239, allocations: 0 / 445.4 MB, free: 2.707 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.0005544/0.1244, allocations: 407.2 kB / 445.8 MB, free: 2.262 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.1245, allocations: 11.89 kB / 445.8 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003669/0.1248, allocations: 40.81 kB / 445.8 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.125, allocations: 180.2 kB / 446 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.125, allocations: 16.36 kB / 446 MB, free: 1.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.125, allocations: 8.125 kB / 446 MB, free: 1.973 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000333/0.1254, allocations: 184.9 kB / 446.2 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.1254, allocations: 0 / 446.2 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.1254, allocations: 8 kB / 446.2 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-05/0.1255, allocations: 7.984 kB / 446.2 MB, free: 1.762 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002623/0.1257, allocations: 135.8 kB / 446.4 MB, free: 1.629 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007198/0.1265, allocations: 0.6444 MB / 447 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/0.1268, allocations: 106.7 kB / 447.1 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.652e-05/0.1269, allocations: 44.77 kB / 447.2 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.1269, allocations: 0 / 447.2 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.498e-05/0.1269, allocations: 34.5 kB / 447.2 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.1269, allocations: 0 / 447.2 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003801/0.1273, allocations: 141.7 kB / 447.3 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.1274, allocations: 51.41 kB / 447.4 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.127e-05/0.1274, allocations: 133.9 kB / 447.5 MB, free: 376 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.1275, allocations: 25.7 kB / 447.5 MB, free: 344 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.344e-05/0.1275, allocations: 119.8 kB / 447.7 MB, free: 220 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/0.1275, allocations: 27.64 kB / 447.7 MB, free: 192 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.1276, allocations: 29.72 kB / 447.7 MB, free: 156 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1277, allocations: 318.8 kB / 448 MB, free: 15.83 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.1279, allocations: 39.91 kB / 448.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.1281, allocations: 95.69 kB / 448.2 MB, free: 15.67 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002527/0.1283, allocations: 151.5 kB / 448.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1283, allocations: 0 / 448.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003261/0.1287, allocations: 165.3 kB / 448.5 MB, free: 15.33 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1287, allocations: 4 kB / 448.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.542e-05/0.1287, allocations: 4 kB / 448.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.1288, allocations: 4 kB / 448.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.1289, allocations: 40.16 kB / 448.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.129, allocations: 8 kB / 448.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.47e-05/0.1291, allocations: 15.84 kB / 448.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/0.1291, allocations: 8 kB / 448.5 MB, free: 15.25 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 9.998e-05/0.1292, allocations: 133.6 kB / 448.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.1292, allocations: 11.84 kB / 448.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003366/0.1296, allocations: 129.9 kB / 448.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.1296, allocations: 3.984 kB / 448.8 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.1296, allocations: 4 kB / 448.8 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1296, allocations: 0 / 448.8 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.1299, allocations: 209.5 kB / 449 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1299, allocations: 0 / 449 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.13, allocations: 27.98 kB / 449.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.13, allocations: 0 / 449.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.1301, allocations: 0 / 449.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1301, allocations: 0 / 449.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1301, allocations: 4 kB / 449.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.1304, allocations: 215.7 kB / 449.3 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.003e-05/0.1304, allocations: 84.95 kB / 449.4 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.1305, allocations: 0 / 449.4 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.647e-05/0.1306, allocations: 11.98 kB / 449.4 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.1306, allocations: 11.98 kB / 449.4 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.575e-06/0.1306, allocations: 4 kB / 449.4 MB, free: 14.31 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.29e-05/0.1307, allocations: 91.27 kB / 449.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1307, allocations: 0 / 449.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.131, allocations: 24 kB / 449.5 MB, free: 14.2 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.0001539/0.1311, allocations: 95.25 kB / 449.6 MB, free: 14.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002984/0.1314, allocations: 111.9 kB / 449.7 MB, free: 13.98 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.1315, allocations: 0 / 449.7 MB, free: 13.98 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.1316, allocations: 44.05 kB / 449.7 MB, free: 13.94 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.1318, allocations: 13.97 kB / 449.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004615/0.1323, allocations: 251.3 kB / 450 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.1326, allocations: 0.708 MB / 450.7 MB, free: 12.92 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.1328, allocations: 28.53 kB / 450.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.101e-05/0.1328, allocations: 11.44 kB / 450.7 MB, free: 12.88 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1328, allocations: 0 / 450.7 MB, free: 12.88 MB / 334.1 MB Notification: Performance of Templates: time 0.004041/0.1369, allocations: 0.9352 MB / 451.7 MB, free: 11.98 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 -s cvode -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