Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_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.001272/0.001278, allocations: 105.6 kB / 16.27 MB, free: 5.93 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.001202/0.001202, allocations: 187.5 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2122/0.2122, allocations: 43.52 MB / 313.9 MB, free: 0.5195 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002577/0.002577, allocations: 70.72 kB / 382.9 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1258, allocations: 57.77 MB / 440.6 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.002384/0.1283, allocations: 1.788 MB / 442.4 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.1294, allocations: 1.002 MB / 443.4 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.135e-05/0.1295, allocations: 0 / 443.4 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002147/0.1297, allocations: 51.73 kB / 443.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001597/0.1299, allocations: 71.58 kB / 443.5 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.1301, allocations: 119.5 kB / 443.7 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.1303, allocations: 214.8 kB / 443.9 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.293e-05/0.1304, allocations: 33.61 kB / 443.9 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.835e-05/0.1305, allocations: 95.5 kB / 444 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.1306, allocations: 103.5 kB / 444.1 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.1306, allocations: 4 kB / 444.1 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000293/0.1309, allocations: 203.7 kB / 444.3 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.051e-05/0.131, allocations: 63.67 kB / 444.4 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.838e-05/0.1311, allocations: 91.36 kB / 444.5 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002977/0.1314, allocations: 302.9 kB / 444.7 MB, free: 2.637 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1314, allocations: 4 kB / 444.8 MB, free: 2.633 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1314, allocations: 0 / 444.8 MB, free: 2.633 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.1314, allocations: 4 kB / 444.8 MB, free: 2.629 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0005906/0.132, allocations: 0.5302 MB / 445.3 MB, free: 2.051 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1321, allocations: 12.03 kB / 445.3 MB, free: 2.039 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.381e-05/0.1321, allocations: 58.72 kB / 445.4 MB, free: 1.973 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007674/0.1329, allocations: 132.4 kB / 445.5 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.1331, allocations: 257.2 kB / 445.7 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.1331, allocations: 20.73 kB / 445.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.642e-05/0.1332, allocations: 24.12 kB / 445.8 MB, free: 1.512 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005112/0.1337, allocations: 425.9 kB / 446.2 MB, free: 1.062 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1337, allocations: 7.938 kB / 446.2 MB, free: 1.055 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.1338, allocations: 8 kB / 446.2 MB, free: 1.047 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-05/0.1338, allocations: 28.55 kB / 446.2 MB, free: 1.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005403/0.1343, allocations: 385.9 kB / 446.6 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.136, allocations: 1.477 MB / 448.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.1363, allocations: 102.5 kB / 448.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.1364, allocations: 48.77 kB / 448.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.1365, allocations: 8.078 kB / 448.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.1365, allocations: 38.55 kB / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.1365, allocations: 0 / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.000562/0.1371, allocations: 181.5 kB / 448.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.1371, allocations: 51.41 kB / 448.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003072/0.1374, allocations: 330.7 kB / 448.8 MB, free: 14.26 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.1375, allocations: 29.7 kB / 448.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.1376, allocations: 187 kB / 449 MB, free: 14.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.1376, allocations: 23.66 kB / 449.1 MB, free: 14.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.241e-05/0.1377, allocations: 45.61 kB / 449.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1378, allocations: 330.8 kB / 449.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.138, allocations: 75.88 kB / 449.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.1382, allocations: 117.1 kB / 449.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003918/0.1386, allocations: 189.8 kB / 449.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1386, allocations: 0 / 449.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005006/0.1391, allocations: 244.3 kB / 450.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.1392, allocations: 5.25 kB / 450.1 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.1392, allocations: 12.17 kB / 450.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.1392, allocations: 7.938 kB / 450.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/0.1407, allocations: 115.8 kB / 450.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001973/0.1427, allocations: 1.836 MB / 452 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003045/0.143, allocations: 39.61 kB / 452.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.1431, allocations: 4 kB / 452.1 MB, free: 10.89 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 16 * 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.0001525/0.1432, allocations: 165.8 kB / 452.2 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.322e-05/0.1433, allocations: 23.72 kB / 452.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000519/0.1438, allocations: 199.1 kB / 452.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1438, allocations: 4 kB / 452.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1438, allocations: 0 / 452.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1438, allocations: 0 / 452.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000308/0.1442, allocations: 277.4 kB / 452.7 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1442, allocations: 4 kB / 452.7 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/0.1454, allocations: 95.86 kB / 452.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.1454, allocations: 0 / 452.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.1454, allocations: 0 / 452.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001193/0.1466, allocations: 1.793 MB / 454.6 MB, free: 8.211 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.1466, allocations: 32 / 454.6 MB, free: 8.211 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004963/0.1471, allocations: 263.4 kB / 454.9 MB, free: 7.938 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.546e-05/0.1472, allocations: 100.8 kB / 455 MB, free: 7.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.597e-05/0.1473, allocations: 11.88 kB / 455 MB, free: 7.809 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.1475, allocations: 7.984 kB / 455 MB, free: 7.801 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.1476, allocations: 8 kB / 455 MB, free: 7.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.1476, allocations: 0 / 455 MB, free: 7.793 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002404/0.1478, allocations: 249.9 kB / 455.2 MB, free: 7.547 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1478, allocations: 0 / 455.2 MB, free: 7.547 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003507/0.1482, allocations: 64 kB / 455.3 MB, free: 7.484 MB / 334.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.0008162/0.149, allocations: 0.8019 MB / 456.1 MB, free: 6.656 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002348/0.1514, allocations: 271.5 kB / 456.4 MB, free: 6.391 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.1514, allocations: 4 kB / 456.4 MB, free: 6.387 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009571/0.1524, allocations: 103.9 kB / 456.5 MB, free: 6.285 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.1528, allocations: 50.83 kB / 456.5 MB, free: 6.238 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004001/0.1568, allocations: 2.927 MB / 459.5 MB, free: 3.203 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.1571, allocations: 0.7791 MB / 460.2 MB, free: 2.398 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001509/0.1573, allocations: 50.2 kB / 460.3 MB, free: 2.352 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.1574, allocations: 75.41 kB / 460.4 MB, free: 2.277 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1574, allocations: 0 / 460.4 MB, free: 2.277 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02963/0.1871, allocations: 7.66 MB / 468 MB, free: 10.67 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.38, allocations: 12.19 kB / 468 MB, free: 10.66 MB / 350.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_idealGas_DPMFLOW/dp_idealGas_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches