Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 105.2 kB / 16.27 MB, free: 5.965 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.001746/0.001746, allocations: 187.8 kB / 17.19 MB, free: 5.602 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.39/1.39, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.2085/0.2085, allocations: 43.53 MB / 313.9 MB, free: 0.5273 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.001775/0.001775, allocations: 67.92 kB / 382.9 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1033, allocations: 57.79 MB / 440.7 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002873/0.1063, allocations: 1.671 MB / 442.3 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.1075, allocations: 0.8266 MB / 443.1 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.017e-05/0.1077, allocations: 4 kB / 443.2 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.1079, allocations: 35.83 kB / 443.2 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001813/0.1081, allocations: 63.67 kB / 443.3 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004087/0.1085, allocations: 91.62 kB / 443.3 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.1087, allocations: 163.1 kB / 443.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.492e-05/0.1088, allocations: 17.11 kB / 443.5 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.1089, allocations: 59.77 kB / 443.6 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.1091, allocations: 71.69 kB / 443.6 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.1091, allocations: 4 kB / 443.6 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002803/0.1094, allocations: 163.8 kB / 443.8 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.497e-05/0.1094, allocations: 39.77 kB / 443.8 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.853e-05/0.1095, allocations: 55.69 kB / 443.9 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002852/0.1098, allocations: 211.3 kB / 444.1 MB, free: 3.301 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1098, allocations: 0 / 444.1 MB, free: 3.301 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1098, allocations: 4 kB / 444.1 MB, free: 3.297 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1098, allocations: 0 / 444.1 MB, free: 3.297 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0004945/0.1103, allocations: 462.9 kB / 444.6 MB, free: 2.797 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.1104, allocations: 11.89 kB / 444.6 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.756e-05/0.1104, allocations: 54.72 kB / 444.6 MB, free: 2.723 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005203/0.1109, allocations: 68.67 kB / 444.7 MB, free: 2.656 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.1111, allocations: 208.2 kB / 444.9 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.1111, allocations: 12.38 kB / 444.9 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.1112, allocations: 11.94 kB / 444.9 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003632/0.1115, allocations: 241.5 kB / 445.2 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1116, allocations: 0 / 445.2 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.1116, allocations: 8 kB / 445.2 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.131e-05/0.1116, allocations: 23.7 kB / 445.2 MB, free: 2.117 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003623/0.112, allocations: 219.8 kB / 445.4 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008965/0.1129, allocations: 0.7325 MB / 446.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.1131, allocations: 86.5 kB / 446.2 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.1132, allocations: 44.98 kB / 446.3 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.1133, allocations: 7.984 kB / 446.3 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.1133, allocations: 38.48 kB / 446.3 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.502e-06/0.1133, allocations: 0 / 446.3 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004689/0.1138, allocations: 169.3 kB / 446.5 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/0.1138, allocations: 51.41 kB / 446.5 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.1139, allocations: 192.7 kB / 446.7 MB, free: 468 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.1139, allocations: 29.7 kB / 446.7 MB, free: 432 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.712e-05/0.114, allocations: 135.5 kB / 446.9 MB, free: 292 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.114, allocations: 27.64 kB / 446.9 MB, free: 264 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-05/0.1141, allocations: 33.7 kB / 446.9 MB, free: 224 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.1142, allocations: 322.8 kB / 447.3 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.1143, allocations: 47.89 kB / 447.3 MB, free: 15.85 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/0.1145, allocations: 106.8 kB / 447.4 MB, free: 15.72 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003076/0.1149, allocations: 150.7 kB / 447.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1149, allocations: 0 / 447.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004074/0.1153, allocations: 189.2 kB / 447.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1153, allocations: 4 kB / 447.7 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.1153, allocations: 4 kB / 447.7 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.1153, allocations: 0 / 447.7 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009098/0.1163, allocations: 131.8 kB / 447.9 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/0.1175, allocations: 1.817 MB / 449.7 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.1177, allocations: 23.75 kB / 449.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.1177, allocations: 11.98 kB / 449.7 MB, free: 13.3 MB / 334.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.0001204/0.1178, allocations: 141.7 kB / 449.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/0.1179, allocations: 11.91 kB / 449.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004648/0.1183, allocations: 179 kB / 450 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1184, allocations: 0 / 450 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1184, allocations: 0 / 450 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1184, allocations: 4 kB / 450.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002496/0.1186, allocations: 237.4 kB / 450.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1186, allocations: 0 / 450.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007027/0.1194, allocations: 107.8 kB / 450.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.1194, allocations: 4 kB / 450.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.1194, allocations: 3.938 kB / 450.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001021/0.1204, allocations: 1.778 MB / 452.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.1204, allocations: 4.266 kB / 452.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003598/0.1208, allocations: 247.2 kB / 452.4 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.785e-05/0.1209, allocations: 96.91 kB / 452.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.1209, allocations: 0 / 452.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.1211, allocations: 11.98 kB / 452.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.1211, allocations: 8 kB / 452.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.1211, allocations: 4 kB / 452.5 MB, free: 10.31 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001123/0.1212, allocations: 143.9 kB / 452.7 MB, free: 10.17 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1213, allocations: 0 / 452.7 MB, free: 10.17 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000301/0.1216, allocations: 39.94 kB / 452.7 MB, free: 10.13 MB / 334.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.0007219/0.1223, allocations: 0.7943 MB / 453.5 MB, free: 9.309 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.1235, allocations: 240 kB / 453.7 MB, free: 9.074 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1235, allocations: 0 / 453.7 MB, free: 9.074 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006323/0.1241, allocations: 123.8 kB / 453.9 MB, free: 8.953 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/0.1245, allocations: 39.42 kB / 453.9 MB, free: 8.918 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002611/0.1272, allocations: 2.091 MB / 456 MB, free: 6.711 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.1275, allocations: 0.7397 MB / 456.7 MB, free: 5.945 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001241/0.1276, allocations: 29.41 kB / 456.8 MB, free: 5.918 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.166e-05/0.1277, allocations: 44.2 kB / 456.8 MB, free: 5.875 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1277, allocations: 0 / 456.8 MB, free: 5.875 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02905/0.1568, allocations: 5.026 MB / 461.8 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.01, allocations: 12.7 kB / 461.8 MB, free: 0.8867 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches