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_overall_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.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_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.001502/0.001502, 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.001704/0.001704, 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.405/1.405, allocations: 222.9 MB / 242.2 MB, free: 15.22 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.2207/0.2207, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 58.09 kB / 408.6 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1023, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.00302/0.1054, allocations: 1.829 MB / 471.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003777/0.1092, allocations: 2.855 MB / 474.1 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.1093, allocations: 0 / 474.1 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002396/0.1096, allocations: 47.75 kB / 474.1 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002844/0.1099, allocations: 79.52 kB / 474.2 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001718/0.1116, allocations: 0.7235 MB / 474.9 MB, free: 8.703 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002956/0.1119, allocations: 238.8 kB / 475.1 MB, free: 8.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.45e-05/0.112, allocations: 28.38 kB / 475.2 MB, free: 8.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.1122, allocations: 111.4 kB / 475.3 MB, free: 8.328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/0.1124, allocations: 115.4 kB / 475.4 MB, free: 8.215 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.1124, allocations: 8 kB / 475.4 MB, free: 8.207 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001806/0.1142, allocations: 1.209 MB / 476.6 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.609e-05/0.1143, allocations: 67.69 kB / 476.7 MB, free: 6.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.1144, allocations: 111.2 kB / 476.8 MB, free: 6.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.1156, allocations: 0.9196 MB / 477.7 MB, free: 5.898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1157, allocations: 0 / 477.7 MB, free: 5.898 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1157, allocations: 3.938 kB / 477.7 MB, free: 5.895 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.1157, allocations: 0 / 477.7 MB, free: 5.895 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001023/0.1167, allocations: 0.6669 MB / 478.4 MB, free: 5.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.1168, allocations: 8.031 kB / 478.4 MB, free: 5.172 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001013/0.1169, allocations: 70.72 kB / 478.4 MB, free: 5.094 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.607e-05/0.117, allocations: 32.56 kB / 478.5 MB, free: 5.062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.1172, allocations: 243.1 kB / 478.7 MB, free: 4.785 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.1172, allocations: 24.55 kB / 478.7 MB, free: 4.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.205e-05/0.1173, allocations: 24 kB / 478.8 MB, free: 4.738 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006888/0.118, allocations: 463.3 kB / 479.2 MB, free: 4.281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.118, allocations: 4 kB / 479.2 MB, free: 4.277 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.118, allocations: 15.92 kB / 479.2 MB, free: 4.262 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-05/0.1181, allocations: 48.97 kB / 479.3 MB, free: 4.211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007969/0.1189, allocations: 0.5464 MB / 479.8 MB, free: 3.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001798/0.1207, allocations: 1.315 MB / 481.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000548/0.1213, allocations: 274.4 kB / 481.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.1215, allocations: 96.8 kB / 481.5 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.965e-05/0.1216, allocations: 19.92 kB / 481.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.1216, allocations: 30.56 kB / 481.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.853e-06/0.1216, allocations: 0 / 481.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.000765/0.1224, allocations: 329.9 kB / 481.9 MB, free: 1.469 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.1224, allocations: 55.41 kB / 481.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.1225, allocations: 146 kB / 482.1 MB, free: 1.246 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.1225, allocations: 33.7 kB / 482.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.767e-05/0.1226, allocations: 191.8 kB / 482.3 MB, free: 1.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.082e-05/0.1227, allocations: 91.12 kB / 482.4 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.5e-05/0.1228, allocations: 69.55 kB / 482.5 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.461e-05/0.1229, allocations: 322.8 kB / 482.8 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.1231, allocations: 91.92 kB / 482.9 MB, free: 448 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.1233, allocations: 182.1 kB / 483 MB, free: 228 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004533/0.1238, allocations: 290.2 kB / 483.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1238, allocations: 0 / 483.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005602/0.1244, allocations: 329.2 kB / 483.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.1244, allocations: 12.06 kB / 483.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1244, allocations: 0 / 483.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.1245, allocations: 4 kB / 483.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004832/0.1249, allocations: 119.9 kB / 483.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/0.126, allocations: 2.363 MB / 486.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.1262, allocations: 43.61 kB / 486.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.1262, allocations: 20.27 kB / 486.2 MB, free: 12.92 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001629/0.1264, allocations: 169.7 kB / 486.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.304e-05/0.1265, allocations: 11.91 kB / 486.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007561/0.1272, allocations: 362.4 kB / 486.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.1272, allocations: 4 kB / 486.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.1272, allocations: 0 / 486.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.1273, allocations: 11.92 kB / 486.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003604/0.1276, allocations: 333.3 kB / 487.1 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.1276, allocations: 4 kB / 487.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003947/0.128, allocations: 107.9 kB / 487.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.128, allocations: 0 / 487.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.1281, allocations: 8 kB / 487.2 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001057/0.1291, allocations: 2.364 MB / 489.6 MB, free: 9.414 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1292, allocations: 4.062 kB / 489.6 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005219/0.1297, allocations: 372.4 kB / 489.9 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.591e-05/0.1297, allocations: 88.95 kB / 490 MB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.1298, allocations: 7.984 kB / 490 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.1299, allocations: 8 kB / 490 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.425e-05/0.13, allocations: 23.97 kB / 490 MB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.13, allocations: 16 kB / 490.1 MB, free: 8.871 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.166e-05/0.1301, allocations: 103.2 kB / 490.2 MB, free: 8.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.463e-06/0.1301, allocations: 0 / 490.2 MB, free: 8.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000644/0.1307, allocations: 247.3 kB / 490.4 MB, free: 8.527 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001286/0.132, allocations: 1.142 MB / 491.5 MB, free: 7.355 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008443/0.1329, allocations: 360.3 kB / 491.9 MB, free: 7.004 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1329, allocations: 0 / 491.9 MB, free: 7.004 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004186/0.1333, allocations: 167.8 kB / 492.1 MB, free: 6.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.1337, allocations: 22.61 kB / 492.1 MB, free: 6.824 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003035/0.1368, allocations: 2.569 MB / 494.7 MB, free: 4.105 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.1372, allocations: 0.8026 MB / 495.5 MB, free: 3.277 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003086/0.1375, allocations: 101.7 kB / 495.6 MB, free: 3.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.1376, allocations: 87.41 kB / 495.6 MB, free: 3.094 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1376, allocations: 0 / 495.6 MB, free: 3.094 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02688/0.1645, allocations: 8.647 MB / 0.4925 GB, free: 10.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.4, allocations: 10.91 kB / 0.4925 GB, free: 10.64 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_StraightPipe_dp_overall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_overall_DPMFLOW/dp_overall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches