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_idealGas_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_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_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.001021/0.001021, allocations: 104 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.001176/0.001176, allocations: 192.1 kB / 18.56 MB, free: 4.605 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.379/1.379, 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.2007/0.2007, allocations: 44.18 MB / 336.6 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 56.16 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1067, 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_idealGas_DPMFLOW): time 0.003519/0.1102, allocations: 1.771 MB / 471.2 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.1119, allocations: 0.9737 MB / 472.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.953e-05/0.1121, allocations: 4 kB / 472.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002744/0.1124, allocations: 51.67 kB / 472.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002343/0.1126, allocations: 63.66 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004575/0.1131, allocations: 126.6 kB / 472.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003172/0.1134, allocations: 214.8 kB / 472.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.004e-05/0.1135, allocations: 25.67 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.1137, allocations: 87.56 kB / 472.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.1139, allocations: 99.48 kB / 472.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.827e-05/0.1139, allocations: 8 kB / 472.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004163/0.1144, allocations: 219.6 kB / 473 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.1145, allocations: 55.75 kB / 473.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.1146, allocations: 91.36 kB / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004757/0.1151, allocations: 295.2 kB / 473.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1151, allocations: 3.984 kB / 473.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1151, allocations: 0 / 473.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.1151, allocations: 0 / 473.4 MB, free: 10.19 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0007961/0.1159, allocations: 0.538 MB / 474 MB, free: 9.605 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.116, allocations: 8.031 kB / 474 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.238e-05/0.1161, allocations: 58.73 kB / 474 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008873/0.1169, allocations: 132.5 kB / 474.2 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/0.1173, allocations: 259.8 kB / 474.4 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.1173, allocations: 12.81 kB / 474.4 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.193e-05/0.1173, allocations: 24.12 kB / 474.5 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007659/0.1181, allocations: 441.8 kB / 474.9 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1181, allocations: 3.938 kB / 474.9 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.159e-05/0.1182, allocations: 8 kB / 474.9 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.269e-05/0.1182, allocations: 28.55 kB / 474.9 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006837/0.1189, allocations: 385.9 kB / 475.3 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001949/0.1209, allocations: 1.465 MB / 476.8 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002572/0.1212, allocations: 98.45 kB / 476.9 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.1213, allocations: 52.81 kB / 476.9 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.1214, allocations: 8.078 kB / 476.9 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.1214, allocations: 30.56 kB / 477 MB, free: 6.414 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.1214, allocations: 0 / 477 MB, free: 6.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005791/0.122, allocations: 197.2 kB / 477.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.122, allocations: 59.34 kB / 477.2 MB, free: 6.145 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003239/0.1223, allocations: 338.5 kB / 477.5 MB, free: 5.805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.1224, allocations: 25.7 kB / 477.6 MB, free: 5.773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.1225, allocations: 179.3 kB / 477.7 MB, free: 5.594 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.1225, allocations: 27.64 kB / 477.8 MB, free: 5.566 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.54e-05/0.1226, allocations: 37.7 kB / 477.8 MB, free: 5.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1227, allocations: 334.8 kB / 478.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.1229, allocations: 71.94 kB / 478.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.1232, allocations: 117.9 kB / 478.3 MB, free: 4.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003696/0.1235, allocations: 185.8 kB / 478.5 MB, free: 4.777 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1235, allocations: 0 / 478.5 MB, free: 4.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005137/0.1241, allocations: 245.1 kB / 478.7 MB, free: 4.531 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.1241, allocations: 4 kB / 478.7 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.433e-06/0.1241, allocations: 0 / 478.7 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.1241, allocations: 4 kB / 478.7 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001605/0.1257, allocations: 111.8 kB / 478.9 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001874/0.1276, allocations: 1.844 MB / 480.7 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002968/0.1279, allocations: 35.86 kB / 480.7 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/0.128, allocations: 12 kB / 480.7 MB, free: 2.453 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 16 * 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.0001751/0.1282, allocations: 165.6 kB / 480.9 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.578e-05/0.1282, allocations: 15.81 kB / 480.9 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005545/0.1288, allocations: 207 kB / 481.1 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.1288, allocations: 0 / 481.1 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1288, allocations: 0 / 481.1 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.1288, allocations: 3.984 kB / 481.1 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003407/0.1292, allocations: 281.5 kB / 481.4 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.1292, allocations: 0 / 481.4 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/0.1304, allocations: 99.8 kB / 481.5 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.1304, allocations: 4 kB / 481.5 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.1304, allocations: 4 kB / 481.5 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/0.1316, allocations: 1.789 MB / 483.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.1316, allocations: 0 / 483.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004168/0.132, allocations: 259.1 kB / 483.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.523e-05/0.1321, allocations: 100.8 kB / 483.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.102e-05/0.1321, allocations: 0 / 483.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.1323, allocations: 8.094 kB / 483.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.887e-05/0.1324, allocations: 11.98 kB / 483.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.1324, allocations: 7.938 kB / 483.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002337/0.1327, allocations: 245.9 kB / 483.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1327, allocations: 0 / 483.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003834/0.1331, allocations: 71.84 kB / 484 MB, free: 15.04 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 (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.0008411/0.1339, allocations: 0.8019 MB / 484.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002265/0.1362, allocations: 263.6 kB / 485 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.1362, allocations: 0 / 485 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009645/0.1372, allocations: 111.8 kB / 485.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.1376, allocations: 48.55 kB / 485.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003871/0.1415, allocations: 2.923 MB / 488.1 MB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.1418, allocations: 0.7794 MB / 488.9 MB, free: 9.953 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001679/0.142, allocations: 54.25 kB / 489 MB, free: 9.902 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.1422, allocations: 75.41 kB / 489 MB, free: 9.832 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1422, allocations: 0 / 489 MB, free: 9.832 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02804/0.1702, allocations: 7.659 MB / 496.7 MB, free: 2.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.41, allocations: 13.08 kB / 496.7 MB, free: 2.398 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_idealGas_DPMFLOW/dp_idealGas_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches