Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.002151/0.002151, allocations: 104.4 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.001959/0.00196, 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.47/1.47, 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.2262/0.2262, allocations: 46.1 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 76.94 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1148, allocations: 62.44 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003677/0.1185, allocations: 1.833 MB / 482 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.1198, allocations: 0.6308 MB / 482.6 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.884e-05/0.1199, allocations: 3.938 kB / 482.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002885/0.1202, allocations: 51.73 kB / 482.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001842/0.1204, allocations: 67.58 kB / 482.7 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004639/0.1209, allocations: 127.5 kB / 482.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002824/0.1212, allocations: 222.8 kB / 483.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.312e-05/0.1213, allocations: 32.3 kB / 483.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.1214, allocations: 83.58 kB / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.1216, allocations: 115.4 kB / 483.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.028e-05/0.1216, allocations: 4 kB / 483.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004068/0.122, allocations: 223.7 kB / 483.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.291e-05/0.1221, allocations: 55.69 kB / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.1222, allocations: 95.36 kB / 483.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004398/0.1227, allocations: 327.1 kB / 484 MB, free: 1.285 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.1227, allocations: 0 / 484 MB, free: 1.285 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1227, allocations: 4 kB / 484 MB, free: 1.281 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.1227, allocations: 4 kB / 484 MB, free: 1.277 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.0006752/0.1234, allocations: 0.5266 MB / 484.5 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.1234, allocations: 8.031 kB / 484.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.929e-05/0.1235, allocations: 66.72 kB / 484.6 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001902/0.1254, allocations: 200.3 kB / 484.8 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.1258, allocations: 279.7 kB / 485.1 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.1258, allocations: 12.94 kB / 485.1 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.242e-05/0.1259, allocations: 24.38 kB / 485.1 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009664/0.1268, allocations: 0.4928 MB / 485.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.1269, allocations: 3.984 kB / 485.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.907e-05/0.1269, allocations: 12 kB / 485.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.093e-05/0.127, allocations: 28.55 kB / 485.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.1282, allocations: 0.5798 MB / 486.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002314/0.1306, allocations: 1.169 MB / 487.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00069/0.1313, allocations: 170.4 kB / 487.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003661/0.1316, allocations: 84.77 kB / 487.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.1317, allocations: 0 / 487.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.1317, allocations: 38.56 kB / 487.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.1317, allocations: 4 kB / 487.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.001259/0.133, allocations: 301.1 kB / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.133, allocations: 51.41 kB / 488 MB, free: 13.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003076/0.1333, allocations: 286.4 kB / 488.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.1334, allocations: 25.7 kB / 488.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.1335, allocations: 167.7 kB / 488.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/0.1335, allocations: 31.56 kB / 488.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.1337, allocations: 41.69 kB / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1338, allocations: 330.8 kB / 488.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003916/0.1342, allocations: 87.91 kB / 489 MB, free: 12.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003922/0.1346, allocations: 115.3 kB / 489.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000764/0.1354, allocations: 211.1 kB / 489.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1354, allocations: 0 / 489.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008979/0.1363, allocations: 273 kB / 489.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1363, allocations: 4 kB / 489.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1363, allocations: 0 / 489.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.1363, allocations: 7.984 kB / 489.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006201/0.1426, allocations: 467.3 kB / 490 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002836/0.1454, allocations: 1.941 MB / 492 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004454/0.1459, allocations: 39.66 kB / 492 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.228e-05/0.1459, allocations: 11.98 kB / 492 MB, free: 8.887 MB / 366.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.0001819/0.1461, allocations: 161.8 kB / 492.2 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.964e-05/0.1462, allocations: 19.72 kB / 492.2 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.506e-05/0.1462, allocations: 25.7 kB / 492.2 MB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1463, allocations: 0 / 492.2 MB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1463, allocations: 4 kB / 492.2 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.1463, allocations: 0 / 492.2 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003797/0.1467, allocations: 293.4 kB / 492.5 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1467, allocations: 0 / 492.5 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005918/0.1526, allocations: 455.2 kB / 493 MB, free: 7.891 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.1526, allocations: 0 / 493 MB, free: 7.891 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-05/0.1527, allocations: 7.984 kB / 493 MB, free: 7.883 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002644/0.1553, allocations: 1.941 MB / 494.9 MB, free: 5.871 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1553, allocations: 0 / 494.9 MB, free: 5.871 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008391/0.1562, allocations: 327.5 kB / 495.2 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.1563, allocations: 96.81 kB / 495.3 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.274e-05/0.1563, allocations: 0 / 495.3 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003743/0.1567, allocations: 23.97 kB / 495.3 MB, free: 5.398 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.494e-05/0.1568, allocations: 15.92 kB / 495.4 MB, free: 5.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/0.1568, allocations: 7.922 kB / 495.4 MB, free: 5.375 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002395/0.1571, allocations: 205.9 kB / 495.6 MB, free: 5.172 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.824e-06/0.1571, allocations: 0 / 495.6 MB, free: 5.172 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004035/0.1575, allocations: 71.86 kB / 495.6 MB, free: 5.102 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.001315/0.1588, allocations: 0.8683 MB / 496.5 MB, free: 4.207 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006269/0.1651, allocations: 0.5967 MB / 497.1 MB, free: 3.609 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.1651, allocations: 0 / 497.1 MB, free: 3.609 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005811/0.1709, allocations: 499.4 kB / 497.6 MB, free: 3.121 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/0.1714, allocations: 56.67 kB / 497.6 MB, free: 3.066 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004724/0.1761, allocations: 2.996 MB / 0.4889 GB, free: 15.97 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.1765, allocations: 0.7753 MB / 0.4897 GB, free: 15.17 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001842/0.1766, allocations: 57.84 kB / 0.4897 GB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.1768, allocations: 67.41 kB / 0.4898 GB, free: 15.05 MB / 382.1 MB Notification: Performance of SimCode: time 1.813e-06/0.1768, allocations: 0 / 0.4898 GB, free: 15.05 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02667/0.2035, allocations: 7.837 MB / 0.4974 GB, free: 7.449 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.77, allocations: 12.62 kB / 0.4975 GB, free: 7.438 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches