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_volumeFlowRate_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_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_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.00112/0.00112, allocations: 104.2 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.00115/0.00115, allocations: 191.9 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.311/1.311, 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.1962/0.1962, allocations: 44.17 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 64.33 kB / 408.6 MB, free: 27.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1097, allocations: 60.82 MB / 469.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002945/0.1127, allocations: 1.643 MB / 471 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.1142, allocations: 0.8763 MB / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.454e-05/0.1143, allocations: 0 / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002653/0.1145, allocations: 35.83 kB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001727/0.1147, allocations: 51.75 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004287/0.1152, allocations: 127.5 kB / 472.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000196/0.1154, allocations: 139.3 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.48e-05/0.1154, allocations: 25.42 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.155e-05/0.1155, allocations: 55.72 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.1157, allocations: 67.69 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.1157, allocations: 4 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003978/0.1161, allocations: 207.7 kB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.497e-05/0.1162, allocations: 47.77 kB / 472.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.668e-05/0.1163, allocations: 51.67 kB / 472.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003645/0.1166, allocations: 247.4 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1166, allocations: 0 / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1167, allocations: 0 / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1167, allocations: 4 kB / 472.9 MB, free: 10.65 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006714/0.1173, allocations: 467 kB / 473.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.1174, allocations: 12.03 kB / 473.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.26e-05/0.1175, allocations: 50.67 kB / 473.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00117/0.1186, allocations: 116.5 kB / 473.6 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.1189, allocations: 228 kB / 473.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.1189, allocations: 12.31 kB / 473.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.1189, allocations: 16.38 kB / 473.8 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006413/0.1196, allocations: 325.4 kB / 474.1 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.1196, allocations: 0 / 474.1 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.1196, allocations: 8 kB / 474.2 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.418e-05/0.1197, allocations: 19.98 kB / 474.2 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007617/0.1205, allocations: 319.6 kB / 474.5 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.122, allocations: 0.8297 MB / 475.3 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007494/0.1227, allocations: 218.3 kB / 475.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000293/0.123, allocations: 88.81 kB / 475.6 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.1231, allocations: 4 kB / 475.6 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.1231, allocations: 34.59 kB / 475.7 MB, free: 7.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.1231, allocations: 0 / 475.7 MB, free: 7.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.001043/0.1242, allocations: 293.2 kB / 475.9 MB, free: 7.438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.1242, allocations: 55.41 kB / 476 MB, free: 7.371 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.1244, allocations: 193.8 kB / 476.2 MB, free: 7.172 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.1244, allocations: 25.7 kB / 476.2 MB, free: 7.141 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.529e-05/0.1245, allocations: 131.6 kB / 476.3 MB, free: 7.008 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.343e-05/0.1246, allocations: 43.39 kB / 476.4 MB, free: 6.965 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.01e-05/0.1247, allocations: 49.67 kB / 476.4 MB, free: 6.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.1249, allocations: 326.8 kB / 476.7 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002902/0.1252, allocations: 83.89 kB / 476.8 MB, free: 6.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003172/0.1255, allocations: 138.8 kB / 477 MB, free: 6.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005742/0.1261, allocations: 219 kB / 477.2 MB, free: 6.102 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1261, allocations: 3.938 kB / 477.2 MB, free: 6.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007219/0.1268, allocations: 277 kB / 477.5 MB, free: 5.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.1269, allocations: 8 kB / 477.5 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1269, allocations: 3.938 kB / 477.5 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.1269, allocations: 4 kB / 477.5 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004275/0.1273, allocations: 79.86 kB / 477.5 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009152/0.1283, allocations: 1.785 MB / 479.3 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.1285, allocations: 23.83 kB / 479.4 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.1285, allocations: 12.27 kB / 479.4 MB, free: 3.836 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 (17): * Single equations (assignments): 14 * 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.0001525/0.1287, allocations: 145.8 kB / 479.5 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.553e-05/0.1287, allocations: 23.73 kB / 479.5 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008009/0.1295, allocations: 270.8 kB / 479.8 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1296, allocations: 0 / 479.8 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.1296, allocations: 4 kB / 479.8 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1296, allocations: 0 / 479.8 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002804/0.1299, allocations: 257.5 kB / 480.1 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1299, allocations: 0 / 480.1 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003574/0.1302, allocations: 67.88 kB / 480.1 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.1303, allocations: 0 / 480.1 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.1303, allocations: 15.97 kB / 480.1 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008924/0.1312, allocations: 1.785 MB / 481.9 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1312, allocations: 288 / 481.9 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007315/0.1319, allocations: 331.1 kB / 482.2 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.839e-05/0.132, allocations: 85.02 kB / 482.3 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.733e-05/0.132, allocations: 0 / 482.3 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.1323, allocations: 15.98 kB / 482.3 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.456e-05/0.1323, allocations: 11.97 kB / 482.4 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/0.1323, allocations: 11.98 kB / 482.4 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001087/0.1325, allocations: 140.2 kB / 482.5 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1325, allocations: 0 / 482.5 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003672/0.1328, allocations: 67.83 kB / 482.6 MB, free: 480 kB / 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 (10): * Single equations (assignments): 7 * 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.001117/0.134, allocations: 0.8722 MB / 483.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008801/0.1349, allocations: 244.1 kB / 483.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.1349, allocations: 8 kB / 483.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004651/0.1353, allocations: 131.8 kB / 483.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.1356, allocations: 7.656 kB / 483.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003643/0.1393, allocations: 2.329 MB / 486.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.1396, allocations: 0.7436 MB / 486.9 MB, free: 11.97 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002173/0.1398, allocations: 68.97 kB / 487 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.14, allocations: 55.39 kB / 487 MB, free: 11.85 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.14, allocations: 0 / 487 MB, free: 11.85 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02433/0.1643, allocations: 4.756 MB / 491.8 MB, free: 7.301 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.29, allocations: 20.09 kB / 491.8 MB, free: 7.285 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0002 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches