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.0008965/0.0008965, allocations: 92.11 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001073/0.001073, allocations: 201.8 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, allocations: 227.7 MB / 246.8 MB, free: 9.695 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1933/0.1933, allocations: 46.19 MB / 345.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004327/0.000433, allocations: 8 kB / 419.6 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1327, allocations: 63.55 MB / 483.2 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.002176/0.1349, allocations: 1.556 MB / 484.8 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002384/0.1373, allocations: 1.36 MB / 486.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.1375, allocations: 0 / 486.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003189/0.1378, allocations: 51.73 kB / 486.2 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003539/0.1382, allocations: 83.62 kB / 486.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007134/0.1389, allocations: 187.4 kB / 486.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005716/0.1395, allocations: 449.8 kB / 486.9 MB, free: 336 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.1396, allocations: 52.67 kB / 486.9 MB, free: 284 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003813/0.14, allocations: 155.1 kB / 487.1 MB, free: 128 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003471/0.1404, allocations: 183.2 kB / 487.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.318e-05/0.1404, allocations: 8 kB / 487.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000807/0.1412, allocations: 458.9 kB / 487.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001871/0.1414, allocations: 127.4 kB / 487.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000269/0.1417, allocations: 220.3 kB / 488 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009155/0.1426, allocations: 0.6035 MB / 488.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.1427, allocations: 4 kB / 488.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.1427, allocations: 3.984 kB / 488.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.1427, allocations: 0 / 488.7 MB, free: 14.53 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.001202/0.1439, allocations: 0.6902 MB / 489.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.144, allocations: 12.88 kB / 489.4 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001361/0.1441, allocations: 98.69 kB / 489.5 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.1442, allocations: 52.28 kB / 489.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004123/0.1446, allocations: 323.5 kB / 489.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/0.1447, allocations: 33.38 kB / 489.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.731e-05/0.1448, allocations: 47.92 kB / 489.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.1458, allocations: 0.6992 MB / 490.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.1459, allocations: 7.938 kB / 490.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.063e-05/0.1459, allocations: 16 kB / 490.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-05/0.146, allocations: 61.27 kB / 490.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.1471, allocations: 0.7273 MB / 491.4 MB, free: 11.67 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002506/0.1496, allocations: 1.708 MB / 493.1 MB, free: 9.828 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000684/0.1503, allocations: 361.3 kB / 493.5 MB, free: 9.469 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/0.1506, allocations: 145.2 kB / 493.6 MB, free: 9.324 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.58e-05/0.1506, allocations: 20.14 kB / 493.6 MB, free: 9.305 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.1507, allocations: 34.8 kB / 493.7 MB, free: 9.262 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.144e-06/0.1507, allocations: 4 kB / 493.7 MB, free: 9.258 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.001038/0.1517, allocations: 0.4962 MB / 494.2 MB, free: 8.758 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.1518, allocations: 55.41 kB / 494.2 MB, free: 8.691 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005093/0.1523, allocations: 465.4 kB / 494.7 MB, free: 8.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.1523, allocations: 29.7 kB / 494.7 MB, free: 8.195 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.1525, allocations: 259.5 kB / 495 MB, free: 7.938 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.162e-05/0.1526, allocations: 98.58 kB / 495.1 MB, free: 7.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.522e-05/0.1527, allocations: 37.7 kB / 495.1 MB, free: 7.797 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.1528, allocations: 350.8 kB / 495.4 MB, free: 7.445 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/0.1531, allocations: 143.9 kB / 495.6 MB, free: 7.305 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004204/0.1536, allocations: 273.1 kB / 495.8 MB, free: 6.988 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007159/0.1543, allocations: 432.1 kB / 496.3 MB, free: 6.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.1543, allocations: 11.88 kB / 496.3 MB, free: 6.508 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008082/0.1551, allocations: 488.7 kB / 496.8 MB, free: 6.023 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1551, allocations: 8.469 kB / 496.8 MB, free: 6.016 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.1552, allocations: 8 kB / 496.8 MB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.1552, allocations: 7.938 kB / 496.8 MB, free: 6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005834/0.1558, allocations: 163.8 kB / 496.9 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/0.1578, allocations: 3.618 MB / 0.4888 GB, free: 2.082 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000296/0.1581, allocations: 55.38 kB / 0.4889 GB, free: 2.027 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.031e-05/0.1581, allocations: 27.92 kB / 0.4889 GB, free: 2 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.0002496/0.1584, allocations: 217.9 kB / 0.4891 GB, free: 1.777 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.442e-05/0.1585, allocations: 39.53 kB / 0.4891 GB, free: 1.738 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.1596, allocations: 0.5442 MB / 0.4897 GB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.1596, allocations: 4 kB / 0.4897 GB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1596, allocations: 0 / 0.4897 GB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.1596, allocations: 0 / 0.4897 GB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000535/0.1602, allocations: 461 kB / 0.4901 GB, free: 0.6836 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1602, allocations: 0 / 0.4901 GB, free: 0.6836 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005169/0.1607, allocations: 139.9 kB / 0.4903 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.1607, allocations: 0 / 0.4903 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.133e-05/0.1608, allocations: 15.98 kB / 0.4903 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002129/0.1629, allocations: 3.606 MB / 0.4938 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.1629, allocations: 4.094 kB / 0.4938 GB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.164, allocations: 0.6753 MB / 0.4945 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001944/0.1642, allocations: 160.5 kB / 0.4946 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.248e-05/0.1643, allocations: 4 kB / 0.4946 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.1645, allocations: 19.92 kB / 0.4946 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.738e-05/0.1646, allocations: 39.83 kB / 0.4947 GB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.1646, allocations: 12 kB / 0.4947 GB, free: 11.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003821/0.165, allocations: 343.1 kB / 0.495 GB, free: 11.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.165, allocations: 4 kB / 0.495 GB, free: 11.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005863/0.1656, allocations: 171.6 kB / 0.4952 GB, free: 11.33 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.00159/0.1672, allocations: 1.294 MB / 0.4964 GB, free: 10.01 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001068/0.1683, allocations: 448.3 kB / 0.4969 GB, free: 9.574 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1683, allocations: 0 / 0.4969 GB, free: 9.574 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006225/0.1689, allocations: 263.7 kB / 0.4971 GB, free: 9.316 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.1693, allocations: 33.5 kB / 0.4971 GB, free: 9.285 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006886/0.1762, allocations: 5.199 MB / 0.5022 GB, free: 3.914 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004893/0.1767, allocations: 0.9092 MB / 0.5031 GB, free: 2.977 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003662/0.1771, allocations: 143 kB / 0.5033 GB, free: 2.836 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002385/0.1774, allocations: 163.4 kB / 0.5034 GB, free: 2.676 MB / 382.1 MB Notification: Performance of SimCode: time 1.874e-06/0.1774, allocations: 0 / 0.5034 GB, free: 2.676 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2188/0.3962, allocations: 10.45 MB / 0.5136 GB, free: 39.98 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001555/0.3964, allocations: 295.1 kB / 0.5139 GB, free: 39.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.145/2.541, allocations: 0 / 0.5139 GB, free: 39.59 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