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.001121/0.001121, allocations: 106.3 kB / 16.41 MB, free: 6.488 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.001118/0.001118, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.36/1.36, 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.2047/0.2047, allocations: 43.53 MB / 314.1 MB, free: 464 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.001421/0.001421, allocations: 75.89 kB / 441.3 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1076, allocations: 57.78 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.003265/0.1109, allocations: 2.212 MB / 0.4896 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002792/0.1137, allocations: 2.092 MB / 0.4916 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.1138, allocations: 0 / 0.4916 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002928/0.1141, allocations: 75.53 kB / 0.4917 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002146/0.1144, allocations: 111.3 kB / 0.4918 GB, free: 7.762 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009498/0.1153, allocations: 418.3 kB / 0.4922 GB, free: 7.352 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004708/0.1158, allocations: 0.5015 MB / 0.4927 GB, free: 6.848 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.799e-05/0.1159, allocations: 69.02 kB / 0.4928 GB, free: 6.777 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001942/0.1161, allocations: 183 kB / 0.4929 GB, free: 6.598 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.1163, allocations: 202.9 kB / 0.4931 GB, free: 6.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.363e-05/0.1164, allocations: 16 kB / 0.4931 GB, free: 6.383 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008656/0.1172, allocations: 0.6396 MB / 0.4938 GB, free: 5.742 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.1173, allocations: 107.4 kB / 0.4939 GB, free: 5.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001658/0.1175, allocations: 194.7 kB / 0.4941 GB, free: 5.445 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008739/0.1184, allocations: 0.7975 MB / 0.4948 GB, free: 4.645 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1184, allocations: 0 / 0.4948 GB, free: 4.645 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1184, allocations: 0 / 0.4948 GB, free: 4.645 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.1184, allocations: 0 / 0.4948 GB, free: 4.645 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.00123/0.1197, allocations: 0.8211 MB / 0.4956 GB, free: 3.777 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.1197, allocations: 15.97 kB / 0.4957 GB, free: 3.762 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.972e-05/0.1198, allocations: 98.69 kB / 0.4957 GB, free: 3.656 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.687e-05/0.1199, allocations: 52.61 kB / 0.4958 GB, free: 3.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004074/0.1203, allocations: 299.7 kB / 0.4961 GB, free: 3.273 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.491e-05/0.1204, allocations: 37.38 kB / 0.4961 GB, free: 3.234 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.403e-05/0.1204, allocations: 51.94 kB / 0.4962 GB, free: 3.184 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.1215, allocations: 0.6961 MB / 0.4968 GB, free: 2.473 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.1215, allocations: 0 / 0.4968 GB, free: 2.473 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.123e-05/0.1215, allocations: 24 kB / 0.4969 GB, free: 2.449 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-05/0.1216, allocations: 24.98 kB / 0.4969 GB, free: 2.426 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008734/0.1225, allocations: 0.492 MB / 0.4974 GB, free: 1.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001972/0.1245, allocations: 1.512 MB / 0.4989 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005878/0.1251, allocations: 327.5 kB / 0.4992 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003757/0.1254, allocations: 154.5 kB / 0.4993 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.866e-05/0.1255, allocations: 12.12 kB / 0.4993 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.1256, allocations: 38.5 kB / 0.4994 GB, free: 15.79 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 3.447e-06/0.1256, allocations: 0 / 0.4994 GB, free: 15.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001355/0.1269, allocations: 0.5164 MB / 0.4999 GB, free: 15.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.434e-05/0.127, allocations: 111.1 kB / 0.5 GB, free: 15.13 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006322/0.1277, allocations: 0.5604 MB / 0.5005 GB, free: 14.56 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.1277, allocations: 29.64 kB / 0.5005 GB, free: 14.53 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.1279, allocations: 240.5 kB / 0.5008 GB, free: 14.29 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.984e-05/0.128, allocations: 75.33 kB / 0.5008 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.1281, allocations: 81.64 kB / 0.5009 GB, free: 14.13 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1283, allocations: 354.8 kB / 0.5013 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003462/0.1286, allocations: 163.7 kB / 0.5014 GB, free: 13.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004156/0.129, allocations: 256.6 kB / 0.5017 GB, free: 13.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007651/0.1298, allocations: 428.9 kB / 0.5021 GB, free: 12.85 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/0.1298, allocations: 0 / 0.5021 GB, free: 12.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009223/0.1308, allocations: 484.8 kB / 0.5025 GB, free: 12.37 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.1308, allocations: 7.938 kB / 0.5025 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.247e-05/0.1309, allocations: 43.98 kB / 0.5026 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-05/0.1309, allocations: 4 kB / 0.5026 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.1311, allocations: 44.33 kB / 0.5026 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.1311, allocations: 4 kB / 0.5026 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002948/0.1314, allocations: 67.5 kB / 0.5027 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/0.1315, allocations: 23.98 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.0002338/0.1317, allocations: 213.6 kB / 0.5029 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.1318, allocations: 55.59 kB / 0.503 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008889/0.1327, allocations: 473.3 kB / 0.5034 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.1328, allocations: 4 kB / 0.5034 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1328, allocations: 4 kB / 0.5034 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.1328, allocations: 3.938 kB / 0.5034 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006019/0.1334, allocations: 405.3 kB / 0.5038 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.601e-05/0.1335, allocations: 39.98 kB / 0.5039 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/0.1336, allocations: 23.97 kB / 0.5039 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.1336, allocations: 4 kB / 0.5039 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.1337, allocations: 12 kB / 0.5039 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1337, allocations: 4 kB / 0.5039 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1337, allocations: 3.938 kB / 0.5039 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008925/0.1346, allocations: 0.6294 MB / 0.5045 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.1347, allocations: 132.7 kB / 0.5047 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.634e-05/0.1348, allocations: 0 / 0.5047 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.1351, allocations: 23.92 kB / 0.5047 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.344e-05/0.1352, allocations: 27.91 kB / 0.5047 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.1352, allocations: 16 kB / 0.5047 GB, free: 10.03 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004342/0.1356, allocations: 410.8 kB / 0.5051 GB, free: 9.633 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1356, allocations: 0 / 0.5051 GB, free: 9.633 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006685/0.1363, allocations: 171.6 kB / 0.5053 GB, free: 9.465 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.00154/0.1379, allocations: 1.3 MB / 0.5065 GB, free: 8.137 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001047/0.1389, allocations: 0.6725 MB / 0.5072 GB, free: 7.391 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1389, allocations: 0 / 0.5072 GB, free: 7.391 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005768/0.1395, allocations: 488.2 kB / 0.5077 GB, free: 6.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006861/0.1402, allocations: 94.03 kB / 0.5078 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006769/0.147, allocations: 5.391 MB / 0.513 GB, free: 1.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004276/0.1474, allocations: 0.8818 MB / 0.5139 GB, free: 280 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002/0.1477, allocations: 79.34 kB / 0.514 GB, free: 200 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/0.1478, allocations: 131.4 kB / 0.5141 GB, free: 68 kB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1478, allocations: 0 / 0.5141 GB, free: 68 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03458/0.1824, allocations: 14.06 MB / 0.5278 GB, free: 1.996 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.953/8.136, allocations: 12.19 kB / 0.5278 GB, free: 1.984 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