Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_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.0007975/0.0007976, allocations: 95.58 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.0008978/0.0008979, allocations: 175.3 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.319/1.319, allocations: 223.3 MB / 242.3 MB, free: 196 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1949/0.1949, allocations: 44.24 MB / 337.7 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003133/0.0003132, allocations: 8 kB / 410.5 MB, free: 27.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1173, allocations: 61.93 MB / 472.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002076/0.1194, allocations: 1.388 MB / 473.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.1209, allocations: 0.7908 MB / 474.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.249e-05/0.1209, allocations: 0 / 474.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002768/0.1212, allocations: 43.8 kB / 474.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.1214, allocations: 47.75 kB / 474.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.1217, allocations: 79.78 kB / 474.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002506/0.1219, allocations: 219.1 kB / 474.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.961e-05/0.122, allocations: 17.09 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.1221, allocations: 51.73 kB / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.1223, allocations: 83.66 kB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.1223, allocations: 0 / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002752/0.1226, allocations: 159.8 kB / 475.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.725e-05/0.1227, allocations: 35.91 kB / 475.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.936e-05/0.1228, allocations: 89.25 kB / 475.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000364/0.1232, allocations: 199.6 kB / 475.6 MB, free: 9.996 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1232, allocations: 0 / 475.6 MB, free: 9.996 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1232, allocations: 0 / 475.6 MB, free: 9.996 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.1232, allocations: 0 / 475.6 MB, free: 9.996 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006121/0.1238, allocations: 451 kB / 476 MB, free: 9.508 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.1239, allocations: 8.031 kB / 476 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.16e-05/0.1239, allocations: 54.67 kB / 476.1 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005212/0.1245, allocations: 60.67 kB / 476.1 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.1247, allocations: 212.2 kB / 476.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.1247, allocations: 8.375 kB / 476.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.1247, allocations: 15.94 kB / 476.4 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004372/0.1252, allocations: 247 kB / 476.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.1252, allocations: 0 / 476.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.1252, allocations: 4 kB / 476.6 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.084e-05/0.1253, allocations: 15.98 kB / 476.6 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004267/0.1257, allocations: 239.8 kB / 476.9 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.1268, allocations: 0.7245 MB / 477.6 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.127, allocations: 98.52 kB / 477.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.1272, allocations: 48.81 kB / 477.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.1272, allocations: 4.141 kB / 477.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.1272, allocations: 46.5 kB / 477.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.1272, allocations: 0 / 477.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005087/0.1277, allocations: 189.2 kB / 478 MB, free: 7.387 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.1278, allocations: 59.41 kB / 478 MB, free: 7.316 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.128, allocations: 187.2 kB / 478.2 MB, free: 7.121 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.128, allocations: 29.7 kB / 478.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.611e-05/0.1281, allocations: 135.5 kB / 478.4 MB, free: 6.949 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.1281, allocations: 27.64 kB / 478.4 MB, free: 6.922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.1282, allocations: 13.72 kB / 478.4 MB, free: 6.902 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.1283, allocations: 322.8 kB / 478.7 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.1284, allocations: 59.94 kB / 478.8 MB, free: 6.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.1286, allocations: 106.8 kB / 478.9 MB, free: 6.391 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003118/0.1289, allocations: 174.6 kB / 479 MB, free: 6.195 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.129, allocations: 0 / 479 MB, free: 6.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003922/0.1293, allocations: 197.2 kB / 479.2 MB, free: 5.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.1294, allocations: 6.5 kB / 479.2 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1294, allocations: 4 kB / 479.3 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.1294, allocations: 0 / 479.3 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008853/0.1303, allocations: 112.1 kB / 479.4 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/0.1316, allocations: 1.813 MB / 481.2 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.1317, allocations: 23.81 kB / 481.2 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.1318, allocations: 12 kB / 481.2 MB, free: 3.961 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 11 * 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.0001198/0.1319, allocations: 133.8 kB / 481.3 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.868e-05/0.1319, allocations: 19.81 kB / 481.4 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004699/0.1324, allocations: 190.8 kB / 481.5 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1324, allocations: 0 / 481.5 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.1324, allocations: 0 / 481.5 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.1324, allocations: 7.969 kB / 481.6 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.1327, allocations: 233.5 kB / 481.8 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.1327, allocations: 0 / 481.8 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006808/0.1334, allocations: 103.9 kB / 481.9 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1334, allocations: 0 / 481.9 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.1334, allocations: 8 kB / 481.9 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009284/0.1344, allocations: 1.77 MB / 483.7 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.1344, allocations: 3.984 kB / 483.7 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000363/0.1347, allocations: 263.4 kB / 483.9 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-05/0.1348, allocations: 92.94 kB / 484 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.1348, allocations: 4 kB / 484 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.135, allocations: 8 kB / 484 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/0.135, allocations: 11.98 kB / 484 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.1351, allocations: 4 kB / 484 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.1352, allocations: 139.9 kB / 484.2 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1352, allocations: 3.938 kB / 484.2 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003147/0.1355, allocations: 43.91 kB / 484.2 MB, free: 0.7812 MB / 350.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 (11): * Single equations (assignments): 8 * 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.0007205/0.1362, allocations: 0.7903 MB / 485 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001126/0.1374, allocations: 228.1 kB / 485.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1374, allocations: 0 / 485.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006159/0.138, allocations: 119.8 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.1384, allocations: 39.97 kB / 485.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002482/0.1409, allocations: 2.158 MB / 487.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.1412, allocations: 0.7358 MB / 488.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001289/0.1414, allocations: 45.33 kB / 488.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.603e-05/0.1414, allocations: 43.42 kB / 488.4 MB, free: 12.46 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1415, allocations: 0 / 488.4 MB, free: 12.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01666/0.1581, allocations: 4.641 MB / 493 MB, free: 8.094 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002867/0.1584, allocations: 303 kB / 493.3 MB, free: 7.711 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.85/2.009, allocations: 2.75 kB / 493.3 MB, free: 7.711 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches