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.001047/0.001047, allocations: 103.7 kB / 17.63 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001185/0.001185, allocations: 208.6 kB / 18.58 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1993/0.1993, allocations: 46.09 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 73.84 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1084, allocations: 62.44 MB / 480.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.002789/0.1112, allocations: 1.83 MB / 482 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009843/0.1122, allocations: 0.6269 MB / 482.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.618e-05/0.1122, allocations: 4 kB / 482.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000242/0.1125, allocations: 47.67 kB / 482.7 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.1127, allocations: 75.58 kB / 482.7 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.113, allocations: 115.5 kB / 482.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002287/0.1132, allocations: 234.7 kB / 483.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.055e-05/0.1133, allocations: 32.28 kB / 483.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.016e-05/0.1134, allocations: 83.58 kB / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.1135, allocations: 111.3 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.1136, allocations: 8 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003471/0.1139, allocations: 223.7 kB / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.699e-05/0.114, allocations: 59.7 kB / 483.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.063e-05/0.1141, allocations: 87.36 kB / 483.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004034/0.1145, allocations: 335.1 kB / 484 MB, free: 1.297 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1145, allocations: 0 / 484 MB, free: 1.297 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1145, allocations: 4 kB / 484 MB, free: 1.293 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1145, allocations: 0 / 484 MB, free: 1.293 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.0006369/0.1152, allocations: 0.5266 MB / 484.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.1152, allocations: 8.031 kB / 484.5 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.146e-05/0.1153, allocations: 62.72 kB / 484.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001751/0.117, allocations: 200.3 kB / 484.8 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.1173, allocations: 275.8 kB / 485.1 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.1174, allocations: 20.94 kB / 485.1 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.287e-05/0.1174, allocations: 16.38 kB / 485.1 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009164/0.1183, allocations: 0.5006 MB / 485.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.1184, allocations: 4 kB / 485.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.512e-05/0.1184, allocations: 8 kB / 485.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.781e-05/0.1184, allocations: 24.55 kB / 485.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.1197, allocations: 0.5837 MB / 486.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002042/0.1217, allocations: 1.162 MB / 487.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006836/0.1224, allocations: 174.3 kB / 487.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003602/0.1228, allocations: 88.75 kB / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.1228, allocations: 0 / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.1229, allocations: 42.55 kB / 487.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.1229, allocations: 0 / 487.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.001273/0.1241, allocations: 293.1 kB / 488 MB, free: 13.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.1242, allocations: 51.41 kB / 488 MB, free: 13.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.1244, allocations: 294.4 kB / 488.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.1245, allocations: 29.7 kB / 488.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.892e-05/0.1246, allocations: 167.6 kB / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.1246, allocations: 23.66 kB / 488.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.895e-05/0.1247, allocations: 41.69 kB / 488.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1248, allocations: 334.8 kB / 488.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003682/0.1252, allocations: 79.91 kB / 489 MB, free: 12.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003943/0.1256, allocations: 123.3 kB / 489.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007524/0.1264, allocations: 219.1 kB / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.1264, allocations: 0 / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008526/0.1273, allocations: 261.1 kB / 489.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.1273, allocations: 10.5 kB / 489.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.1273, allocations: 3.984 kB / 489.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.1273, allocations: 0 / 489.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005854/0.1332, allocations: 463.4 kB / 490 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002633/0.1358, allocations: 1.949 MB / 492 MB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000376/0.1362, allocations: 43.69 kB / 492 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.1362, allocations: 4 kB / 492 MB, free: 8.91 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.0001527/0.1364, allocations: 161.8 kB / 492.2 MB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.992e-05/0.1365, allocations: 19.72 kB / 492.2 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.92e-05/0.1365, allocations: 33.7 kB / 492.2 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.1365, allocations: 0 / 492.2 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1365, allocations: 0 / 492.2 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1366, allocations: 0 / 492.2 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000316/0.1369, allocations: 293.4 kB / 492.5 MB, free: 8.355 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1369, allocations: 0 / 492.5 MB, free: 8.355 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005729/0.1426, allocations: 459.2 kB / 493 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.1426, allocations: 0 / 493 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.1427, allocations: 7.984 kB / 493 MB, free: 7.898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002696/0.1454, allocations: 1.941 MB / 494.9 MB, free: 5.887 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1454, allocations: 4 kB / 494.9 MB, free: 5.883 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008647/0.1463, allocations: 319.2 kB / 495.2 MB, free: 5.555 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.317e-05/0.1464, allocations: 96.81 kB / 495.3 MB, free: 5.441 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.34e-05/0.1464, allocations: 4 kB / 495.3 MB, free: 5.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003775/0.1468, allocations: 23.97 kB / 495.3 MB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.265e-05/0.1469, allocations: 7.984 kB / 495.4 MB, free: 5.406 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.1469, allocations: 15.86 kB / 495.4 MB, free: 5.391 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002151/0.1471, allocations: 205.9 kB / 495.6 MB, free: 5.188 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1471, allocations: 3.938 kB / 495.6 MB, free: 5.184 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003596/0.1475, allocations: 68.02 kB / 495.6 MB, free: 5.117 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.001268/0.1488, allocations: 0.8682 MB / 496.5 MB, free: 4.223 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006182/0.155, allocations: 0.5967 MB / 497.1 MB, free: 3.625 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.155, allocations: 0 / 497.1 MB, free: 3.625 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005584/0.1606, allocations: 499.4 kB / 497.6 MB, free: 3.137 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/0.1611, allocations: 51.28 kB / 497.6 MB, free: 3.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004901/0.166, allocations: 2.995 MB / 0.4889 GB, free: 15.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.1664, allocations: 0.7714 MB / 0.4897 GB, free: 15.19 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001727/0.1666, allocations: 61.97 kB / 0.4897 GB, free: 15.13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.1667, allocations: 67.41 kB / 0.4898 GB, free: 15.06 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1667, allocations: 0 / 0.4898 GB, free: 15.06 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02761/0.1943, allocations: 7.832 MB / 0.4974 GB, free: 7.469 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/10.99, allocations: 16.19 kB / 0.4974 GB, free: 7.457 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches