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.001152/0.001152, allocations: 109.7 kB / 16.41 MB, free: 6.492 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.001165/0.001165, allocations: 185.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.322/1.322, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.1961/0.1961, 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.001376/0.001376, allocations: 67.91 kB / 441.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.115, allocations: 57.78 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC): time 0.00348/0.1186, allocations: 2.157 MB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002782/0.1214, allocations: 1.819 MB / 0.4913 GB, free: 8.277 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001766/0.1216, allocations: 4 kB / 0.4913 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002925/0.1219, allocations: 63.59 kB / 0.4914 GB, free: 8.211 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000472/0.1224, allocations: 147.3 kB / 0.4915 GB, free: 8.066 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009147/0.1233, allocations: 330.7 kB / 0.4918 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005416/0.1239, allocations: 485.6 kB / 0.4923 GB, free: 7.266 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.449e-05/0.124, allocations: 61.05 kB / 0.4924 GB, free: 7.203 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002878/0.1242, allocations: 187 kB / 0.4925 GB, free: 7.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002899/0.1245, allocations: 222.9 kB / 0.4927 GB, free: 6.801 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.929e-05/0.1246, allocations: 12 kB / 0.4928 GB, free: 6.789 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008852/0.1255, allocations: 0.5498 MB / 0.4933 GB, free: 6.238 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001544/0.1257, allocations: 119.4 kB / 0.4934 GB, free: 6.121 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002361/0.1259, allocations: 194.6 kB / 0.4936 GB, free: 5.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009543/0.1269, allocations: 0.7275 MB / 0.4943 GB, free: 5.199 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1269, allocations: 0 / 0.4943 GB, free: 5.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1269, allocations: 0 / 0.4943 GB, free: 5.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.274e-05/0.1269, allocations: 0 / 0.4943 GB, free: 5.199 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.00131/0.1282, allocations: 0.7905 MB / 0.4951 GB, free: 4.359 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.1283, allocations: 8.031 kB / 0.4951 GB, free: 4.352 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000123/0.1284, allocations: 106.7 kB / 0.4952 GB, free: 4.238 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.1285, allocations: 52.61 kB / 0.4952 GB, free: 4.188 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004472/0.129, allocations: 307.9 kB / 0.4955 GB, free: 3.848 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/0.129, allocations: 36.94 kB / 0.4956 GB, free: 3.809 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.735e-05/0.1291, allocations: 51.98 kB / 0.4956 GB, free: 3.758 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.1301, allocations: 0.6992 MB / 0.4963 GB, free: 3.055 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.1301, allocations: 4 kB / 0.4963 GB, free: 3.051 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.674e-05/0.1302, allocations: 23.98 kB / 0.4963 GB, free: 3.027 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.598e-05/0.1303, allocations: 53.22 kB / 0.4964 GB, free: 2.973 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.1316, allocations: 0.7506 MB / 0.4971 GB, free: 2.219 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002748/0.1343, allocations: 1.435 MB / 0.4985 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008446/0.1352, allocations: 452.4 kB / 0.4989 GB, free: 292 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003134/0.1355, allocations: 165.2 kB / 0.4991 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.161e-05/0.1356, allocations: 8.453 kB / 0.4991 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/0.1356, allocations: 42.55 kB / 0.4991 GB, free: 64 kB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 4.489e-06/0.1356, allocations: 3.984 kB / 0.4992 GB, free: 60 kB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001228/0.1369, allocations: 0.536 MB / 0.4997 GB, free: 15.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.1369, allocations: 59.41 kB / 0.4997 GB, free: 15.45 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005823/0.1375, allocations: 0.5252 MB / 0.5002 GB, free: 14.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.1376, allocations: 29.7 kB / 0.5003 GB, free: 14.88 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.1377, allocations: 252.4 kB / 0.5005 GB, free: 14.62 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.332e-05/0.1378, allocations: 107.1 kB / 0.5006 GB, free: 14.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/0.138, allocations: 94.02 kB / 0.5007 GB, free: 14.42 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.1381, allocations: 358.8 kB / 0.501 GB, free: 14.06 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003341/0.1385, allocations: 168.6 kB / 0.5012 GB, free: 13.89 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004421/0.1389, allocations: 297.3 kB / 0.5015 GB, free: 13.55 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008391/0.1398, allocations: 0.4928 MB / 0.502 GB, free: 13 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.715e-05/0.1398, allocations: 4 kB / 0.502 GB, free: 12.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00105/0.1409, allocations: 0.5319 MB / 0.5025 GB, free: 12.45 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.1409, allocations: 8 kB / 0.5025 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.1409, allocations: 4.562 kB / 0.5025 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.1409, allocations: 8 kB / 0.5025 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009485/0.1419, allocations: 227.8 kB / 0.5027 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003945/0.1459, allocations: 7.31 MB / 0.5099 GB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000396/0.1463, allocations: 55.8 kB / 0.5099 GB, free: 4.566 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.337e-05/0.1463, allocations: 31.98 kB / 0.51 GB, free: 4.535 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.0003323/0.1467, allocations: 241.4 kB / 0.5102 GB, free: 4.289 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.936e-05/0.1468, allocations: 47.67 kB / 0.5102 GB, free: 4.242 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.1478, allocations: 0.5485 MB / 0.5108 GB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.1478, allocations: 8.109 kB / 0.5108 GB, free: 3.676 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.1479, allocations: 3.938 kB / 0.5108 GB, free: 3.672 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1479, allocations: 0 / 0.5108 GB, free: 3.672 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005259/0.1484, allocations: 425.2 kB / 0.5112 GB, free: 3.207 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.1484, allocations: 0 / 0.5112 GB, free: 3.207 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008507/0.1493, allocations: 199.8 kB / 0.5114 GB, free: 3.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.1493, allocations: 0 / 0.5114 GB, free: 3.012 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.262e-05/0.1493, allocations: 23.92 kB / 0.5114 GB, free: 2.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003926/0.1533, allocations: 7.294 MB / 0.5185 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.1533, allocations: 0 / 0.5185 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008461/0.1541, allocations: 0.5196 MB / 0.519 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/0.1543, allocations: 124.8 kB / 0.5191 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.352e-05/0.1544, allocations: 8 kB / 0.5192 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/0.1547, allocations: 11.98 kB / 0.5192 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.643e-05/0.1547, allocations: 23.97 kB / 0.5192 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.931e-05/0.1548, allocations: 15.98 kB / 0.5192 GB, free: 10.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004254/0.1552, allocations: 387 kB / 0.5196 GB, free: 10.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1552, allocations: 0 / 0.5196 GB, free: 10.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005958/0.1558, allocations: 167.6 kB / 0.5197 GB, free: 10.14 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.001576/0.1574, allocations: 1.161 MB / 0.5209 GB, free: 8.945 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00166/0.1591, allocations: 0.5508 MB / 0.5214 GB, free: 8.395 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.1591, allocations: 3.938 kB / 0.5214 GB, free: 8.391 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.1601, allocations: 341 kB / 0.5217 GB, free: 8.059 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005874/0.1607, allocations: 92.52 kB / 0.5218 GB, free: 7.969 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006884/0.1676, allocations: 5.316 MB / 0.527 GB, free: 2.461 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004399/0.1681, allocations: 0.8974 MB / 0.5279 GB, free: 1.539 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003428/0.1685, allocations: 144.2 kB / 0.528 GB, free: 1.395 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.1687, allocations: 139.4 kB / 0.5282 GB, free: 1.258 MB / 414.1 MB Notification: Performance of SimCode: time 8.41e-07/0.1687, allocations: 0 / 0.5282 GB, free: 1.258 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2444/0.4131, allocations: 14.74 MB / 0.5426 GB, free: 39.56 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.01, allocations: 3.922 kB / 0.5426 GB, free: 39.56 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