Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_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.001559/0.001559, allocations: 104 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001922/0.001922, allocations: 209.7 kB / 18.14 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 246.3 MB, free: 9.043 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2682/0.2682, allocations: 46.11 MB / 343.6 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 77.23 kB / 417 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1207, allocations: 62.45 MB / 479.4 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003179/0.1239, allocations: 1.989 MB / 481.4 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.1258, allocations: 1.149 MB / 482.5 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.1259, allocations: 7.938 kB / 482.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002648/0.1262, allocations: 67.7 kB / 482.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.1264, allocations: 63.59 kB / 482.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.1269, allocations: 123.8 kB / 482.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003187/0.1272, allocations: 318.4 kB / 483.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.783e-05/0.1273, allocations: 44.66 kB / 483.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.1275, allocations: 99.39 kB / 483.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.1277, allocations: 123.3 kB / 483.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.1277, allocations: 8 kB / 483.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004783/0.1282, allocations: 315.5 kB / 483.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.805e-05/0.1283, allocations: 55.64 kB / 483.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.1284, allocations: 107.2 kB / 483.9 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005104/0.1289, allocations: 426.4 kB / 484.3 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.1289, allocations: 4 kB / 484.3 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.1289, allocations: 0 / 484.3 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.1289, allocations: 0 / 484.3 MB, free: 0.6953 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0006343/0.1296, allocations: 0.57 MB / 484.8 MB, free: 80 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.1296, allocations: 12.81 kB / 484.9 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.31e-05/0.1297, allocations: 90.64 kB / 484.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.815e-05/0.1298, allocations: 28.56 kB / 485 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.13, allocations: 235.9 kB / 485.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.13, allocations: 24.94 kB / 485.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.13, allocations: 35.98 kB / 485.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006574/0.1307, allocations: 493.4 kB / 485.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.1307, allocations: 3.984 kB / 485.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/0.1308, allocations: 19.94 kB / 485.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.179e-05/0.1308, allocations: 28.98 kB / 485.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006275/0.1314, allocations: 423.7 kB / 486.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001474/0.1329, allocations: 1.189 MB / 487.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.1331, allocations: 74.53 kB / 487.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.1332, allocations: 48.77 kB / 487.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.1333, allocations: 4 kB / 487.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.1333, allocations: 34.56 kB / 487.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 7.534e-06/0.1333, allocations: 0 / 487.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004452/0.1338, allocations: 153.6 kB / 487.7 MB, free: 13.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.1338, allocations: 59.34 kB / 487.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.134, allocations: 166.4 kB / 487.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.134, allocations: 25.7 kB / 488 MB, free: 12.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.1341, allocations: 219.2 kB / 488.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.1341, allocations: 27.64 kB / 488.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.785e-05/0.1342, allocations: 57.61 kB / 488.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.1343, allocations: 322.8 kB / 488.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.1345, allocations: 55.89 kB / 488.6 MB, free: 12.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/0.1347, allocations: 168.3 kB / 488.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003526/0.1351, allocations: 248 kB / 489 MB, free: 11.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.1351, allocations: 4 kB / 489 MB, free: 11.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004321/0.1355, allocations: 249 kB / 489.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1355, allocations: 8 kB / 489.3 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.1355, allocations: 4 kB / 489.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1356, allocations: 4 kB / 489.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003027/0.1359, allocations: 92.45 kB / 489.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009251/0.1368, allocations: 1.781 MB / 491.2 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.137, allocations: 28.03 kB / 491.2 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.137, allocations: 19.98 kB / 491.2 MB, free: 9.281 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * 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.0002536/0.1372, allocations: 177.7 kB / 491.4 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.754e-05/0.1373, allocations: 11.91 kB / 491.4 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005117/0.1378, allocations: 194.3 kB / 491.6 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1378, allocations: 0 / 491.6 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.1378, allocations: 7.984 kB / 491.6 MB, free: 8.883 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1378, allocations: 0 / 491.6 MB, free: 8.883 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003545/0.1382, allocations: 297.5 kB / 491.9 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1382, allocations: 0 / 491.9 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/0.1384, allocations: 67.97 kB / 491.9 MB, free: 8.477 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.1384, allocations: 0 / 491.9 MB, free: 8.477 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.1385, allocations: 7.938 kB / 492 MB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000887/0.1394, allocations: 1.774 MB / 493.7 MB, free: 6.625 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1394, allocations: 3.938 kB / 493.7 MB, free: 6.621 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.1397, allocations: 219.7 kB / 493.9 MB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.498e-05/0.1398, allocations: 88.95 kB / 494 MB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.1398, allocations: 0 / 494 MB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.574e-05/0.1399, allocations: 7.938 kB / 494 MB, free: 6.277 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/0.1399, allocations: 15.92 kB / 494.1 MB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.14, allocations: 4 kB / 494.1 MB, free: 6.258 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.912e-05/0.1401, allocations: 114.3 kB / 494.2 MB, free: 6.148 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1401, allocations: 0 / 494.2 MB, free: 6.148 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004744/0.1405, allocations: 111.5 kB / 494.3 MB, free: 6.039 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.0008157/0.1414, allocations: 0.7903 MB / 495.1 MB, free: 5.223 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005529/0.1419, allocations: 180.8 kB / 495.2 MB, free: 5.047 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1419, allocations: 0 / 495.2 MB, free: 5.047 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002875/0.1422, allocations: 87.94 kB / 495.3 MB, free: 4.961 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.1425, allocations: 12.3 kB / 495.3 MB, free: 4.949 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002867/0.1454, allocations: 2.337 MB / 497.7 MB, free: 2.422 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.1458, allocations: 0.7985 MB / 498.5 MB, free: 1.598 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001936/0.146, allocations: 65.19 kB / 498.5 MB, free: 1.535 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.75e-05/0.1461, allocations: 71.42 kB / 498.6 MB, free: 1.465 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1461, allocations: 0 / 498.6 MB, free: 1.465 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01705/0.1631, allocations: 4.965 MB / 0.4918 GB, free: 12.72 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002657/0.1634, allocations: 325.7 kB / 0.4921 GB, free: 12.33 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.889/2.052, allocations: 2.75 kB / 0.4921 GB, free: 12.33 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW/dp_nominalPressureLossLawDensity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches