Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_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.001148/0.001148, allocations: 107.9 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001204/0.001204, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 246.4 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2482/0.2482, allocations: 46.09 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 71.94 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.115, allocations: 62.45 MB / 479.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003625/0.1187, allocations: 1.747 MB / 481.4 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.1202, allocations: 0.8258 MB / 482.2 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.539e-05/0.1203, allocations: 0 / 482.2 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003388/0.1207, allocations: 31.81 kB / 482.2 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.121, allocations: 55.73 kB / 482.3 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004486/0.1214, allocations: 83.78 kB / 482.4 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002539/0.1217, allocations: 147.2 kB / 482.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.17e-05/0.1217, allocations: 21.11 kB / 482.5 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.122, allocations: 71.64 kB / 482.6 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.1221, allocations: 71.73 kB / 482.7 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.1221, allocations: 7.938 kB / 482.7 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002945/0.1224, allocations: 163.8 kB / 482.8 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.921e-05/0.1225, allocations: 43.83 kB / 482.9 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.287e-05/0.1226, allocations: 55.62 kB / 482.9 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003395/0.123, allocations: 211.5 kB / 483.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.123, allocations: 3.938 kB / 483.1 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.123, allocations: 0 / 483.1 MB, free: 1.969 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.123, allocations: 0 / 483.1 MB, free: 1.969 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.00071/0.1237, allocations: 459 kB / 483.6 MB, free: 1.473 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.1238, allocations: 12.03 kB / 483.6 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.233e-05/0.1238, allocations: 46.73 kB / 483.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005123/0.1243, allocations: 68.69 kB / 483.7 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.1246, allocations: 216.1 kB / 483.9 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.1247, allocations: 12.31 kB / 483.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.438e-05/0.1247, allocations: 15.94 kB / 483.9 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000483/0.1252, allocations: 233.5 kB / 484.2 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1252, allocations: 0 / 484.2 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.66e-05/0.1253, allocations: 4 kB / 484.2 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.308e-05/0.1253, allocations: 16 kB / 484.2 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004577/0.1258, allocations: 231.6 kB / 484.4 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.127, allocations: 0.7208 MB / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.1272, allocations: 98.45 kB / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.1273, allocations: 44.81 kB / 485.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.1274, allocations: 4.141 kB / 485.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.1274, allocations: 38.5 kB / 485.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 3.286e-06/0.1274, allocations: 0 / 485.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005442/0.128, allocations: 169.4 kB / 485.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.128, allocations: 55.41 kB / 485.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.1282, allocations: 185.8 kB / 485.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.1282, allocations: 29.64 kB / 485.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.922e-05/0.1283, allocations: 139.6 kB / 485.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.1284, allocations: 23.66 kB / 485.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.605e-05/0.1284, allocations: 33.7 kB / 485.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1286, allocations: 326.8 kB / 486.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.1287, allocations: 47.95 kB / 486.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.1289, allocations: 101.9 kB / 486.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003194/0.1293, allocations: 158.7 kB / 486.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1293, allocations: 4 kB / 486.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004155/0.1297, allocations: 181.2 kB / 486.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1297, allocations: 8 kB / 486.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.1297, allocations: 400 / 486.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.1298, allocations: 4 kB / 486.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009631/0.1307, allocations: 128 kB / 486.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/0.1321, allocations: 1.817 MB / 488.7 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.1323, allocations: 23.77 kB / 488.7 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.1323, allocations: 8 kB / 488.7 MB, free: 11.98 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 11 * 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.0001504/0.1325, allocations: 146.4 kB / 488.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.18e-05/0.1325, allocations: 19.89 kB / 488.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004903/0.133, allocations: 174.8 kB / 489.1 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.133, allocations: 11.94 kB / 489.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1331, allocations: 0 / 489.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1331, allocations: 3.984 kB / 489.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.1333, allocations: 229.5 kB / 489.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.1334, allocations: 0 / 489.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007444/0.1341, allocations: 107.9 kB / 489.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1341, allocations: 0 / 489.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.1341, allocations: 8 kB / 489.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001195/0.1353, allocations: 1.781 MB / 491.2 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.1354, allocations: 0 / 491.2 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003747/0.1357, allocations: 243.2 kB / 491.4 MB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.375e-05/0.1358, allocations: 97 kB / 491.5 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.1359, allocations: 8 kB / 491.5 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.136, allocations: 8 kB / 491.5 MB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.808e-05/0.1361, allocations: 11.92 kB / 491.6 MB, free: 8.984 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.1361, allocations: 4 kB / 491.6 MB, free: 8.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001158/0.1362, allocations: 141.8 kB / 491.7 MB, free: 8.844 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1362, allocations: 0 / 491.7 MB, free: 8.844 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003398/0.1366, allocations: 43.91 kB / 491.7 MB, free: 8.801 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 (11): * Single equations (assignments): 8 * 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.0007606/0.1373, allocations: 0.7711 MB / 492.5 MB, free: 8.004 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00127/0.1386, allocations: 247.6 kB / 492.8 MB, free: 7.762 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1386, allocations: 384 / 492.8 MB, free: 7.762 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006789/0.1393, allocations: 127.8 kB / 492.9 MB, free: 7.637 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004214/0.1398, allocations: 35.97 kB / 492.9 MB, free: 7.602 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002816/0.1426, allocations: 2.151 MB / 495.1 MB, free: 5.332 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.1429, allocations: 0.7397 MB / 495.8 MB, free: 4.566 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001556/0.1431, allocations: 41.33 kB / 495.8 MB, free: 4.527 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.825e-05/0.1432, allocations: 47.42 kB / 495.9 MB, free: 4.48 MB / 366.1 MB Notification: Performance of SimCode: time 7.61e-07/0.1432, allocations: 0 / 495.9 MB, free: 4.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01875/0.162, allocations: 4.884 MB / 0.489 GB, free: 15.88 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002457/0.1622, allocations: 300.8 kB / 0.4893 GB, free: 15.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.052/2.215, allocations: 4.75 kB / 0.4893 GB, free: 15.49 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches