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.001398/0.001398, allocations: 114.2 kB / 17.98 MB, free: 5.375 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.00137/0.00137, allocations: 197.3 kB / 18.91 MB, free: 4.449 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.316/1.316, allocations: 222.9 MB / 242.6 MB, free: 15.45 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.2258/0.2258, allocations: 44.19 MB / 336.9 MB, free: 2.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.001441, allocations: 68.31 kB / 408.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1082, allocations: 60.82 MB / 469.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003758/0.112, allocations: 1.843 MB / 471.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.1135, allocations: 0.7947 MB / 472 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.1137, allocations: 0 / 472 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002688/0.114, allocations: 39.83 kB / 472.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003233/0.1143, allocations: 71.72 kB / 472.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/0.1146, allocations: 63.73 kB / 472.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002231/0.1148, allocations: 127.5 kB / 472.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.488e-05/0.1149, allocations: 7.984 kB / 472.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.1151, allocations: 71.69 kB / 472.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.1153, allocations: 79.73 kB / 472.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.1153, allocations: 4 kB / 472.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001804/0.1155, allocations: 83.86 kB / 472.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.682e-05/0.1156, allocations: 31.84 kB / 472.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.586e-05/0.1157, allocations: 39.8 kB / 472.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.1159, allocations: 92.03 kB / 472.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1159, allocations: 0 / 472.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1159, allocations: 0 / 472.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.1159, allocations: 0 / 472.7 MB, free: 11.38 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.0006364/0.1166, allocations: 415.1 kB / 473.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.1166, allocations: 15.97 kB / 473.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000399/0.117, allocations: 32.81 kB / 473.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.1172, allocations: 192.2 kB / 473.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.1173, allocations: 8.312 kB / 473.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.1173, allocations: 16.12 kB / 473.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003875/0.1177, allocations: 164.1 kB / 473.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1177, allocations: 7.938 kB / 473.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.1177, allocations: 11.98 kB / 473.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.87e-05/0.1178, allocations: 11.98 kB / 473.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003091/0.1181, allocations: 127.9 kB / 473.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008982/0.119, allocations: 0.6443 MB / 474.4 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000336/0.1193, allocations: 110.7 kB / 474.5 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.1195, allocations: 40.83 kB / 474.5 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.1195, allocations: 4 kB / 474.5 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.1195, allocations: 30.56 kB / 474.5 MB, free: 9.379 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.452e-06/0.1195, allocations: 0 / 474.5 MB, free: 9.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004628/0.12, allocations: 145.4 kB / 474.7 MB, free: 9.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.1201, allocations: 51.41 kB / 474.7 MB, free: 9.168 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.1202, allocations: 128.8 kB / 474.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.1202, allocations: 29.7 kB / 474.9 MB, free: 8.996 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.241e-05/0.1203, allocations: 128 kB / 475 MB, free: 8.863 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.1203, allocations: 27.64 kB / 475 MB, free: 8.836 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.148e-05/0.1204, allocations: 29.62 kB / 475.1 MB, free: 8.801 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1205, allocations: 326.8 kB / 475.4 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.1206, allocations: 31.97 kB / 475.4 MB, free: 8.441 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.1208, allocations: 91.69 kB / 475.5 MB, free: 8.324 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.1211, allocations: 147.5 kB / 475.7 MB, free: 8.152 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1211, allocations: 0 / 475.7 MB, free: 8.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003284/0.1214, allocations: 153.4 kB / 475.8 MB, free: 7.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.1214, allocations: 11.94 kB / 475.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.1215, allocations: 4 kB / 475.8 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1215, allocations: 12.19 kB / 475.8 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.1217, allocations: 43.97 kB / 475.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.1217, allocations: 0 / 475.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.1218, allocations: 19.83 kB / 475.9 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.1218, allocations: 8 kB / 475.9 MB, free: 7.898 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 0.0001088/0.1219, allocations: 129.7 kB / 476 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.122, allocations: 11.89 kB / 476 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003258/0.1223, allocations: 125.9 kB / 476.2 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.1223, allocations: 4 kB / 476.2 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.1223, allocations: 3.984 kB / 476.2 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1223, allocations: 0 / 476.2 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.1226, allocations: 197.6 kB / 476.4 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1226, allocations: 0 / 476.4 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.1227, allocations: 31.92 kB / 476.4 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.187e-06/0.1227, allocations: 0 / 476.4 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.1228, allocations: 7.984 kB / 476.4 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.329e-06/0.1228, allocations: 4 kB / 476.4 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1228, allocations: 0 / 476.4 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/0.1231, allocations: 207.3 kB / 476.6 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.378e-05/0.1232, allocations: 88.95 kB / 476.7 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.1232, allocations: 7.938 kB / 476.7 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.919e-05/0.1233, allocations: 7.984 kB / 476.7 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.505e-05/0.1234, allocations: 11.98 kB / 476.7 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.1234, allocations: 0 / 476.7 MB, free: 6.977 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.051e-05/0.1234, allocations: 95.27 kB / 476.8 MB, free: 6.883 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1235, allocations: 0 / 476.8 MB, free: 6.883 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002776/0.1237, allocations: 23.91 kB / 476.8 MB, free: 6.859 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.000163/0.1239, allocations: 107.7 kB / 476.9 MB, free: 6.746 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003097/0.1242, allocations: 104.3 kB / 477 MB, free: 6.645 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1242, allocations: 0 / 477 MB, free: 6.645 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.1244, allocations: 40.47 kB / 477.1 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.1246, allocations: 11.94 kB / 477.1 MB, free: 6.594 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005583/0.1252, allocations: 320.3 kB / 477.4 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.1255, allocations: 0.708 MB / 478.1 MB, free: 5.512 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.642e-05/0.1256, allocations: 15.44 kB / 478.1 MB, free: 5.496 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1256, allocations: 3.938 kB / 478.1 MB, free: 5.492 MB / 350.1 MB Notification: Performance of Templates: time 0.003289/0.1289, allocations: 1.322 MB / 479.5 MB, free: 4.18 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/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_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