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.0009142/0.000914, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001218/0.001218, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.7 MB / 246.8 MB, free: 9.688 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2362/0.2362, allocations: 46.18 MB / 345.2 MB, free: 11.2 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002614/0.0002613, allocations: 8 kB / 419.6 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1195, allocations: 63.57 MB / 483.2 MB, free: 4.027 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002029/0.1216, allocations: 1.408 MB / 484.6 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.1231, allocations: 0.8258 MB / 485.4 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.758e-05/0.1231, allocations: 4 kB / 485.4 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002376/0.1234, allocations: 31.83 kB / 485.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.1236, allocations: 51.73 kB / 485.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.1239, allocations: 75.8 kB / 485.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000233/0.1241, allocations: 219.1 kB / 485.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.744e-05/0.1242, allocations: 13.11 kB / 485.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002045/0.1244, allocations: 67.66 kB / 485.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.1246, allocations: 79.67 kB / 486 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.1246, allocations: 0 / 486 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003189/0.1249, allocations: 159.8 kB / 486.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.693e-05/0.125, allocations: 43.81 kB / 486.2 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.359e-05/0.1251, allocations: 85.33 kB / 486.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003323/0.1255, allocations: 199.6 kB / 486.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1255, allocations: 0 / 486.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1255, allocations: 3.938 kB / 486.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1255, allocations: 0 / 486.5 MB, free: 0.7578 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.0005357/0.126, allocations: 443 kB / 486.9 MB, free: 284 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.1261, allocations: 8.875 kB / 486.9 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.423e-05/0.1262, allocations: 50.73 kB / 486.9 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005076/0.1267, allocations: 64.67 kB / 487 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.1269, allocations: 212.2 kB / 487.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.1269, allocations: 8.375 kB / 487.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.127, allocations: 15.94 kB / 487.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004754/0.1275, allocations: 241.5 kB / 487.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1275, allocations: 0 / 487.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.1275, allocations: 4 kB / 487.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.598e-05/0.1275, allocations: 15.98 kB / 487.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00051/0.1281, allocations: 243.6 kB / 487.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.1291, allocations: 0.7247 MB / 488.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.1293, allocations: 98.45 kB / 488.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.1295, allocations: 48.81 kB / 488.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.1295, allocations: 0 / 488.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.1296, allocations: 38.5 kB / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.1296, allocations: 0 / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005022/0.1301, allocations: 189.5 kB / 488.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.1301, allocations: 59.28 kB / 488.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.1303, allocations: 197.8 kB / 489.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.1303, allocations: 25.7 kB / 489.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.624e-05/0.1304, allocations: 139.6 kB / 489.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.1304, allocations: 19.66 kB / 489.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.1305, allocations: 17.7 kB / 489.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.1306, allocations: 326.8 kB / 489.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.1307, allocations: 51.95 kB / 489.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.1309, allocations: 110.8 kB / 489.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003224/0.1312, allocations: 167 kB / 489.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1313, allocations: 0 / 489.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003866/0.1316, allocations: 193.3 kB / 490.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.1317, allocations: 7.938 kB / 490.1 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.1317, allocations: 7.984 kB / 490.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.1317, allocations: 0 / 490.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008326/0.1325, allocations: 108.1 kB / 490.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/0.1337, allocations: 1.813 MB / 492 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.1338, allocations: 23.81 kB / 492.1 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.1339, allocations: 11.92 kB / 492.1 MB, free: 10.75 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.00012/0.134, allocations: 146.5 kB / 492.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.837e-05/0.134, allocations: 15.81 kB / 492.2 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004495/0.1345, allocations: 194.8 kB / 492.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.1345, allocations: 0 / 492.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1345, allocations: 0 / 492.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1345, allocations: 0 / 492.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.1347, allocations: 233.5 kB / 492.6 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1348, allocations: 4 kB / 492.6 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006746/0.1354, allocations: 95.88 kB / 492.7 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1355, allocations: 0 / 492.7 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.1355, allocations: 8 kB / 492.8 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008751/0.1364, allocations: 1.774 MB / 494.5 MB, free: 8.156 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.1364, allocations: 3.984 kB / 494.5 MB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003565/0.1367, allocations: 259.4 kB / 494.8 MB, free: 7.883 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/0.1368, allocations: 92.94 kB / 494.9 MB, free: 7.773 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.1368, allocations: 0 / 494.9 MB, free: 7.773 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.137, allocations: 15.98 kB / 494.9 MB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/0.137, allocations: 8 kB / 494.9 MB, free: 7.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.137, allocations: 4 kB / 494.9 MB, free: 7.746 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001012/0.1371, allocations: 141.8 kB / 495 MB, free: 7.609 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1371, allocations: 0 / 495 MB, free: 7.609 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002952/0.1374, allocations: 43.91 kB / 495.1 MB, free: 7.566 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.0006476/0.1381, allocations: 0.7906 MB / 495.9 MB, free: 6.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001168/0.1393, allocations: 236.1 kB / 496.1 MB, free: 6.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1393, allocations: 0 / 496.1 MB, free: 6.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006215/0.1399, allocations: 111.8 kB / 496.2 MB, free: 6.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.1403, allocations: 39.88 kB / 496.2 MB, free: 6.371 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/0.1427, allocations: 2.186 MB / 498.4 MB, free: 4.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.143, allocations: 0.7397 MB / 499.2 MB, free: 3.305 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001296/0.1431, allocations: 37.34 kB / 499.2 MB, free: 3.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.124e-05/0.1432, allocations: 39.42 kB / 499.3 MB, free: 3.23 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1432, allocations: 0 / 499.3 MB, free: 3.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01567/0.1589, allocations: 4.647 MB / 0.4921 GB, free: 14.85 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002173/0.1591, allocations: 300.5 kB / 0.4924 GB, free: 14.47 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.816/1.976, allocations: 2.031 kB / 0.4924 GB, free: 14.47 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