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.001348/0.001348, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001313/0.001313, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 227.4 MB / 247.5 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1982/0.1982, allocations: 46.1 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 75.88 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1189, allocations: 62.45 MB / 481.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002938/0.1218, allocations: 1.806 MB / 483.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.1231, allocations: 0.8297 MB / 484.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.727e-05/0.1232, allocations: 0 / 484.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002297/0.1234, allocations: 39.77 kB / 484.2 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002599/0.1237, allocations: 79.62 kB / 484.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.1239, allocations: 67.67 kB / 484.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.1241, allocations: 135.5 kB / 484.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.976e-05/0.1241, allocations: 4 kB / 484.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.1243, allocations: 71.69 kB / 484.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.1244, allocations: 87.66 kB / 484.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.1245, allocations: 8 kB / 484.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.1246, allocations: 67.89 kB / 484.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.106e-05/0.1247, allocations: 35.89 kB / 484.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.588e-05/0.1247, allocations: 35.78 kB / 484.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.125, allocations: 143.5 kB / 484.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.125, allocations: 0 / 484.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.125, allocations: 0 / 484.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.125, allocations: 0 / 484.9 MB, free: 1.113 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.0005255/0.1255, allocations: 411.1 kB / 485.3 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.1256, allocations: 16.03 kB / 485.3 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003046/0.1259, allocations: 36.75 kB / 485.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.1261, allocations: 180.3 kB / 485.5 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.1261, allocations: 12.31 kB / 485.5 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.1261, allocations: 20.06 kB / 485.5 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003299/0.1265, allocations: 168.1 kB / 485.7 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.1265, allocations: 8 kB / 485.7 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.1265, allocations: 7.984 kB / 485.7 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.283e-05/0.1265, allocations: 11.98 kB / 485.7 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002865/0.1268, allocations: 135.7 kB / 485.9 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008705/0.1277, allocations: 0.6367 MB / 486.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/0.128, allocations: 106.6 kB / 486.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.1281, allocations: 44.83 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.1282, allocations: 3.984 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.1282, allocations: 34.56 kB / 486.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.1282, allocations: 0 / 486.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003939/0.1286, allocations: 129.5 kB / 486.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.1286, allocations: 59.41 kB / 486.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.903e-05/0.1287, allocations: 125.7 kB / 487 MB, free: 14.78 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.1288, allocations: 29.7 kB / 487 MB, free: 14.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.043e-05/0.1288, allocations: 127.9 kB / 487.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.1289, allocations: 23.66 kB / 487.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.1289, allocations: 33.7 kB / 487.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.129, allocations: 318.8 kB / 487.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.1291, allocations: 39.97 kB / 487.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.1293, allocations: 90.22 kB / 487.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.1295, allocations: 147.5 kB / 487.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1295, allocations: 0 / 487.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003024/0.1299, allocations: 157.7 kB / 487.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.1299, allocations: 8 kB / 487.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1299, allocations: 8.062 kB / 488 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.1299, allocations: 4 kB / 488 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.1301, allocations: 48.16 kB / 488 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1301, allocations: 3.984 kB / 488 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.671e-05/0.1302, allocations: 23.83 kB / 488 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.1302, allocations: 8 kB / 488 MB, free: 13.64 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 8.862e-05/0.1303, allocations: 133.6 kB / 488.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.1303, allocations: 7.906 kB / 488.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003023/0.1307, allocations: 130 kB / 488.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.1307, allocations: 0 / 488.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1307, allocations: 0 / 488.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1307, allocations: 4 kB / 488.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.1309, allocations: 193.5 kB / 488.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1309, allocations: 4 kB / 488.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.131, allocations: 27.97 kB / 488.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.131, allocations: 0 / 488.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.669e-06/0.1311, allocations: 4 kB / 488.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1311, allocations: 3.938 kB / 488.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1311, allocations: 0 / 488.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/0.1314, allocations: 219.3 kB / 488.7 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.88e-05/0.1314, allocations: 84.95 kB / 488.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.1314, allocations: 4 kB / 488.8 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.599e-05/0.1315, allocations: 11.98 kB / 488.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.1316, allocations: 0 / 488.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.248e-06/0.1316, allocations: 8 kB / 488.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.696e-05/0.1317, allocations: 91.27 kB / 488.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1317, allocations: 0 / 488.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.1319, allocations: 20 kB / 489 MB, free: 12.61 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.0001186/0.1321, allocations: 111.2 kB / 489.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002823/0.1323, allocations: 95.86 kB / 489.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1324, allocations: 0 / 489.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.1325, allocations: 43.91 kB / 489.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.1327, allocations: 11.94 kB / 489.2 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004399/0.1332, allocations: 255.1 kB / 489.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.1334, allocations: 0.7127 MB / 490.2 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.186e-05/0.1335, allocations: 32.52 kB / 490.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/0.1336, allocations: 15.38 kB / 490.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1336, allocations: 0 / 490.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of Templates: time 0.003089/0.1367, allocations: 0.9244 MB / 491.2 MB, free: 10.39 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 -s gbode -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