Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_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_4_0_0_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.001197/0.001197, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001214/0.001214, allocations: 192 kB / 18.55 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2096/0.2096, allocations: 44.19 MB / 336.6 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 56.78 kB / 408.6 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1082, allocations: 60.83 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.003717/0.112, allocations: 2.211 MB / 471.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002822/0.1149, allocations: 2.04 MB / 473.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001451/0.115, allocations: 0 / 473.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003338/0.1154, allocations: 75.52 kB / 473.7 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.1157, allocations: 107.3 kB / 473.8 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.1167, allocations: 422.3 kB / 474.2 MB, free: 9.414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004949/0.1173, allocations: 0.5092 MB / 474.7 MB, free: 8.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.1174, allocations: 57.06 kB / 474.8 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000214/0.1176, allocations: 179 kB / 475 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002315/0.1178, allocations: 206.9 kB / 475.2 MB, free: 8.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.893e-05/0.1179, allocations: 15.94 kB / 475.2 MB, free: 8.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009156/0.1188, allocations: 0.6395 MB / 475.8 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.1189, allocations: 95.53 kB / 475.9 MB, free: 7.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001732/0.1191, allocations: 202.6 kB / 476.1 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008701/0.12, allocations: 0.7828 MB / 476.9 MB, free: 6.727 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.12, allocations: 0 / 476.9 MB, free: 6.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.12, allocations: 4 kB / 476.9 MB, free: 6.723 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.12, allocations: 0 / 476.9 MB, free: 6.723 MB / 350.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.001216/0.1212, allocations: 0.7993 MB / 477.7 MB, free: 5.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.1213, allocations: 8.031 kB / 477.7 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.892e-05/0.1214, allocations: 98.7 kB / 477.8 MB, free: 5.762 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.469e-05/0.1215, allocations: 52.28 kB / 477.8 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003341/0.1218, allocations: 307.4 kB / 478.1 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.861e-05/0.1219, allocations: 37.38 kB / 478.2 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.96e-05/0.1219, allocations: 55.92 kB / 478.2 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.123, allocations: 0.6961 MB / 478.9 MB, free: 4.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.123, allocations: 0 / 478.9 MB, free: 4.566 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.374e-05/0.1231, allocations: 20 kB / 479 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.103e-05/0.1231, allocations: 25 kB / 479 MB, free: 4.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008946/0.124, allocations: 0.4959 MB / 479.5 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001925/0.1259, allocations: 1.492 MB / 481 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006158/0.1266, allocations: 323.5 kB / 481.3 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003419/0.1269, allocations: 154.4 kB / 481.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.68e-05/0.127, allocations: 24.05 kB / 481.5 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.127, allocations: 34.55 kB / 481.5 MB, free: 1.902 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 3.406e-06/0.127, allocations: 4 kB / 481.5 MB, free: 1.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001301/0.1283, allocations: 0.5045 MB / 482 MB, free: 1.387 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.1284, allocations: 106.8 kB / 482.1 MB, free: 1.258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005829/0.129, allocations: 0.5684 MB / 482.7 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.129, allocations: 29.7 kB / 482.7 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.1292, allocations: 232.3 kB / 482.9 MB, free: 424 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.567e-05/0.1293, allocations: 78.81 kB / 483 MB, free: 344 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.1294, allocations: 77.69 kB / 483.1 MB, free: 260 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1296, allocations: 358.8 kB / 483.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003633/0.1299, allocations: 155.8 kB / 483.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004067/0.1303, allocations: 244.7 kB / 483.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007964/0.1311, allocations: 429.7 kB / 484.2 MB, free: 14.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1312, allocations: 0 / 484.2 MB, free: 14.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001018/0.1322, allocations: 490.8 kB / 484.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.1322, allocations: 7.938 kB / 484.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.992e-05/0.1323, allocations: 40 kB / 484.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.1323, allocations: 7.984 kB / 484.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.1326, allocations: 35.91 kB / 484.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.1326, allocations: 8.344 kB / 484.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003066/0.1329, allocations: 75.25 kB / 484.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.919e-05/0.1329, allocations: 20 kB / 484.9 MB, free: 14.32 MB / 366.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.0002497/0.1332, allocations: 221.6 kB / 485.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.1333, allocations: 47.38 kB / 485.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009048/0.1342, allocations: 457.5 kB / 485.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.1343, allocations: 4 kB / 485.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.1343, allocations: 7.938 kB / 485.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.1343, allocations: 11.92 kB / 485.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006028/0.1349, allocations: 401.2 kB / 486 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.668e-05/0.135, allocations: 39.98 kB / 486.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.1351, allocations: 27.91 kB / 486.1 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.1351, allocations: 4 kB / 486.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.1352, allocations: 16 kB / 486.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.1352, allocations: 0 / 486.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1352, allocations: 7.875 kB / 486.1 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009483/0.1361, allocations: 0.632 MB / 486.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.1363, allocations: 120.5 kB / 486.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.342e-05/0.1363, allocations: 0 / 486.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002929/0.1367, allocations: 23.97 kB / 486.9 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.362e-05/0.1367, allocations: 27.86 kB / 486.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.697e-05/0.1368, allocations: 16 kB / 486.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004214/0.1372, allocations: 414.8 kB / 487.4 MB, free: 11.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.1372, allocations: 8 kB / 487.4 MB, free: 11.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006311/0.1379, allocations: 163.9 kB / 487.5 MB, free: 11.61 MB / 366.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.001614/0.1395, allocations: 1.292 MB / 488.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.1405, allocations: 0.6917 MB / 489.5 MB, free: 9.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1406, allocations: 0 / 489.5 MB, free: 9.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005301/0.1411, allocations: 488.2 kB / 490 MB, free: 8.969 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007631/0.1419, allocations: 110 kB / 490.1 MB, free: 8.867 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007021/0.1489, allocations: 5.526 MB / 495.6 MB, free: 3.168 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004438/0.1494, allocations: 0.8818 MB / 496.5 MB, free: 2.262 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002172/0.1496, allocations: 79.33 kB / 496.6 MB, free: 2.184 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.1498, allocations: 135.4 kB / 496.7 MB, free: 2.051 MB / 366.1 MB Notification: Performance of SimCode: time 1.031e-06/0.1498, allocations: 0 / 496.7 MB, free: 2.051 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03265/0.1824, allocations: 13.91 MB / 0.4987 GB, free: 4.359 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.823/8.006, allocations: 6.875 kB / 0.4987 GB, free: 4.355 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapOverall/kc_evenGapOverall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches