Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.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.HeatTransfer.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",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.001614/0.001614, allocations: 108.9 kB / 16.41 MB, free: 6.465 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.001813/0.001814, allocations: 185.5 kB / 17.34 MB, free: 5.719 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.434/1.434, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2166/0.2166, allocations: 43.53 MB / 314.1 MB, free: 452 kB / 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.001951/0.001951, allocations: 63.91 kB / 441.3 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.119, allocations: 57.79 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003693/0.1227, allocations: 2.263 MB / 0.4896 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003156/0.1259, allocations: 2.076 MB / 0.4917 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.126, allocations: 7.938 kB / 0.4917 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003364/0.1264, allocations: 75.58 kB / 0.4918 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002703/0.1267, allocations: 111.2 kB / 0.4919 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.1278, allocations: 418.3 kB / 0.4923 GB, free: 7.293 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006168/0.1285, allocations: 0.5171 MB / 0.4928 GB, free: 6.773 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.1286, allocations: 69.03 kB / 0.4928 GB, free: 6.703 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002442/0.1288, allocations: 183 kB / 0.493 GB, free: 6.523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002799/0.1291, allocations: 206.9 kB / 0.4932 GB, free: 6.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.216e-05/0.1292, allocations: 16 kB / 0.4932 GB, free: 6.305 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001105/0.1303, allocations: 0.6786 MB / 0.4939 GB, free: 5.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.1304, allocations: 99.47 kB / 0.494 GB, free: 5.527 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002183/0.1307, allocations: 206.6 kB / 0.4942 GB, free: 5.324 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.1317, allocations: 0.8287 MB / 0.495 GB, free: 4.492 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1318, allocations: 0 / 0.495 GB, free: 4.492 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1318, allocations: 0 / 0.495 GB, free: 4.492 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1318, allocations: 0 / 0.495 GB, free: 4.492 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001476/0.1333, allocations: 0.8492 MB / 0.4958 GB, free: 3.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.1333, allocations: 23.81 kB / 0.4958 GB, free: 3.566 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001167/0.1334, allocations: 98.7 kB / 0.4959 GB, free: 3.461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.1336, allocations: 60.56 kB / 0.496 GB, free: 3.402 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004353/0.134, allocations: 323.5 kB / 0.4963 GB, free: 3.047 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.71e-05/0.134, allocations: 41.69 kB / 0.4963 GB, free: 3.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.656e-05/0.1341, allocations: 55.94 kB / 0.4964 GB, free: 2.953 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.1353, allocations: 0.7619 MB / 0.4971 GB, free: 2.172 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.1354, allocations: 7.922 kB / 0.4971 GB, free: 2.164 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.639e-05/0.1354, allocations: 20 kB / 0.4972 GB, free: 2.145 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.642e-05/0.1355, allocations: 29.25 kB / 0.4972 GB, free: 2.117 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.1365, allocations: 0.5515 MB / 0.4977 GB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002411/0.139, allocations: 1.689 MB / 0.4994 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006078/0.1396, allocations: 303.5 kB / 0.4997 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003727/0.14, allocations: 146.5 kB / 0.4998 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.566e-05/0.1401, allocations: 15.97 kB / 0.4998 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.1401, allocations: 42.44 kB / 0.4999 GB, free: 15.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 2.325e-06/0.1401, allocations: 4 kB / 0.4999 GB, free: 15.26 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001332/0.1414, allocations: 0.4999 MB / 0.5003 GB, free: 14.76 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.447e-05/0.1415, allocations: 102.8 kB / 0.5004 GB, free: 14.63 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007938/0.1423, allocations: 0.6394 MB / 0.5011 GB, free: 13.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.1424, allocations: 25.7 kB / 0.5011 GB, free: 13.95 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002333/0.1426, allocations: 300 kB / 0.5014 GB, free: 13.65 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.216e-05/0.1427, allocations: 79.38 kB / 0.5015 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/0.1429, allocations: 122.3 kB / 0.5016 GB, free: 13.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.1431, allocations: 366.8 kB / 0.5019 GB, free: 13.08 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004238/0.1435, allocations: 188.9 kB / 0.5021 GB, free: 12.89 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006692/0.1442, allocations: 461.4 kB / 0.5025 GB, free: 12.31 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.1453, allocations: 0.6749 MB / 0.5032 GB, free: 11.51 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.1453, allocations: 4 kB / 0.5032 GB, free: 11.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001335/0.1467, allocations: 0.6869 MB / 0.5039 GB, free: 10.81 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.1467, allocations: 15.94 kB / 0.5039 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.339e-05/0.1468, allocations: 52.67 kB / 0.5039 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.686e-05/0.1468, allocations: 12 kB / 0.504 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.1471, allocations: 75.83 kB / 0.504 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.952e-05/0.1472, allocations: 19.92 kB / 0.504 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004278/0.1476, allocations: 107.2 kB / 0.5041 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.883e-05/0.1477, allocations: 35.98 kB / 0.5042 GB, free: 10.5 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003227/0.148, allocations: 261.4 kB / 0.5044 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.1481, allocations: 55.61 kB / 0.5045 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009677/0.1491, allocations: 477.5 kB / 0.5049 GB, free: 9.707 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.1491, allocations: 7.984 kB / 0.5049 GB, free: 9.699 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.1491, allocations: 4 kB / 0.505 GB, free: 9.695 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1491, allocations: 0 / 0.505 GB, free: 9.695 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006189/0.1498, allocations: 401.4 kB / 0.5053 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.771e-05/0.1498, allocations: 43.98 kB / 0.5054 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.15, allocations: 23.97 kB / 0.5054 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.15, allocations: 3.938 kB / 0.5054 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/0.15, allocations: 15.98 kB / 0.5054 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.15, allocations: 4 kB / 0.5054 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1501, allocations: 0 / 0.5054 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009477/0.151, allocations: 0.619 MB / 0.506 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.1512, allocations: 136.6 kB / 0.5062 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.138e-05/0.1512, allocations: 8 kB / 0.5062 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002942/0.1515, allocations: 19.97 kB / 0.5062 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.01e-05/0.1516, allocations: 23.98 kB / 0.5062 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.937e-05/0.1517, allocations: 15.98 kB / 0.5062 GB, free: 8.309 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000535/0.1522, allocations: 442.8 kB / 0.5066 GB, free: 7.879 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1522, allocations: 0 / 0.5066 GB, free: 7.879 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000753/0.153, allocations: 187.6 kB / 0.5068 GB, free: 7.695 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001658/0.1546, allocations: 1.292 MB / 0.5081 GB, free: 6.375 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.1559, allocations: 0.7634 MB / 0.5088 GB, free: 5.543 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.1559, allocations: 4.062 kB / 0.5088 GB, free: 5.539 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005759/0.1565, allocations: 484.2 kB / 0.5093 GB, free: 4.992 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007127/0.1572, allocations: 134.1 kB / 0.5094 GB, free: 4.859 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008515/0.1657, allocations: 5.934 MB / 0.5152 GB, free: 14.58 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005223/0.1663, allocations: 0.8894 MB / 0.5161 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003346/0.1666, allocations: 128.5 kB / 0.5162 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/0.1668, allocations: 147.4 kB / 0.5163 GB, free: 13.4 MB / 414.1 MB Notification: Performance of SimCode: time 7.12e-07/0.1669, allocations: 0 / 0.5163 GB, free: 13.4 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2286/0.3954, allocations: 15.75 MB / 0.5317 GB, free: 40.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.907/9.303, allocations: 10.25 kB / 0.5317 GB, free: 40.98 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_overall/kc_overall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches