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_KC.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_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",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.001442/0.001442, allocations: 106.5 kB / 16.41 MB, free: 6.516 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.001454/0.001454, allocations: 189.5 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.385/1.385, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2358/0.2358, allocations: 43.53 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.001736/0.001736, allocations: 73.47 kB / 441.3 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1288, allocations: 57.8 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC): time 0.003855/0.1327, allocations: 2.142 MB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003089/0.1358, allocations: 1.815 MB / 0.4913 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002034/0.1361, allocations: 0 / 0.4913 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000349/0.1364, allocations: 71.58 kB / 0.4914 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005381/0.137, allocations: 151.3 kB / 0.4915 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.1381, allocations: 334.7 kB / 0.4918 GB, free: 7.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006187/0.1387, allocations: 489.6 kB / 0.4923 GB, free: 7.238 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.1389, allocations: 57.05 kB / 0.4924 GB, free: 7.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000319/0.1392, allocations: 187 kB / 0.4925 GB, free: 6.996 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003807/0.1396, allocations: 218.9 kB / 0.4927 GB, free: 6.781 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.841e-05/0.1396, allocations: 12 kB / 0.4928 GB, free: 6.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.1407, allocations: 0.5576 MB / 0.4933 GB, free: 6.211 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001683/0.1408, allocations: 111.5 kB / 0.4934 GB, free: 6.102 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002875/0.1411, allocations: 194.6 kB / 0.4936 GB, free: 5.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.1423, allocations: 0.7314 MB / 0.4943 GB, free: 5.176 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1423, allocations: 0 / 0.4943 GB, free: 5.176 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1424, allocations: 0 / 0.4943 GB, free: 5.176 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.172e-05/0.1424, allocations: 0 / 0.4943 GB, free: 5.176 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001558/0.1439, allocations: 0.7904 MB / 0.4951 GB, free: 4.336 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.144, allocations: 12.03 kB / 0.4951 GB, free: 4.324 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000124/0.1441, allocations: 102.7 kB / 0.4952 GB, free: 4.215 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.1443, allocations: 52.61 kB / 0.4952 GB, free: 4.164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/0.1447, allocations: 307.9 kB / 0.4955 GB, free: 3.824 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/0.1447, allocations: 40.98 kB / 0.4956 GB, free: 3.781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.621e-05/0.1448, allocations: 47.98 kB / 0.4956 GB, free: 3.734 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.146, allocations: 0.7031 MB / 0.4963 GB, free: 3.027 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.146, allocations: 0 / 0.4963 GB, free: 3.027 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.076e-05/0.1461, allocations: 27.92 kB / 0.4963 GB, free: 3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.331e-05/0.1462, allocations: 53.28 kB / 0.4964 GB, free: 2.945 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/0.1476, allocations: 0.7467 MB / 0.4971 GB, free: 2.195 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002916/0.1505, allocations: 1.435 MB / 0.4985 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000865/0.1514, allocations: 456.4 kB / 0.4989 GB, free: 264 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002902/0.1517, allocations: 161.2 kB / 0.4991 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.252e-05/0.1518, allocations: 12.45 kB / 0.4991 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.1518, allocations: 34.56 kB / 0.4991 GB, free: 44 kB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.886e-06/0.1518, allocations: 0 / 0.4991 GB, free: 44 kB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.00113/0.1529, allocations: 0.5399 MB / 0.4997 GB, free: 15.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.153, allocations: 59.41 kB / 0.4997 GB, free: 15.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005969/0.1536, allocations: 0.5291 MB / 0.5002 GB, free: 14.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.1536, allocations: 25.7 kB / 0.5003 GB, free: 14.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.1538, allocations: 252.4 kB / 0.5005 GB, free: 14.61 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.899e-05/0.1539, allocations: 103.1 kB / 0.5006 GB, free: 14.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/0.1541, allocations: 102 kB / 0.5007 GB, free: 14.39 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.1543, allocations: 358.8 kB / 0.501 GB, free: 14.04 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003335/0.1546, allocations: 164.6 kB / 0.5012 GB, free: 13.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000461/0.1551, allocations: 301.3 kB / 0.5015 GB, free: 13.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000942/0.156, allocations: 0.4889 MB / 0.502 GB, free: 12.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.1561, allocations: 0 / 0.502 GB, free: 12.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001142/0.1572, allocations: 0.5319 MB / 0.5025 GB, free: 12.44 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.1572, allocations: 8 kB / 0.5025 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.1573, allocations: 4.562 kB / 0.5025 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.927e-05/0.1573, allocations: 12 kB / 0.5025 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009535/0.1583, allocations: 223.8 kB / 0.5027 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004211/0.1625, allocations: 7.31 MB / 0.5099 GB, free: 4.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003897/0.1629, allocations: 63.8 kB / 0.5099 GB, free: 4.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-05/0.163, allocations: 27.98 kB / 0.51 GB, free: 4.516 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (46): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003368/0.1633, allocations: 233.4 kB / 0.5102 GB, free: 4.277 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.1634, allocations: 51.66 kB / 0.5102 GB, free: 4.227 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.1645, allocations: 0.5486 MB / 0.5108 GB, free: 3.668 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.1645, allocations: 11.92 kB / 0.5108 GB, free: 3.656 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.1646, allocations: 0 / 0.5108 GB, free: 3.656 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-06/0.1646, allocations: 4 kB / 0.5108 GB, free: 3.652 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005798/0.1652, allocations: 429.2 kB / 0.5112 GB, free: 3.184 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1652, allocations: 0 / 0.5112 GB, free: 3.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008209/0.166, allocations: 199.8 kB / 0.5114 GB, free: 2.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.166, allocations: 4 kB / 0.5114 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.356e-05/0.1661, allocations: 15.92 kB / 0.5114 GB, free: 2.969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003873/0.1699, allocations: 7.298 MB / 0.5185 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.17, allocations: 3.938 kB / 0.5185 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008058/0.1708, allocations: 0.5119 MB / 0.519 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.1709, allocations: 128.8 kB / 0.5191 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.205e-05/0.171, allocations: 4 kB / 0.5192 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.1712, allocations: 11.98 kB / 0.5192 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.994e-05/0.1713, allocations: 23.97 kB / 0.5192 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.292e-05/0.1714, allocations: 19.98 kB / 0.5192 GB, free: 10.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004142/0.1718, allocations: 383 kB / 0.5196 GB, free: 10.28 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1718, allocations: 0 / 0.5196 GB, free: 10.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006063/0.1724, allocations: 171.6 kB / 0.5197 GB, free: 10.11 MB / 414.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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001422/0.1739, allocations: 1.153 MB / 0.5209 GB, free: 8.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001522/0.1754, allocations: 0.5544 MB / 0.5214 GB, free: 8.375 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.1754, allocations: 1.125 kB / 0.5214 GB, free: 8.375 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.1764, allocations: 348.1 kB / 0.5217 GB, free: 8.035 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005475/0.177, allocations: 89.84 kB / 0.5218 GB, free: 7.945 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007012/0.184, allocations: 5.314 MB / 0.527 GB, free: 2.445 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005296/0.1846, allocations: 0.8974 MB / 0.5279 GB, free: 1.523 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003868/0.185, allocations: 152.2 kB / 0.528 GB, free: 1.371 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002217/0.1852, allocations: 143.4 kB / 0.5282 GB, free: 1.23 MB / 414.1 MB Notification: Performance of SimCode: time 1.022e-06/0.1852, allocations: 0 / 0.5282 GB, free: 1.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2931/0.4783, allocations: 14.74 MB / 0.5426 GB, free: 39.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.57, allocations: 11.31 kB / 0.5426 GB, free: 39.51 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_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_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_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/kc_evenGapOverall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches