Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0007529/0.0007525, allocations: 93.56 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009091/0.0009091, allocations: 175.8 kB / 18.26 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 223.3 MB / 242.3 MB, free: 14.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1889/0.1889, allocations: 44.24 MB / 337.7 MB, free: 2.441 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003101/0.0003101, allocations: 8 kB / 410.5 MB, free: 27.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1155, allocations: 61.92 MB / 472.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.001966/0.1175, allocations: 1.535 MB / 473.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.1196, allocations: 1.321 MB / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.114e-05/0.1197, allocations: 0 / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003113/0.12, allocations: 55.73 kB / 475.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002511/0.1203, allocations: 79.58 kB / 475.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004152/0.1207, allocations: 199.3 kB / 475.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003996/0.1211, allocations: 449.8 kB / 476 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.724e-05/0.1212, allocations: 44.73 kB / 476 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002104/0.1214, allocations: 139.2 kB / 476.2 MB, free: 9.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002398/0.1217, allocations: 191 kB / 476.4 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.1217, allocations: 12 kB / 476.4 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006114/0.1223, allocations: 459 kB / 476.8 MB, free: 8.742 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.1225, allocations: 131.4 kB / 477 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.1227, allocations: 216.3 kB / 477.2 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006525/0.1233, allocations: 0.6034 MB / 477.8 MB, free: 7.789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1233, allocations: 0 / 477.8 MB, free: 7.789 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1233, allocations: 0 / 477.8 MB, free: 7.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.026e-06/0.1233, allocations: 4 kB / 477.8 MB, free: 7.785 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.0009969/0.1244, allocations: 0.6966 MB / 478.5 MB, free: 7.043 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.1244, allocations: 8.031 kB / 478.5 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001008/0.1245, allocations: 106.7 kB / 478.6 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.19e-05/0.1246, allocations: 56.28 kB / 478.6 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003589/0.125, allocations: 315.5 kB / 478.9 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.281e-05/0.125, allocations: 37.36 kB / 479 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.828e-05/0.1251, allocations: 43.94 kB / 479 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009229/0.126, allocations: 0.6953 MB / 479.7 MB, free: 5.734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.126, allocations: 4 kB / 479.7 MB, free: 5.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.766e-05/0.1261, allocations: 16 kB / 479.7 MB, free: 5.715 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.841e-05/0.1262, allocations: 65.27 kB / 479.8 MB, free: 5.652 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.1272, allocations: 0.7312 MB / 480.5 MB, free: 4.922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002159/0.1294, allocations: 1.704 MB / 482.2 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005789/0.1299, allocations: 367.3 kB / 482.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002566/0.1302, allocations: 149.2 kB / 482.7 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.148e-05/0.1303, allocations: 16.2 kB / 482.8 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.1303, allocations: 34.8 kB / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.383e-06/0.1303, allocations: 0 / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0009485/0.1312, allocations: 0.4995 MB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.1313, allocations: 51.41 kB / 483.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000462/0.1318, allocations: 457.4 kB / 483.8 MB, free: 1.492 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.1318, allocations: 29.7 kB / 483.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.132, allocations: 275.4 kB / 484.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.652e-05/0.1321, allocations: 98.59 kB / 484.2 MB, free: 1.086 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.881e-05/0.1321, allocations: 29.7 kB / 484.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1322, allocations: 350.8 kB / 484.6 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/0.1325, allocations: 147.8 kB / 484.7 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003436/0.1329, allocations: 265.2 kB / 485 MB, free: 256 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006405/0.1335, allocations: 441.4 kB / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.1335, allocations: 3.938 kB / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007774/0.1343, allocations: 489.6 kB / 485.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1344, allocations: 10.33 kB / 485.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.1344, allocations: 4 kB / 485.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.1344, allocations: 8.469 kB / 485.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005511/0.1349, allocations: 159.9 kB / 486.1 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001747/0.1367, allocations: 3.618 MB / 489.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/0.137, allocations: 67.3 kB / 489.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/0.137, allocations: 27.92 kB / 489.8 MB, free: 11.25 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.0002249/0.1373, allocations: 209.7 kB / 490 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.641e-05/0.1373, allocations: 35.53 kB / 490 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.1384, allocations: 0.5482 MB / 490.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.1384, allocations: 4 kB / 490.6 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1384, allocations: 0 / 490.6 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1384, allocations: 0 / 490.6 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005256/0.139, allocations: 460.9 kB / 491 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.139, allocations: 0 / 491 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005057/0.1395, allocations: 139.9 kB / 491.1 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.1395, allocations: 8 kB / 491.1 MB, free: 9.801 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.623e-05/0.1395, allocations: 12 kB / 491.2 MB, free: 9.789 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001648/0.1412, allocations: 3.61 MB / 494.8 MB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1412, allocations: 0 / 494.8 MB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.1423, allocations: 0.6759 MB / 495.4 MB, free: 5.344 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002015/0.1425, allocations: 160.4 kB / 495.6 MB, free: 5.168 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.019e-05/0.1426, allocations: 8 kB / 495.6 MB, free: 5.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.1428, allocations: 19.92 kB / 495.6 MB, free: 5.141 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.188e-05/0.1429, allocations: 27.91 kB / 495.7 MB, free: 5.113 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/0.1429, allocations: 16 kB / 495.7 MB, free: 5.098 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004027/0.1433, allocations: 351.1 kB / 496 MB, free: 4.754 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1433, allocations: 3.938 kB / 496 MB, free: 4.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006165/0.1439, allocations: 159.6 kB / 496.2 MB, free: 4.594 MB / 366.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.001756/0.1457, allocations: 1.294 MB / 497.5 MB, free: 3.273 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001086/0.1468, allocations: 448.3 kB / 497.9 MB, free: 2.836 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1468, allocations: 0 / 497.9 MB, free: 2.836 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006379/0.1475, allocations: 268 kB / 498.2 MB, free: 2.574 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004565/0.1479, allocations: 41.56 kB / 498.2 MB, free: 2.535 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006976/0.1549, allocations: 5.217 MB / 0.4916 GB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005685/0.1555, allocations: 0.9015 MB / 0.4925 GB, free: 12.22 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003821/0.1559, allocations: 139 kB / 0.4926 GB, free: 12.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002424/0.1561, allocations: 163.4 kB / 0.4928 GB, free: 11.92 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1562, allocations: 3.938 kB / 0.4928 GB, free: 11.92 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02306/0.1792, allocations: 10.46 MB / 0.503 GB, free: 1.73 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002621/0.1795, allocations: 294 kB / 0.5033 GB, free: 1.355 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.011/2.191, allocations: 0 / 0.5033 GB, free: 1.355 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches