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_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_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.0009067/0.0009067, allocations: 102.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009411/0.000941, allocations: 185 kB / 16.92 MB, free: 6.691 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.425/1.425, allocations: 205.4 MB / 223.1 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3296/0.3296, allocations: 43.58 MB / 315 MB, free: 9.023 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.0004592/0.0004592, allocations: 12 kB / 384.7 MB, free: 7.758 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.103, allocations: 58.87 MB / 443.6 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.001876/0.105, allocations: 1.532 MB / 445.1 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.106, allocations: 0.6544 MB / 445.8 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.405e-05/0.1061, allocations: 0 / 445.8 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001755/0.1063, allocations: 43.81 kB / 445.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.1065, allocations: 71.58 kB / 445.9 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.1068, allocations: 95.69 kB / 446 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002696/0.1071, allocations: 298.7 kB / 446.3 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.901e-05/0.1071, allocations: 32.28 kB / 446.3 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.986e-05/0.1072, allocations: 83.52 kB / 446.4 MB, free: 9.973 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.1074, allocations: 115.5 kB / 446.5 MB, free: 9.859 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.1074, allocations: 4 kB / 446.5 MB, free: 9.855 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003223/0.1077, allocations: 219.7 kB / 446.7 MB, free: 9.641 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.798e-05/0.1078, allocations: 51.77 kB / 446.7 MB, free: 9.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.259e-05/0.1079, allocations: 125 kB / 446.9 MB, free: 9.461 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003594/0.1082, allocations: 331 kB / 447.2 MB, free: 9.137 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.1083, allocations: 0 / 447.2 MB, free: 9.137 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1083, allocations: 0 / 447.2 MB, free: 9.137 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1083, allocations: 0 / 447.2 MB, free: 9.137 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0004979/0.1088, allocations: 0.4914 MB / 447.7 MB, free: 8.598 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.421e-05/0.1088, allocations: 8.031 kB / 447.7 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.262e-05/0.1089, allocations: 66.73 kB / 447.8 MB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001699/0.1106, allocations: 200.3 kB / 448 MB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.1108, allocations: 275.8 kB / 448.2 MB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.1109, allocations: 12.94 kB / 448.2 MB, free: 8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.797e-05/0.1109, allocations: 24.38 kB / 448.3 MB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008796/0.1118, allocations: 0.5006 MB / 448.8 MB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.1118, allocations: 4 kB / 448.8 MB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.1119, allocations: 8 kB / 448.8 MB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.475e-05/0.1119, allocations: 28.53 kB / 448.8 MB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.1131, allocations: 0.5954 MB / 449.4 MB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00197/0.1151, allocations: 1.193 MB / 450.6 MB, free: 5.551 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006409/0.1157, allocations: 174.4 kB / 450.8 MB, free: 5.371 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003405/0.1161, allocations: 92.77 kB / 450.8 MB, free: 5.277 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.847e-06/0.1161, allocations: 0 / 450.8 MB, free: 5.277 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.1161, allocations: 38.5 kB / 450.9 MB, free: 5.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 8.21e-07/0.1161, allocations: 0 / 450.9 MB, free: 5.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.001162/0.1173, allocations: 317.2 kB / 451.2 MB, free: 4.914 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.1173, allocations: 51.41 kB / 451.2 MB, free: 4.852 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000245/0.1176, allocations: 282.5 kB / 451.5 MB, free: 4.566 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.1176, allocations: 25.7 kB / 451.5 MB, free: 4.535 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.982e-05/0.1177, allocations: 171.7 kB / 451.7 MB, free: 4.363 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.1178, allocations: 23.64 kB / 451.7 MB, free: 4.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.1178, allocations: 17.72 kB / 451.8 MB, free: 4.316 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.94e-05/0.1179, allocations: 334.8 kB / 452.1 MB, free: 3.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003631/0.1183, allocations: 91.91 kB / 452.2 MB, free: 3.891 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003763/0.1187, allocations: 127.3 kB / 452.3 MB, free: 3.754 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007115/0.1194, allocations: 227.1 kB / 452.5 MB, free: 3.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1194, allocations: 4 kB / 452.5 MB, free: 3.516 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008324/0.1202, allocations: 265.3 kB / 452.8 MB, free: 3.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.1203, allocations: 7.984 kB / 452.8 MB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.1203, allocations: 0 / 452.8 MB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.1203, allocations: 4 kB / 452.8 MB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005734/0.126, allocations: 471.2 kB / 453.3 MB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002601/0.1287, allocations: 1.949 MB / 455.2 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004195/0.1291, allocations: 47.66 kB / 455.2 MB, free: 0.7109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.1291, allocations: 7.984 kB / 455.3 MB, free: 0.7031 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * 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.0001783/0.1293, allocations: 169.6 kB / 455.4 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.541e-05/0.1294, allocations: 19.72 kB / 455.4 MB, free: 0.5078 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.286e-05/0.1294, allocations: 29.7 kB / 455.5 MB, free: 484 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.1295, allocations: 0 / 455.5 MB, free: 484 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1295, allocations: 0 / 455.5 MB, free: 484 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1295, allocations: 0 / 455.5 MB, free: 484 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003424/0.1298, allocations: 297.4 kB / 455.8 MB, free: 136 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1298, allocations: 0 / 455.8 MB, free: 136 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1938/0.3236, allocations: 451.5 kB / 456.2 MB, free: 46.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.738e-06/0.3237, allocations: 1.969 kB / 456.2 MB, free: 46.56 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.293e-05/0.3237, allocations: 7.219 kB / 456.2 MB, free: 46.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002389/0.3261, allocations: 1.946 MB / 458.2 MB, free: 44.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3261, allocations: 3.625 kB / 458.2 MB, free: 44.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007706/0.3269, allocations: 332.3 kB / 458.5 MB, free: 44.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.433e-05/0.327, allocations: 98.28 kB / 458.6 MB, free: 44.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.327, allocations: 3.719 kB / 458.6 MB, free: 44.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003622/0.3274, allocations: 23.19 kB / 458.6 MB, free: 44.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.567e-05/0.3274, allocations: 14.2 kB / 458.6 MB, free: 44.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.3275, allocations: 5.922 kB / 458.6 MB, free: 44.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001588/0.3276, allocations: 202.7 kB / 458.8 MB, free: 44.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3276, allocations: 0 / 458.8 MB, free: 44.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003522/0.328, allocations: 80.47 kB / 458.9 MB, free: 44.51 MB / 382.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 (7): * Single equations (assignments): 4 * 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.001045/0.3291, allocations: 0.871 MB / 459.8 MB, free: 43.85 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005958/0.335, allocations: 0.6058 MB / 460.4 MB, free: 43.85 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.3351, allocations: 0 / 460.4 MB, free: 43.85 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005362/0.3404, allocations: 0.4915 MB / 460.9 MB, free: 43.85 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.3409, allocations: 38.02 kB / 460.9 MB, free: 43.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004043/0.3449, allocations: 3.097 MB / 464 MB, free: 42.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001707/0.3451, allocations: 0.774 MB / 464.8 MB, free: 41.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001663/0.3453, allocations: 52.34 kB / 464.8 MB, free: 41.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.3454, allocations: 66.23 kB / 464.9 MB, free: 41.7 MB / 382.1 MB Notification: Performance of SimCode: time 8.71e-07/0.3454, allocations: 2.156 kB / 464.9 MB, free: 41.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01684/0.3622, allocations: 7.355 MB / 472.3 MB, free: 41.1 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001586/0.3624, allocations: 299.2 kB / 472.5 MB, free: 40.72 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.976/2.339, allocations: 4 kB / 472.5 MB, free: 40.72 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches