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.0009155/0.0009155, allocations: 93.89 kB / 17.35 MB, free: 6.344 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.001132/0.001132, allocations: 172.2 kB / 18.25 MB, free: 5.504 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.385/1.385, allocations: 223.3 MB / 242.3 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1892/0.1892, allocations: 44.25 MB / 337.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003405, allocations: 13.16 kB / 410.5 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1012, allocations: 61.92 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.001905/0.1031, allocations: 1.531 MB / 473.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.1042, allocations: 0.6504 MB / 474.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.769e-05/0.1043, allocations: 4 kB / 474.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002512/0.1045, allocations: 47.73 kB / 474.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.1047, allocations: 71.64 kB / 474.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003056/0.105, allocations: 91.7 kB / 474.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002902/0.1053, allocations: 302.7 kB / 475.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.71e-05/0.1054, allocations: 24.31 kB / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.1055, allocations: 79.53 kB / 475.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.1057, allocations: 119.4 kB / 475.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.1057, allocations: 4 kB / 475.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003522/0.1061, allocations: 211.8 kB / 475.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.793e-05/0.1061, allocations: 55.69 kB / 475.6 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.1063, allocations: 125 kB / 475.7 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003898/0.1067, allocations: 327.1 kB / 476 MB, free: 9.609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1067, allocations: 0 / 476 MB, free: 9.609 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1067, allocations: 0 / 476 MB, free: 9.609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1067, allocations: 4 kB / 476 MB, free: 9.605 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.0005907/0.1073, allocations: 493.6 kB / 476.5 MB, free: 9.078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.1073, allocations: 12.03 kB / 476.5 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.84e-05/0.1074, allocations: 54.73 kB / 476.5 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001814/0.1092, allocations: 208.2 kB / 476.7 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.1095, allocations: 275.9 kB / 477 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.1095, allocations: 24.91 kB / 477 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.052e-05/0.1096, allocations: 16.38 kB / 477.1 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009599/0.1106, allocations: 0.5123 MB / 477.6 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1106, allocations: 0 / 477.6 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.087e-05/0.1106, allocations: 12 kB / 477.6 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.08e-05/0.1107, allocations: 28.53 kB / 477.6 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.1119, allocations: 0.5915 MB / 478.2 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00221/0.1142, allocations: 1.185 MB / 479.4 MB, free: 6.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006747/0.1148, allocations: 170.4 kB / 479.6 MB, free: 5.852 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003617/0.1152, allocations: 96.86 kB / 479.6 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.1152, allocations: 3.984 kB / 479.6 MB, free: 5.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.1153, allocations: 30.56 kB / 479.7 MB, free: 5.711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.813e-06/0.1153, allocations: 4 kB / 479.7 MB, free: 5.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.001278/0.1166, allocations: 313.1 kB / 480 MB, free: 5.395 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.1166, allocations: 55.41 kB / 480 MB, free: 5.328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/0.1169, allocations: 282.5 kB / 480.3 MB, free: 5.043 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.1169, allocations: 29.7 kB / 480.3 MB, free: 5.008 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.1171, allocations: 163.5 kB / 480.5 MB, free: 4.844 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.1171, allocations: 35.56 kB / 480.5 MB, free: 4.809 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.855e-05/0.1172, allocations: 17.72 kB / 480.6 MB, free: 4.785 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1173, allocations: 338.8 kB / 480.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003694/0.1177, allocations: 95.84 kB / 481 MB, free: 4.352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000389/0.1181, allocations: 123.3 kB / 481.1 MB, free: 4.219 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007444/0.1188, allocations: 227.1 kB / 481.3 MB, free: 3.984 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1188, allocations: 0 / 481.3 MB, free: 3.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008868/0.1197, allocations: 277.1 kB / 481.6 MB, free: 3.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.1197, allocations: 8.094 kB / 481.6 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1198, allocations: 0 / 481.6 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.1198, allocations: 4 kB / 481.6 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006058/0.1258, allocations: 459.3 kB / 482.1 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002907/0.1288, allocations: 1.945 MB / 484 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004337/0.1292, allocations: 51.73 kB / 484.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.1292, allocations: 8 kB / 484.1 MB, free: 1.172 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.0002055/0.1295, allocations: 161.7 kB / 484.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.401e-05/0.1295, allocations: 19.81 kB / 484.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.914e-05/0.1296, allocations: 25.7 kB / 484.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.1296, allocations: 4 kB / 484.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1296, allocations: 0 / 484.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1296, allocations: 0 / 484.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003901/0.13, allocations: 293.4 kB / 484.6 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.13, allocations: 0 / 484.6 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005817/0.1359, allocations: 459.3 kB / 485 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.1359, allocations: 0 / 485 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.1359, allocations: 7.984 kB / 485 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002745/0.1387, allocations: 1.945 MB / 487 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.1387, allocations: 3.938 kB / 487 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008837/0.1396, allocations: 335.4 kB / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.425e-05/0.1397, allocations: 96.81 kB / 487.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.963e-05/0.1397, allocations: 4 kB / 487.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003981/0.1401, allocations: 23.97 kB / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.1402, allocations: 11.97 kB / 487.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/0.1402, allocations: 11.92 kB / 487.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000219/0.1405, allocations: 209.9 kB / 487.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1405, allocations: 0 / 487.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003831/0.1409, allocations: 71.84 kB / 487.7 MB, free: 13.37 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.001296/0.1422, allocations: 0.8767 MB / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006158/0.1483, allocations: 0.6084 MB / 489.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1484, allocations: 0 / 489.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005684/0.154, allocations: 499.4 kB / 489.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.1545, allocations: 44.47 kB / 489.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004587/0.1591, allocations: 3.09 MB / 492.8 MB, free: 8.125 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.1594, allocations: 0.7791 MB / 493.6 MB, free: 7.316 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001746/0.1595, allocations: 53.86 kB / 493.6 MB, free: 7.266 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.1597, allocations: 71.41 kB / 493.7 MB, free: 7.195 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1597, allocations: 3.938 kB / 493.7 MB, free: 7.191 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01885/0.1785, allocations: 7.367 MB / 0.4893 GB, free: 128 kB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002435/0.1788, allocations: 296.4 kB / 0.4896 GB, free: 15.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.044/2.222, allocations: 2.969 kB / 0.4896 GB, free: 15.75 MB / 382.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