Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 100 kB / 17.63 MB, free: 5.523 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.001645/0.001645, allocations: 192.1 kB / 18.56 MB, free: 4.602 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.298/1.298, allocations: 222.9 MB / 242.3 MB, free: 15.27 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.2107/0.2107, allocations: 44.18 MB / 336.6 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 55.59 kB / 408.6 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09779/0.0989, allocations: 60.83 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003685/0.1026, allocations: 1.663 MB / 471 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.1042, allocations: 0.81 MB / 471.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.05e-05/0.1043, allocations: 0 / 471.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.1045, allocations: 35.83 kB / 471.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001904/0.1047, allocations: 55.73 kB / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003882/0.1051, allocations: 99.61 kB / 472 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002275/0.1054, allocations: 151.2 kB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.243e-05/0.1054, allocations: 9.125 kB / 472.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002327/0.1057, allocations: 71.69 kB / 472.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.1058, allocations: 71.69 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.1059, allocations: 4 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003705/0.1062, allocations: 155.8 kB / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.216e-05/0.1063, allocations: 39.89 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.26e-05/0.1064, allocations: 63.55 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003413/0.1068, allocations: 195.6 kB / 472.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1068, allocations: 4 kB / 472.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1068, allocations: 0 / 472.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1068, allocations: 4 kB / 472.8 MB, free: 10.84 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.000629/0.1074, allocations: 466.9 kB / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1075, allocations: 8.031 kB / 473.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.891e-05/0.1076, allocations: 50.73 kB / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007241/0.1083, allocations: 64.67 kB / 473.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.1086, allocations: 216.1 kB / 473.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.1087, allocations: 8.375 kB / 473.6 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.1087, allocations: 19.92 kB / 473.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005641/0.1093, allocations: 234.5 kB / 473.8 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1093, allocations: 4 kB / 473.8 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.1093, allocations: 4 kB / 473.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.604e-05/0.1094, allocations: 15.98 kB / 473.9 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005956/0.11, allocations: 227.6 kB / 474.1 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001647/0.1116, allocations: 0.7323 MB / 474.8 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004196/0.1121, allocations: 98.42 kB / 474.9 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.1123, allocations: 48.81 kB / 475 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.1123, allocations: 7.938 kB / 475 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.1123, allocations: 42.5 kB / 475 MB, free: 8.414 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.943e-06/0.1123, allocations: 0 / 475 MB, free: 8.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006678/0.113, allocations: 161.6 kB / 475.2 MB, free: 8.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.1131, allocations: 59.33 kB / 475.2 MB, free: 8.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.1133, allocations: 185.9 kB / 475.4 MB, free: 7.988 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.1134, allocations: 29.7 kB / 475.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.1135, allocations: 139.4 kB / 475.6 MB, free: 7.812 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.1135, allocations: 27.64 kB / 475.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.573e-05/0.1136, allocations: 29.72 kB / 475.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1138, allocations: 322.8 kB / 475.9 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.114, allocations: 47.94 kB / 476 MB, free: 7.379 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.1142, allocations: 106 kB / 476.1 MB, free: 7.254 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004274/0.1146, allocations: 154.7 kB / 476.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.1147, allocations: 7.984 kB / 476.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00047/0.1151, allocations: 189.2 kB / 476.4 MB, free: 6.879 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.1152, allocations: 4 kB / 476.4 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1152, allocations: 4 kB / 476.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.1152, allocations: 4 kB / 476.4 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009191/0.1161, allocations: 115.8 kB / 476.6 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.1174, allocations: 1.825 MB / 478.4 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.1176, allocations: 31.8 kB / 478.4 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.1176, allocations: 8 kB / 478.4 MB, free: 4.82 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 initialization (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001222/0.1177, allocations: 137.8 kB / 478.6 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.716e-05/0.1178, allocations: 7.906 kB / 478.6 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004666/0.1182, allocations: 190.8 kB / 478.7 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1183, allocations: 0 / 478.7 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1183, allocations: 0 / 478.7 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.1183, allocations: 4 kB / 478.8 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002747/0.1186, allocations: 233.5 kB / 479 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1186, allocations: 0 / 479 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007187/0.1193, allocations: 103.9 kB / 479.1 MB, free: 4.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.1193, allocations: 0 / 479.1 MB, free: 4.098 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.1193, allocations: 4 kB / 479.1 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/0.1204, allocations: 1.781 MB / 480.9 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.1204, allocations: 4.312 kB / 480.9 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003678/0.1208, allocations: 243.2 kB / 481.1 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.962e-05/0.1208, allocations: 92.86 kB / 481.2 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.1209, allocations: 0 / 481.2 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.121, allocations: 11.98 kB / 481.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.1211, allocations: 4 kB / 481.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.1211, allocations: 7.984 kB / 481.2 MB, free: 1.852 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001477/0.1213, allocations: 152.1 kB / 481.4 MB, free: 1.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1213, allocations: 0 / 481.4 MB, free: 1.703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003667/0.1216, allocations: 39.91 kB / 481.4 MB, free: 1.664 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008884/0.1225, allocations: 0.7825 MB / 482.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.124, allocations: 240.1 kB / 482.4 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.124, allocations: 0 / 482.4 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006579/0.1246, allocations: 123.8 kB / 482.5 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004701/0.1251, allocations: 48.38 kB / 482.6 MB, free: 460 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003003/0.1281, allocations: 2.077 MB / 484.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.1285, allocations: 0.7512 MB / 485.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001683/0.1287, allocations: 33.41 kB / 485.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.1288, allocations: 43.42 kB / 485.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of SimCode: time 1.733e-06/0.1288, allocations: 0 / 485.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02462/0.1534, allocations: 5.025 MB / 490.5 MB, free: 8.613 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/12.61, allocations: 11.95 kB / 490.5 MB, free: 8.605 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches