Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001132/0.001132, allocations: 104.1 kB / 17.63 MB, free: 5.504 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.001096/0.001096, allocations: 192 kB / 18.56 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.211/0.211, allocations: 44.18 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001337, allocations: 60.88 kB / 408.4 MB, free: 27.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1185, allocations: 60.83 MB / 469.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003417/0.122, allocations: 1.782 MB / 471.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.1235, allocations: 0.7985 MB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.985e-05/0.1236, allocations: 0 / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002319/0.1239, allocations: 43.75 kB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003015/0.1242, allocations: 71.66 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.1244, allocations: 67.67 kB / 472 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.1247, allocations: 131.5 kB / 472.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.316e-05/0.1247, allocations: 12 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.1249, allocations: 71.67 kB / 472.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.1251, allocations: 79.73 kB / 472.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.1251, allocations: 7.938 kB / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001811/0.1253, allocations: 71.94 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.792e-05/0.1254, allocations: 35.84 kB / 472.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.471e-05/0.1254, allocations: 35.8 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002548/0.1257, allocations: 139.8 kB / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.1257, allocations: 3.984 kB / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1257, allocations: 0 / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1257, allocations: 0 / 472.6 MB, free: 10.97 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.0005686/0.1263, allocations: 407.2 kB / 473 MB, free: 10.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.1263, allocations: 11.97 kB / 473 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003644/0.1267, allocations: 40.8 kB / 473.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.1269, allocations: 184.3 kB / 473.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.1269, allocations: 4.375 kB / 473.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.127, allocations: 16.11 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003738/0.1274, allocations: 176.1 kB / 473.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1274, allocations: 4 kB / 473.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/0.1274, allocations: 12 kB / 473.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.87e-05/0.1274, allocations: 8 kB / 473.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003089/0.1278, allocations: 135.8 kB / 473.6 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008153/0.1286, allocations: 0.6482 MB / 474.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003131/0.1289, allocations: 110.6 kB / 474.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.129, allocations: 40.83 kB / 474.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.1291, allocations: 0 / 474.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.1291, allocations: 38.5 kB / 474.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.1291, allocations: 0 / 474.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004269/0.1295, allocations: 141.6 kB / 474.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.1296, allocations: 55.41 kB / 474.6 MB, free: 8.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.1297, allocations: 125.1 kB / 474.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.1297, allocations: 25.7 kB / 474.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.91e-05/0.1298, allocations: 123.8 kB / 474.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.1298, allocations: 23.66 kB / 474.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.915e-05/0.1298, allocations: 37.61 kB / 474.9 MB, free: 8.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.098e-05/0.1299, allocations: 314.8 kB / 475.3 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.1301, allocations: 43.95 kB / 475.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.1302, allocations: 91.64 kB / 475.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002546/0.1305, allocations: 155.8 kB / 475.5 MB, free: 7.738 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1305, allocations: 0 / 475.5 MB, free: 7.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003089/0.1308, allocations: 153.4 kB / 475.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.1308, allocations: 8 kB / 475.7 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1308, allocations: 0 / 475.7 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.1309, allocations: 4.25 kB / 475.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.131, allocations: 47.97 kB / 475.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.131, allocations: 3.938 kB / 475.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.716e-05/0.1311, allocations: 19.83 kB / 475.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.1312, allocations: 8 kB / 475.8 MB, free: 7.492 MB / 350.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.176e-05/0.1313, allocations: 129.8 kB / 475.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.1313, allocations: 7.906 kB / 475.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000309/0.1316, allocations: 125.9 kB / 476 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1316, allocations: 0 / 476 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1316, allocations: 0 / 476 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.1316, allocations: 4 kB / 476 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.1318, allocations: 189.6 kB / 476.2 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1318, allocations: 4 kB / 476.2 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.132, allocations: 35.97 kB / 476.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.132, allocations: 0 / 476.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.132, allocations: 3.938 kB / 476.3 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.132, allocations: 0 / 476.3 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.132, allocations: 0 / 476.3 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/0.1323, allocations: 219.2 kB / 476.5 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.271e-05/0.1324, allocations: 84.95 kB / 476.6 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.1324, allocations: 12 kB / 476.6 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.454e-05/0.1325, allocations: 11.94 kB / 476.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.1326, allocations: 3.984 kB / 476.6 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.1326, allocations: 4 kB / 476.6 MB, free: 6.574 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.123e-05/0.1326, allocations: 91.27 kB / 476.7 MB, free: 6.484 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1326, allocations: 0 / 476.7 MB, free: 6.484 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.1329, allocations: 27.91 kB / 476.7 MB, free: 6.457 MB / 350.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.0001291/0.133, allocations: 103.2 kB / 476.8 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002964/0.1333, allocations: 103.8 kB / 476.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.1333, allocations: 0 / 476.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.1335, allocations: 44.39 kB / 477 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.1337, allocations: 15.94 kB / 477 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004599/0.1342, allocations: 250.7 kB / 477.2 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.1346, allocations: 0.7158 MB / 477.9 MB, free: 5.172 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.92e-05/0.1347, allocations: 28.52 kB / 478 MB, free: 5.145 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.209e-05/0.1347, allocations: 11.44 kB / 478 MB, free: 5.133 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1347, allocations: 0 / 478 MB, free: 5.133 MB / 350.1 MB Notification: Performance of Templates: time 0.003533/0.1383, allocations: 0.9289 MB / 478.9 MB, free: 4.238 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches