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.001059/0.001059, allocations: 106.1 kB / 16.4 MB, free: 6.512 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.001116/0.001116, allocations: 188.2 kB / 17.34 MB, free: 5.738 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.373/1.373, 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.2015/0.2015, allocations: 43.52 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.001488/0.001488, allocations: 71.91 kB / 441.3 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1072, allocations: 57.78 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003661/0.1109, allocations: 2.255 MB / 0.4896 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003477/0.1144, allocations: 2.084 MB / 0.4917 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000241/0.1147, allocations: 0 / 0.4917 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003633/0.1151, allocations: 79.52 kB / 0.4917 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003566/0.1154, allocations: 107.3 kB / 0.4918 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.1167, allocations: 434.3 kB / 0.4923 GB, free: 7.277 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006104/0.1173, allocations: 0.5209 MB / 0.4928 GB, free: 6.754 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.1175, allocations: 73.02 kB / 0.4928 GB, free: 6.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003259/0.1178, allocations: 179 kB / 0.493 GB, free: 6.504 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003186/0.1181, allocations: 214.8 kB / 0.4932 GB, free: 6.293 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.584e-05/0.1182, allocations: 12 kB / 0.4932 GB, free: 6.281 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.1194, allocations: 0.6786 MB / 0.4939 GB, free: 5.602 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.1195, allocations: 99.45 kB / 0.494 GB, free: 5.504 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002559/0.1198, allocations: 210.6 kB / 0.4942 GB, free: 5.297 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.1209, allocations: 0.8287 MB / 0.495 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1209, allocations: 0 / 0.495 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1209, allocations: 0 / 0.495 GB, free: 4.465 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.681e-05/0.121, allocations: 0 / 0.495 GB, free: 4.465 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.001471/0.1224, allocations: 0.8603 MB / 0.4958 GB, free: 3.555 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.1225, allocations: 11.89 kB / 0.4958 GB, free: 3.543 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001122/0.1226, allocations: 98.7 kB / 0.4959 GB, free: 3.438 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.1227, allocations: 60.56 kB / 0.496 GB, free: 3.379 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000402/0.1231, allocations: 319.5 kB / 0.4963 GB, free: 3.027 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.776e-05/0.1232, allocations: 45.62 kB / 0.4963 GB, free: 2.984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.141e-05/0.1233, allocations: 59.94 kB / 0.4964 GB, free: 2.926 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.1243, allocations: 0.7657 MB / 0.4972 GB, free: 2.141 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.1244, allocations: 0 / 0.4972 GB, free: 2.141 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.557e-05/0.1244, allocations: 24 kB / 0.4972 GB, free: 2.117 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.555e-05/0.1245, allocations: 21.31 kB / 0.4972 GB, free: 2.098 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009617/0.1254, allocations: 0.5554 MB / 0.4977 GB, free: 1.539 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00225/0.1277, allocations: 1.689 MB / 0.4994 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005605/0.1283, allocations: 303.5 kB / 0.4997 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003233/0.1286, allocations: 146.5 kB / 0.4998 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.002e-05/0.1287, allocations: 15.98 kB / 0.4998 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.1287, allocations: 38.5 kB / 0.4999 GB, free: 15.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.763e-06/0.1287, allocations: 0 / 0.4999 GB, free: 15.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001217/0.1299, allocations: 0.5 MB / 0.5004 GB, free: 14.74 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.13, allocations: 110.8 kB / 0.5005 GB, free: 14.61 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006833/0.1307, allocations: 0.6394 MB / 0.5011 GB, free: 13.96 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.1307, allocations: 25.7 kB / 0.5011 GB, free: 13.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.1309, allocations: 300 kB / 0.5014 GB, free: 13.62 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.255e-05/0.131, allocations: 83.36 kB / 0.5015 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.1311, allocations: 118.3 kB / 0.5016 GB, free: 13.42 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.1313, allocations: 362.8 kB / 0.5019 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003989/0.1317, allocations: 196.9 kB / 0.5021 GB, free: 12.86 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000539/0.1322, allocations: 457.4 kB / 0.5026 GB, free: 12.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.1332, allocations: 0.6749 MB / 0.5032 GB, free: 11.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.301e-06/0.1332, allocations: 0 / 0.5032 GB, free: 11.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001273/0.1345, allocations: 0.6909 MB / 0.5039 GB, free: 10.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.1346, allocations: 15.88 kB / 0.5039 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.719e-05/0.1346, allocations: 51.98 kB / 0.504 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-05/0.1347, allocations: 12.66 kB / 0.504 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.135, allocations: 79.77 kB / 0.504 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.153e-05/0.135, allocations: 23.91 kB / 0.5041 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004252/0.1354, allocations: 103.2 kB / 0.5042 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.054e-05/0.1355, allocations: 35.98 kB / 0.5042 GB, free: 10.47 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.000281/0.1358, allocations: 261.4 kB / 0.5045 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.1359, allocations: 51.61 kB / 0.5045 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008707/0.1368, allocations: 481.5 kB / 0.505 GB, free: 9.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/0.1368, allocations: 4 kB / 0.505 GB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1368, allocations: 0 / 0.505 GB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.1368, allocations: 4 kB / 0.505 GB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005486/0.1374, allocations: 401.4 kB / 0.5053 GB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.045e-05/0.1375, allocations: 40 kB / 0.5054 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.1376, allocations: 23.97 kB / 0.5054 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.1376, allocations: 11.94 kB / 0.5054 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/0.1377, allocations: 15.98 kB / 0.5054 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1377, allocations: 0 / 0.5054 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.1377, allocations: 4 kB / 0.5054 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008594/0.1385, allocations: 0.619 MB / 0.506 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.1387, allocations: 136.6 kB / 0.5062 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.849e-05/0.1388, allocations: 0 / 0.5062 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003057/0.1391, allocations: 23.97 kB / 0.5062 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.387e-05/0.1391, allocations: 23.98 kB / 0.5062 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-05/0.1392, allocations: 19.98 kB / 0.5062 GB, free: 8.281 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004552/0.1396, allocations: 442.8 kB / 0.5067 GB, free: 7.852 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1397, allocations: 0 / 0.5067 GB, free: 7.852 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007331/0.1404, allocations: 187.6 kB / 0.5068 GB, free: 7.668 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.001415/0.1418, allocations: 1.28 MB / 0.5081 GB, free: 6.359 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.1429, allocations: 0.7636 MB / 0.5088 GB, free: 5.523 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1429, allocations: 4 kB / 0.5088 GB, free: 5.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005034/0.1434, allocations: 488.2 kB / 0.5093 GB, free: 4.969 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007623/0.1442, allocations: 126.1 kB / 0.5094 GB, free: 4.844 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007342/0.1516, allocations: 5.942 MB / 0.5152 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004109/0.152, allocations: 0.8894 MB / 0.5161 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003082/0.1523, allocations: 132.5 kB / 0.5162 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.1525, allocations: 143.4 kB / 0.5164 GB, free: 13.37 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1525, allocations: 4 kB / 0.5164 GB, free: 13.37 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2256/0.3781, allocations: 15.74 MB / 0.5317 GB, free: 41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.046/8.425, allocations: 4.406 kB / 0.5317 GB, free: 41 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