Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001092/0.001092, allocations: 104.9 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001121/0.001121, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2081/0.2081, allocations: 46.09 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 78 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1065, allocations: 62.44 MB / 480.1 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003533/0.11, allocations: 1.693 MB / 481.8 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.1116, allocations: 0.8218 MB / 482.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.866e-05/0.1117, allocations: 3.938 kB / 482.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.112, allocations: 43.81 kB / 482.7 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001831/0.1122, allocations: 43.73 kB / 482.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003795/0.1126, allocations: 99.64 kB / 482.8 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.1128, allocations: 151.2 kB / 483 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.374e-05/0.1129, allocations: 17.11 kB / 483 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002213/0.1131, allocations: 71.66 kB / 483.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.1133, allocations: 71.67 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.1133, allocations: 12 kB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003196/0.1137, allocations: 159.8 kB / 483.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.097e-05/0.1137, allocations: 35.84 kB / 483.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.679e-05/0.1138, allocations: 59.61 kB / 483.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003351/0.1142, allocations: 207.6 kB / 483.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1142, allocations: 0 / 483.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1142, allocations: 3.938 kB / 483.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.1142, allocations: 0 / 483.6 MB, free: 1.656 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.0006449/0.1149, allocations: 459 kB / 484.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.1149, allocations: 11.97 kB / 484.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.664e-05/0.115, allocations: 54.72 kB / 484.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005089/0.1155, allocations: 76.61 kB / 484.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.1157, allocations: 208.1 kB / 484.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.1157, allocations: 12.38 kB / 484.4 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.028e-05/0.1158, allocations: 15.94 kB / 484.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004175/0.1162, allocations: 233.5 kB / 484.7 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.1162, allocations: 4 kB / 484.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.1162, allocations: 4 kB / 484.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.144e-05/0.1163, allocations: 19.98 kB / 484.7 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004242/0.1167, allocations: 227.6 kB / 484.9 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.1179, allocations: 0.7286 MB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.1181, allocations: 90.45 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.1182, allocations: 44.81 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.1183, allocations: 0 / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.1183, allocations: 38.5 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 8.51e-07/0.1183, allocations: 0 / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005355/0.1188, allocations: 165.4 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.1189, allocations: 55.41 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.1191, allocations: 191.2 kB / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.1191, allocations: 29.7 kB / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.74e-05/0.1192, allocations: 139.7 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.1192, allocations: 31.64 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.063e-05/0.1193, allocations: 33.7 kB / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.1194, allocations: 318.8 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.1196, allocations: 43.95 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.1198, allocations: 102.8 kB / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003086/0.1201, allocations: 154.7 kB / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1201, allocations: 0 / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003845/0.1205, allocations: 189.5 kB / 487.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.1205, allocations: 14.7 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.1205, allocations: 0 / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1206, allocations: 4 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009063/0.1215, allocations: 119.8 kB / 487.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/0.1227, allocations: 1.821 MB / 489.2 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.1229, allocations: 27.83 kB / 489.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.1229, allocations: 4 kB / 489.2 MB, free: 11.66 MB / 366.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.0001243/0.1231, allocations: 141.8 kB / 489.4 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.078e-05/0.1231, allocations: 15.84 kB / 489.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004529/0.1236, allocations: 182.8 kB / 489.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1236, allocations: 4 kB / 489.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1236, allocations: 0 / 489.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1236, allocations: 0 / 489.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.1239, allocations: 233.5 kB / 489.8 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.1239, allocations: 4 kB / 489.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007134/0.1246, allocations: 103.9 kB / 489.9 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.1246, allocations: 0 / 489.9 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.1246, allocations: 8 kB / 489.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/0.1257, allocations: 1.781 MB / 491.7 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1257, allocations: 0 / 491.7 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004022/0.1261, allocations: 247.5 kB / 491.9 MB, free: 8.805 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.805e-05/0.1262, allocations: 92.86 kB / 492 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/0.1262, allocations: 4 kB / 492 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.1264, allocations: 11.98 kB / 492 MB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.1264, allocations: 7.984 kB / 492 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.1265, allocations: 4 kB / 492 MB, free: 8.668 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001096/0.1266, allocations: 135.9 kB / 492.2 MB, free: 8.535 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1266, allocations: 4 kB / 492.2 MB, free: 8.531 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003301/0.1269, allocations: 47.84 kB / 492.2 MB, free: 8.484 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.0007487/0.1277, allocations: 0.7827 MB / 493 MB, free: 7.676 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001209/0.1289, allocations: 240.1 kB / 493.2 MB, free: 7.441 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.1289, allocations: 3.938 kB / 493.2 MB, free: 7.438 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006659/0.1296, allocations: 119.8 kB / 493.4 MB, free: 7.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.13, allocations: 43.95 kB / 493.4 MB, free: 7.277 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/0.1329, allocations: 2.088 MB / 495.5 MB, free: 5.066 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.1333, allocations: 0.7397 MB / 496.2 MB, free: 4.301 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001666/0.1335, allocations: 41.34 kB / 496.3 MB, free: 4.262 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.469e-05/0.1336, allocations: 39.42 kB / 496.3 MB, free: 4.223 MB / 366.1 MB Notification: Performance of SimCode: time 8.21e-07/0.1336, allocations: 0 / 496.3 MB, free: 4.223 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/0.1571, allocations: 5.032 MB / 0.4896 GB, free: 15.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.27, allocations: 17.75 kB / 0.4896 GB, free: 15.41 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches