Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.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.Channel.kc_evenGapOverall,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",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.001791/0.001791, allocations: 100.8 kB / 16.4 MB, free: 6 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.002049/0.002049, allocations: 192.3 kB / 17.34 MB, free: 5.582 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.429/1.429, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2214/0.2214, allocations: 43.52 MB / 314.1 MB, free: 456 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.001977/0.001977, allocations: 67.91 kB / 441.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1219, allocations: 57.78 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.003535/0.1255, allocations: 2.224 MB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002995/0.1285, allocations: 2.084 MB / 0.4916 GB, free: 7.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.223e-05/0.1286, allocations: 0 / 0.4916 GB, free: 7.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002932/0.1289, allocations: 67.59 kB / 0.4917 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.1292, allocations: 107.3 kB / 0.4918 GB, free: 7.758 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.1302, allocations: 418.3 kB / 0.4922 GB, free: 7.348 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005627/0.1308, allocations: 0.5093 MB / 0.4927 GB, free: 6.836 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.4e-05/0.1309, allocations: 61.05 kB / 0.4928 GB, free: 6.773 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000233/0.1311, allocations: 171 kB / 0.4929 GB, free: 6.605 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002513/0.1314, allocations: 214.9 kB / 0.4931 GB, free: 6.395 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.029e-05/0.1314, allocations: 20 kB / 0.4931 GB, free: 6.375 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009779/0.1324, allocations: 0.6317 MB / 0.4938 GB, free: 5.742 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.1325, allocations: 103.5 kB / 0.4939 GB, free: 5.641 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001891/0.1327, allocations: 198.6 kB / 0.494 GB, free: 5.445 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009999/0.1337, allocations: 0.8015 MB / 0.4948 GB, free: 4.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1337, allocations: 0 / 0.4948 GB, free: 4.641 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.582e-06/0.1338, allocations: 0 / 0.4948 GB, free: 4.641 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.1338, allocations: 0 / 0.4948 GB, free: 4.641 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001412/0.1352, allocations: 0.8177 MB / 0.4956 GB, free: 3.773 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.1352, allocations: 8.031 kB / 0.4956 GB, free: 3.766 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000115/0.1354, allocations: 98.7 kB / 0.4957 GB, free: 3.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.215e-05/0.1355, allocations: 56.55 kB / 0.4958 GB, free: 3.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003776/0.1358, allocations: 307.6 kB / 0.4961 GB, free: 3.266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.098e-05/0.1359, allocations: 41.31 kB / 0.4961 GB, free: 3.223 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.853e-05/0.136, allocations: 51.94 kB / 0.4962 GB, free: 3.172 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.1371, allocations: 0.6962 MB / 0.4968 GB, free: 2.461 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.1371, allocations: 0 / 0.4968 GB, free: 2.461 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.432e-05/0.1372, allocations: 20 kB / 0.4969 GB, free: 2.441 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.665e-05/0.1372, allocations: 24.94 kB / 0.4969 GB, free: 2.418 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009593/0.1382, allocations: 0.496 MB / 0.4974 GB, free: 1.918 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002169/0.1403, allocations: 1.504 MB / 0.4988 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006274/0.141, allocations: 327.5 kB / 0.4992 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003728/0.1414, allocations: 146.5 kB / 0.4993 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.42e-05/0.1414, allocations: 20.09 kB / 0.4993 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.1415, allocations: 38.56 kB / 0.4994 GB, free: 15.79 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 1.824e-06/0.1415, allocations: 0 / 0.4994 GB, free: 15.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001327/0.1428, allocations: 0.5128 MB / 0.4999 GB, free: 15.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.053e-05/0.1429, allocations: 110.7 kB / 0.5 GB, free: 15.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006708/0.1436, allocations: 0.5682 MB / 0.5005 GB, free: 14.56 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.1436, allocations: 25.7 kB / 0.5005 GB, free: 14.53 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/0.1439, allocations: 236.5 kB / 0.5008 GB, free: 14.29 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.19e-05/0.1439, allocations: 79.33 kB / 0.5008 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.1441, allocations: 81.64 kB / 0.5009 GB, free: 14.12 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.1442, allocations: 362.8 kB / 0.5013 GB, free: 13.76 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003722/0.1446, allocations: 159.7 kB / 0.5014 GB, free: 13.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004449/0.1451, allocations: 244.7 kB / 0.5016 GB, free: 13.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008446/0.1459, allocations: 440.8 kB / 0.5021 GB, free: 12.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1459, allocations: 0 / 0.5021 GB, free: 12.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001021/0.147, allocations: 480.8 kB / 0.5025 GB, free: 12.37 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/0.147, allocations: 7.938 kB / 0.5025 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.674e-05/0.1471, allocations: 44.42 kB / 0.5026 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.1471, allocations: 8 kB / 0.5026 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.1474, allocations: 31.97 kB / 0.5026 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/0.1474, allocations: 15.92 kB / 0.5026 GB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002988/0.1477, allocations: 67.5 kB / 0.5027 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.142e-05/0.1477, allocations: 20 kB / 0.5027 GB, free: 12.18 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,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 (30): * Single equations (assignments): 18 * 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.0002874/0.148, allocations: 213.6 kB / 0.5029 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.1482, allocations: 59.61 kB / 0.503 GB, free: 11.9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000989/0.1492, allocations: 465.3 kB / 0.5034 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/0.1492, allocations: 7.984 kB / 0.5034 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1492, allocations: 3.938 kB / 0.5034 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.1492, allocations: 3.938 kB / 0.5034 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006415/0.1498, allocations: 405.3 kB / 0.5038 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.908e-05/0.1499, allocations: 39.98 kB / 0.5039 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.1501, allocations: 23.97 kB / 0.5039 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1501, allocations: 4 kB / 0.5039 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/0.1501, allocations: 15.98 kB / 0.5039 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1501, allocations: 4 kB / 0.5039 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.1501, allocations: 3.938 kB / 0.5039 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009792/0.1511, allocations: 0.619 MB / 0.5045 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.1513, allocations: 136.7 kB / 0.5046 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.619e-05/0.1514, allocations: 7.984 kB / 0.5046 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002792/0.1516, allocations: 19.98 kB / 0.5047 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.965e-05/0.1518, allocations: 27.91 kB / 0.5047 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-05/0.1518, allocations: 15.94 kB / 0.5047 GB, free: 10.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005004/0.1523, allocations: 418.8 kB / 0.5051 GB, free: 9.617 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1523, allocations: 0 / 0.5051 GB, free: 9.617 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007103/0.153, allocations: 167.6 kB / 0.5053 GB, free: 9.453 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.001819/0.1548, allocations: 1.292 MB / 0.5065 GB, free: 8.133 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001194/0.1561, allocations: 0.6665 MB / 0.5072 GB, free: 7.395 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1561, allocations: 0 / 0.5072 GB, free: 7.395 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006625/0.1567, allocations: 488.2 kB / 0.5076 GB, free: 6.844 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008097/0.1576, allocations: 102.8 kB / 0.5077 GB, free: 6.746 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008086/0.1657, allocations: 5.394 MB / 0.513 GB, free: 1.172 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005334/0.1662, allocations: 0.8819 MB / 0.5139 GB, free: 272 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002325/0.1665, allocations: 79.31 kB / 0.514 GB, free: 192 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001968/0.1667, allocations: 139.4 kB / 0.5141 GB, free: 52 kB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1667, allocations: 0 / 0.5141 GB, free: 52 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04158/0.2083, allocations: 14.04 MB / 0.5278 GB, free: 2 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.736/8.944, allocations: 4.188 kB / 0.5278 GB, free: 1.996 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_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_HeatTransfer_Channel_kc_evenGapOverall.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapOverall/kc_evenGapOverall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches