Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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.001556/0.001556, 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.001305/0.001305, 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.372/1.372, allocations: 222.9 MB / 242.3 MB, free: 15.23 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.231/0.231, allocations: 44.18 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.001301, allocations: 59.19 kB / 408.6 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1083, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003254/0.1116, allocations: 1.809 MB / 471.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.1127, allocations: 0.6347 MB / 471.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.528e-05/0.1128, allocations: 0 / 471.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002871/0.1131, allocations: 55.73 kB / 471.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000176/0.1133, allocations: 71.58 kB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003976/0.1137, allocations: 123.5 kB / 472.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002836/0.114, allocations: 226.8 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.519e-05/0.1141, allocations: 28.31 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.1142, allocations: 83.52 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.1144, allocations: 107.5 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.1144, allocations: 4 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004159/0.1149, allocations: 227.7 kB / 472.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.154e-05/0.115, allocations: 51.7 kB / 472.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.1151, allocations: 99.36 kB / 472.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004874/0.1156, allocations: 327.1 kB / 473.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1156, allocations: 4 kB / 473.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1156, allocations: 4 kB / 473.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.318e-06/0.1156, allocations: 0 / 473.2 MB, free: 10.42 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0007724/0.1164, allocations: 0.5149 MB / 473.7 MB, free: 9.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.1164, allocations: 12.02 kB / 473.7 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.368e-05/0.1165, allocations: 70.7 kB / 473.8 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001881/0.1184, allocations: 208.3 kB / 474 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.1187, allocations: 267.8 kB / 474.3 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.1188, allocations: 12.94 kB / 474.3 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.179e-05/0.1188, allocations: 24.38 kB / 474.3 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009621/0.1198, allocations: 0.5006 MB / 474.8 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1198, allocations: 0 / 474.8 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.951e-05/0.1199, allocations: 15.98 kB / 474.8 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-05/0.1199, allocations: 24.55 kB / 474.8 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.1212, allocations: 0.5876 MB / 475.4 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002154/0.1233, allocations: 1.169 MB / 476.6 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007025/0.1241, allocations: 170.4 kB / 476.8 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003575/0.1244, allocations: 92.73 kB / 476.9 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.1245, allocations: 4 kB / 476.9 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.1245, allocations: 34.5 kB / 476.9 MB, free: 6.516 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.1245, allocations: 0 / 476.9 MB, free: 6.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0013/0.1258, allocations: 305.3 kB / 477.2 MB, free: 6.211 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.1259, allocations: 51.41 kB / 477.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/0.1261, allocations: 282.5 kB / 477.5 MB, free: 5.863 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.1262, allocations: 29.7 kB / 477.5 MB, free: 5.828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.1263, allocations: 171.5 kB / 477.7 MB, free: 5.656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.1263, allocations: 27.64 kB / 477.7 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.063e-05/0.1264, allocations: 33.69 kB / 477.8 MB, free: 5.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.1266, allocations: 326.8 kB / 478.1 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/0.1269, allocations: 99.83 kB / 478.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000386/0.1273, allocations: 115.3 kB / 478.3 MB, free: 5.039 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007419/0.1281, allocations: 207.1 kB / 478.5 MB, free: 4.824 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.1281, allocations: 4 kB / 478.5 MB, free: 4.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008785/0.129, allocations: 265.1 kB / 478.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.129, allocations: 10.59 kB / 478.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.129, allocations: 0 / 478.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.1291, allocations: 4 kB / 478.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006167/0.1352, allocations: 471.2 kB / 479.2 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002957/0.1382, allocations: 1.941 MB / 481.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004357/0.1387, allocations: 47.88 kB / 481.2 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-05/0.1387, allocations: 7.984 kB / 481.2 MB, free: 2.016 MB / 350.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.0001801/0.1389, allocations: 153.7 kB / 481.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.772e-05/0.139, allocations: 23.66 kB / 481.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.299e-05/0.139, allocations: 25.7 kB / 481.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.139, allocations: 0 / 481.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.1391, allocations: 8.094 kB / 481.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1391, allocations: 3.938 kB / 481.4 MB, free: 1.801 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003851/0.1395, allocations: 293.4 kB / 481.7 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1395, allocations: 0 / 481.7 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00581/0.1453, allocations: 455.3 kB / 482.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.1453, allocations: 0 / 482.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/0.1453, allocations: 11.98 kB / 482.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002697/0.148, allocations: 1.941 MB / 484.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1481, allocations: 192 / 484.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008439/0.1489, allocations: 327 kB / 484.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.653e-05/0.149, allocations: 96.81 kB / 484.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.231e-05/0.1491, allocations: 0 / 484.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003589/0.1494, allocations: 23.97 kB / 484.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.125e-05/0.1495, allocations: 11.97 kB / 484.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.1495, allocations: 7.922 kB / 484.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001861/0.1497, allocations: 205.9 kB / 484.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1497, allocations: 0 / 484.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003558/0.1501, allocations: 71.94 kB / 484.9 MB, free: 14.23 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 (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.001214/0.1513, allocations: 0.8679 MB / 485.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006351/0.1577, allocations: 0.6006 MB / 486.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1577, allocations: 0 / 486.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005583/0.1633, allocations: 499.3 kB / 486.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/0.1637, allocations: 48.61 kB / 486.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004911/0.1687, allocations: 2.988 MB / 489.9 MB, free: 9.117 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.169, allocations: 0.779 MB / 490.6 MB, free: 8.312 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001914/0.1692, allocations: 49.92 kB / 490.7 MB, free: 8.258 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.1693, allocations: 67.41 kB / 490.7 MB, free: 8.191 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1693, allocations: 0 / 490.7 MB, free: 8.191 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02884/0.1982, allocations: 7.835 MB / 498.6 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.23, allocations: 15.02 kB / 498.6 MB, free: 0.5938 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches