Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_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.001132/0.001132, allocations: 114 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001343/0.001343, allocations: 205.8 kB / 18.27 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 246.4 MB, free: 9.105 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2155/0.2155, allocations: 46.1 MB / 343.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 76.47 kB / 417.2 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1285, allocations: 62.45 MB / 479.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.004042/0.1326, allocations: 1.895 MB / 481.5 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002585/0.1352, allocations: 1.364 MB / 482.9 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001591/0.1354, allocations: 0 / 482.9 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003848/0.1359, allocations: 55.73 kB / 482.9 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003687/0.1362, allocations: 83.56 kB / 483 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006507/0.1369, allocations: 191.4 kB / 483.2 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004706/0.1374, allocations: 397.8 kB / 483.6 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.1375, allocations: 48.72 kB / 483.6 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003718/0.1379, allocations: 167.1 kB / 483.8 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003511/0.1383, allocations: 183.1 kB / 484 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.476e-05/0.1383, allocations: 16 kB / 484 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007455/0.1391, allocations: 463 kB / 484.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002147/0.1393, allocations: 131.4 kB / 484.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002646/0.1396, allocations: 186.7 kB / 484.8 MB, free: 324 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.1407, allocations: 0.6152 MB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1407, allocations: 0 / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1407, allocations: 3.938 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.052e-05/0.1407, allocations: 0 / 485.4 MB, free: 15.7 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001399/0.1421, allocations: 0.776 MB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.1422, allocations: 16.02 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000131/0.1423, allocations: 98.69 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.1425, allocations: 52.28 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000445/0.1429, allocations: 315.5 kB / 486.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.143, allocations: 33.36 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.954e-05/0.143, allocations: 55.88 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.1441, allocations: 0.6953 MB / 487.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.1441, allocations: 0 / 487.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.046e-05/0.1441, allocations: 16 kB / 487.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.497e-05/0.1442, allocations: 61.27 kB / 487.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.1453, allocations: 0.7195 MB / 488.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002526/0.1478, allocations: 1.712 MB / 489.9 MB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006105/0.1485, allocations: 361.2 kB / 490.3 MB, free: 10.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/0.1487, allocations: 149.2 kB / 490.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.556e-05/0.1488, allocations: 12.22 kB / 490.4 MB, free: 10.4 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.1488, allocations: 38.73 kB / 490.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.463e-06/0.1488, allocations: 0 / 490.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.0009732/0.1498, allocations: 484.2 kB / 490.9 MB, free: 9.879 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.1498, allocations: 59.41 kB / 491 MB, free: 9.809 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004592/0.1503, allocations: 461.4 kB / 491.4 MB, free: 9.352 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.1504, allocations: 29.7 kB / 491.5 MB, free: 9.316 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.1505, allocations: 263.5 kB / 491.7 MB, free: 9.055 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.64e-05/0.1506, allocations: 94.59 kB / 491.8 MB, free: 8.961 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.1507, allocations: 85.67 kB / 491.9 MB, free: 8.871 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1509, allocations: 350.8 kB / 492.3 MB, free: 8.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002769/0.1512, allocations: 139.9 kB / 492.4 MB, free: 8.383 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/0.1515, allocations: 253.1 kB / 492.6 MB, free: 8.086 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006583/0.1522, allocations: 440.1 kB / 493.1 MB, free: 7.609 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.1522, allocations: 3.938 kB / 493.1 MB, free: 7.605 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008257/0.153, allocations: 485 kB / 493.5 MB, free: 7.125 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.153, allocations: 8 kB / 493.6 MB, free: 7.117 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.1531, allocations: 4 kB / 493.6 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.1531, allocations: 4 kB / 493.6 MB, free: 7.109 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005911/0.1537, allocations: 159.8 kB / 493.7 MB, free: 6.953 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/0.1556, allocations: 3.61 MB / 497.3 MB, free: 3.203 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003204/0.1559, allocations: 59.27 kB / 497.4 MB, free: 3.145 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-05/0.1559, allocations: 23.94 kB / 497.4 MB, free: 3.121 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000239/0.1562, allocations: 221.6 kB / 497.6 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.654e-05/0.1563, allocations: 31.81 kB / 497.7 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.1573, allocations: 0.545 MB / 498.2 MB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1574, allocations: 0 / 498.2 MB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.1574, allocations: 4 kB / 498.2 MB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.1574, allocations: 7.984 kB / 498.2 MB, free: 2.301 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005369/0.1579, allocations: 449.1 kB / 498.7 MB, free: 1.812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1579, allocations: 0 / 498.7 MB, free: 1.812 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005433/0.1585, allocations: 143.9 kB / 498.8 MB, free: 1.672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.1585, allocations: 3.938 kB / 498.8 MB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/0.1585, allocations: 12 kB / 498.8 MB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/0.1604, allocations: 3.606 MB / 0.4906 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1605, allocations: 0 / 0.4906 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009993/0.1615, allocations: 0.6638 MB / 0.4913 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002038/0.1617, allocations: 156.5 kB / 0.4914 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.825e-05/0.1618, allocations: 12 kB / 0.4914 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.162, allocations: 15.92 kB / 0.4915 GB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.111e-05/0.1621, allocations: 27.91 kB / 0.4915 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.1621, allocations: 16 kB / 0.4915 GB, free: 12.99 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003793/0.1625, allocations: 343.1 kB / 0.4918 GB, free: 12.65 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1625, allocations: 0 / 0.4918 GB, free: 12.65 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000558/0.1631, allocations: 167.6 kB / 0.492 GB, free: 12.49 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * 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 (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001521/0.1646, allocations: 1.282 MB / 0.4932 GB, free: 11.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0012/0.1658, allocations: 0.4924 MB / 0.4937 GB, free: 10.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1658, allocations: 0 / 0.4937 GB, free: 10.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006448/0.1665, allocations: 255.7 kB / 0.494 GB, free: 10.44 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004574/0.1669, allocations: 37.5 kB / 0.494 GB, free: 10.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006493/0.1734, allocations: 5.142 MB / 0.499 GB, free: 5.094 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/0.1739, allocations: 0.9053 MB / 0.4999 GB, free: 4.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003518/0.1742, allocations: 143 kB / 0.5 GB, free: 4.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002361/0.1745, allocations: 167.4 kB / 0.5002 GB, free: 3.855 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1745, allocations: 3.938 kB / 0.5002 GB, free: 3.852 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2282/0.4027, allocations: 10.89 MB / 0.5108 GB, free: 42.4 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/0.4029, allocations: 289.2 kB / 0.5111 GB, free: 42.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.154/2.557, allocations: 0 / 0.5111 GB, free: 42.02 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_thickEdgedOverall_DPMFLOW/dp_thickEdgedOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches