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.001114/0.001114, allocations: 95 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.001231/0.001231, allocations: 206.1 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.373/1.373, allocations: 227.7 MB / 246.8 MB, free: 11.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.241/0.241, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002515/0.0002515, allocations: 8 kB / 419.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1168, allocations: 63.55 MB / 483.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.002342/0.1191, allocations: 1.638 MB / 484.8 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.1212, allocations: 1.149 MB / 486 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.1214, allocations: 4 kB / 486 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003724/0.1217, allocations: 63.67 kB / 486.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000294/0.122, allocations: 67.59 kB / 486.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005212/0.1226, allocations: 123.8 kB / 486.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004028/0.123, allocations: 322.3 kB / 486.6 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.912e-05/0.1231, allocations: 40.67 kB / 486.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003027/0.1234, allocations: 103.4 kB / 486.7 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.1236, allocations: 123.3 kB / 486.8 MB, free: 424 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.1236, allocations: 8 kB / 486.8 MB, free: 416 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004859/0.1241, allocations: 315.5 kB / 487.1 MB, free: 100 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.555e-05/0.1242, allocations: 51.7 kB / 487.2 MB, free: 48 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.1244, allocations: 140.9 kB / 487.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005388/0.1249, allocations: 418.5 kB / 487.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1249, allocations: 0 / 487.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1249, allocations: 0 / 487.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.125, allocations: 8 kB / 487.7 MB, free: 15.48 MB / 366.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.0006638/0.1256, allocations: 0.5191 MB / 488.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.1257, allocations: 12.88 kB / 488.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.991e-05/0.1258, allocations: 74.72 kB / 488.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.316e-05/0.1258, allocations: 32.56 kB / 488.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.1261, allocations: 239.9 kB / 488.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.1261, allocations: 24.94 kB / 488.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.534e-05/0.1262, allocations: 36 kB / 488.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007907/0.127, allocations: 0.4935 MB / 489.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.127, allocations: 0 / 489.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.947e-05/0.127, allocations: 12 kB / 489.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.507e-05/0.1271, allocations: 28.98 kB / 489.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007068/0.1278, allocations: 439.7 kB / 489.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/0.1293, allocations: 1.185 MB / 490.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.1295, allocations: 78.53 kB / 490.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.1296, allocations: 52.83 kB / 490.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.56e-05/0.1297, allocations: 7.984 kB / 490.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.1297, allocations: 30.56 kB / 491 MB, free: 12.01 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.1297, allocations: 0 / 491 MB, free: 12.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005368/0.1303, allocations: 173.6 kB / 491.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/0.1303, allocations: 55.34 kB / 491.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.1305, allocations: 169.8 kB / 491.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.1306, allocations: 25.7 kB / 491.4 MB, free: 11.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.1307, allocations: 223.2 kB / 491.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.1307, allocations: 27.64 kB / 491.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.959e-05/0.1308, allocations: 29.72 kB / 491.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.1309, allocations: 322.8 kB / 492 MB, free: 10.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.1311, allocations: 55.95 kB / 492 MB, free: 10.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/0.1313, allocations: 172.3 kB / 492.2 MB, free: 10.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003864/0.1317, allocations: 271.8 kB / 492.5 MB, free: 10.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.1317, allocations: 4 kB / 492.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004876/0.1322, allocations: 253.6 kB / 492.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.1323, allocations: 8 kB / 492.7 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.1323, allocations: 4 kB / 492.7 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.1323, allocations: 11.98 kB / 492.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003394/0.1326, allocations: 87.91 kB / 492.8 MB, free: 9.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001002/0.1337, allocations: 1.785 MB / 494.6 MB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.1338, allocations: 35.73 kB / 494.7 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.1339, allocations: 16 kB / 494.7 MB, free: 8.074 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.0002425/0.1341, allocations: 185.8 kB / 494.8 MB, free: 7.883 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4e-05/0.1342, allocations: 11.91 kB / 494.9 MB, free: 7.871 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005292/0.1347, allocations: 198 kB / 495.1 MB, free: 7.672 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.1347, allocations: 4 kB / 495.1 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1347, allocations: 4 kB / 495.1 MB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1347, allocations: 0 / 495.1 MB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003383/0.1351, allocations: 293.5 kB / 495.3 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1351, allocations: 3.984 kB / 495.4 MB, free: 7.324 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/0.1353, allocations: 63.92 kB / 495.4 MB, free: 7.262 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1353, allocations: 4 kB / 495.4 MB, free: 7.258 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.1353, allocations: 11.91 kB / 495.4 MB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008165/0.1362, allocations: 1.774 MB / 497.2 MB, free: 5.402 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1362, allocations: 0 / 497.2 MB, free: 5.402 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003507/0.1365, allocations: 227.7 kB / 497.4 MB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.1366, allocations: 88.95 kB / 497.5 MB, free: 5.059 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.1366, allocations: 0 / 497.5 MB, free: 5.059 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.496e-05/0.1367, allocations: 11.98 kB / 497.5 MB, free: 5.047 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.427e-05/0.1368, allocations: 19.92 kB / 497.5 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.1368, allocations: 4 kB / 497.5 MB, free: 5.023 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.405e-05/0.1369, allocations: 111.2 kB / 497.7 MB, free: 4.914 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1369, allocations: 0 / 497.7 MB, free: 4.914 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004923/0.1374, allocations: 103.5 kB / 497.8 MB, free: 4.812 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.0009589/0.1384, allocations: 0.7948 MB / 498.6 MB, free: 3.992 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005406/0.1389, allocations: 200.8 kB / 498.7 MB, free: 3.797 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.1389, allocations: 4 kB / 498.8 MB, free: 3.793 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002819/0.1392, allocations: 95.88 kB / 498.8 MB, free: 3.699 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.1395, allocations: 19.55 kB / 498.9 MB, free: 3.684 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002675/0.1422, allocations: 2.376 MB / 0.4895 GB, free: 1.121 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.1426, allocations: 0.7946 MB / 0.4903 GB, free: 308 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001816/0.1428, allocations: 69.12 kB / 0.4903 GB, free: 240 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.873e-05/0.1429, allocations: 79.41 kB / 0.4904 GB, free: 160 kB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1429, allocations: 0 / 0.4904 GB, free: 160 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01598/0.1589, allocations: 4.857 MB / 0.4952 GB, free: 11.54 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/0.1591, allocations: 314.1 kB / 0.4955 GB, free: 11.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/1.938, allocations: 0 / 0.4955 GB, free: 11.16 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