Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_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.001134/0.001134, allocations: 99.08 kB / 16.27 MB, free: 6.344 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.00119/0.00119, allocations: 193.8 kB / 17.2 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2161/0.2161, allocations: 43.53 MB / 313.9 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 69 kB / 382.9 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1127, allocations: 57.78 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.003165/0.116, allocations: 1.823 MB / 442.5 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00195/0.118, allocations: 1.384 MB / 443.8 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.1181, allocations: 3.938 kB / 443.9 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003354/0.1185, allocations: 55.67 kB / 443.9 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002719/0.1187, allocations: 83.56 kB / 444 MB, free: 3.434 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004733/0.1192, allocations: 219.1 kB / 444.2 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003564/0.1196, allocations: 401.8 kB / 444.6 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.502e-05/0.1197, allocations: 44.72 kB / 444.6 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.1199, allocations: 151.1 kB / 444.8 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.1201, allocations: 187.1 kB / 445 MB, free: 2.449 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.295e-05/0.1202, allocations: 8 kB / 445 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006539/0.1208, allocations: 463 kB / 445.4 MB, free: 1.988 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001413/0.121, allocations: 131.4 kB / 445.6 MB, free: 1.859 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.1211, allocations: 190.6 kB / 445.7 MB, free: 1.672 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005839/0.1217, allocations: 0.6111 MB / 446.4 MB, free: 1.059 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1217, allocations: 0 / 446.4 MB, free: 1.059 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1217, allocations: 0 / 446.4 MB, free: 1.059 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.1218, allocations: 4 kB / 446.4 MB, free: 1.055 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.00107/0.1228, allocations: 0.772 MB / 447.1 MB, free: 240 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.1229, allocations: 8.031 kB / 447.1 MB, free: 232 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000115/0.123, allocations: 106.7 kB / 447.2 MB, free: 116 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.1231, allocations: 56.22 kB / 447.3 MB, free: 60 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000504/0.1236, allocations: 316.4 kB / 447.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.532e-05/0.1237, allocations: 33.38 kB / 447.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.87e-05/0.1238, allocations: 51.91 kB / 447.7 MB, free: 15.63 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009928/0.1248, allocations: 0.6992 MB / 448.4 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.1248, allocations: 0 / 448.4 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.958e-05/0.1248, allocations: 16 kB / 448.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.512e-05/0.1249, allocations: 61.27 kB / 448.5 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.126, allocations: 0.7195 MB / 449.2 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002544/0.1285, allocations: 1.708 MB / 450.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008007/0.1293, allocations: 356.8 kB / 451.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/0.1296, allocations: 145.2 kB / 451.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.813e-05/0.1297, allocations: 12.2 kB / 451.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.1297, allocations: 42.73 kB / 451.4 MB, free: 11.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 1.483e-06/0.1297, allocations: 0 / 451.4 MB, free: 11.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001144/0.1309, allocations: 498.7 kB / 451.9 MB, free: 11.24 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.1309, allocations: 51.41 kB / 452 MB, free: 11.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004725/0.1314, allocations: 453.5 kB / 452.4 MB, free: 10.73 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.1314, allocations: 33.7 kB / 452.4 MB, free: 10.69 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/0.1317, allocations: 263.5 kB / 452.7 MB, free: 10.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.771e-05/0.1317, allocations: 90.66 kB / 452.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.1319, allocations: 89.53 kB / 452.9 MB, free: 10.24 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.132, allocations: 350.8 kB / 453.2 MB, free: 9.891 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002601/0.1323, allocations: 139.9 kB / 453.4 MB, free: 9.754 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003923/0.1327, allocations: 257.3 kB / 453.6 MB, free: 9.453 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006623/0.1334, allocations: 429.3 kB / 454 MB, free: 8.984 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.1334, allocations: 7.938 kB / 454 MB, free: 8.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008055/0.1342, allocations: 481.8 kB / 454.5 MB, free: 8.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.1342, allocations: 8 kB / 454.5 MB, free: 8.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.1342, allocations: 4 kB / 454.5 MB, free: 8.488 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.1343, allocations: 4 kB / 454.5 MB, free: 8.484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005904/0.1348, allocations: 159.9 kB / 454.7 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001927/0.1368, allocations: 3.614 MB / 458.3 MB, free: 4.574 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002775/0.1371, allocations: 51.38 kB / 458.3 MB, free: 4.523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.596e-05/0.1371, allocations: 31.86 kB / 458.4 MB, free: 4.492 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002519/0.1374, allocations: 229.7 kB / 458.6 MB, free: 4.258 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.312e-05/0.1375, allocations: 35.53 kB / 458.6 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/0.1386, allocations: 0.5317 MB / 459.2 MB, free: 3.688 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.1387, allocations: 4 kB / 459.2 MB, free: 3.684 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.1387, allocations: 0 / 459.2 MB, free: 3.684 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.1387, allocations: 4 kB / 459.2 MB, free: 3.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006639/0.1394, allocations: 453 kB / 459.6 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.1394, allocations: 0 / 459.6 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005616/0.14, allocations: 139.9 kB / 459.8 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/0.14, allocations: 0 / 459.8 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.307e-05/0.14, allocations: 19.98 kB / 459.8 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002519/0.1425, allocations: 3.598 MB / 463.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1426, allocations: 4.062 kB / 463.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.1437, allocations: 0.6673 MB / 464 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002084/0.144, allocations: 156.5 kB / 464.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.143e-05/0.144, allocations: 4 kB / 464.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.1442, allocations: 23.86 kB / 464.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.007e-05/0.1443, allocations: 28.03 kB / 464.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.658e-05/0.1444, allocations: 16 kB / 464.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003575/0.1447, allocations: 343.1 kB / 464.6 MB, free: 14.03 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1447, allocations: 0 / 464.6 MB, free: 14.03 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005763/0.1453, allocations: 163.6 kB / 464.8 MB, free: 13.87 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * 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 (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001801/0.1471, allocations: 1.282 MB / 466 MB, free: 12.56 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001313/0.1485, allocations: 495.7 kB / 466.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1485, allocations: 0.9375 kB / 466.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006387/0.1491, allocations: 271.6 kB / 466.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004848/0.1496, allocations: 44.25 kB / 466.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006396/0.156, allocations: 4.983 MB / 471.8 MB, free: 6.617 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004921/0.1566, allocations: 0.9054 MB / 472.7 MB, free: 5.688 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003938/0.157, allocations: 143 kB / 472.9 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002483/0.1572, allocations: 167.4 kB / 473 MB, free: 5.379 MB / 350.1 MB Notification: Performance of SimCode: time 1.172e-06/0.1572, allocations: 0 / 473 MB, free: 5.379 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03696/0.1942, allocations: 11.03 MB / 484.1 MB, free: 10.37 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.78, allocations: 2.594 kB / 484.1 MB, free: 10.37 MB / 366.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_thickEdgedOverall_DPMFLOW/dp_thickEdgedOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches