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_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 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_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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.001581/0.001581, allocations: 104 kB / 17.63 MB, free: 5.543 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.001911/0.001911, allocations: 192.1 kB / 18.56 MB, free: 4.621 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.52/1.52, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2148/0.2148, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001236, allocations: 64.94 kB / 408.6 MB, free: 27.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1196, allocations: 60.82 MB / 469.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC): time 0.00316/0.1228, allocations: 2.132 MB / 471.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002351/0.1252, allocations: 1.775 MB / 473.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.336e-05/0.1252, allocations: 4 kB / 473.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002537/0.1255, allocations: 71.58 kB / 473.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003372/0.1259, allocations: 139.3 kB / 473.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006914/0.1266, allocations: 322.7 kB / 473.8 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004409/0.127, allocations: 489.6 kB / 474.3 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.262e-05/0.1271, allocations: 61.05 kB / 474.4 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001967/0.1273, allocations: 179.1 kB / 474.5 MB, free: 9.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/0.1276, allocations: 222.9 kB / 474.7 MB, free: 8.848 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.688e-05/0.1276, allocations: 12 kB / 474.8 MB, free: 8.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007775/0.1284, allocations: 0.5537 MB / 475.3 MB, free: 8.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.1285, allocations: 115.4 kB / 475.4 MB, free: 8.168 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.1287, allocations: 194.6 kB / 475.6 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007414/0.1294, allocations: 0.7087 MB / 476.3 MB, free: 7.266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1295, allocations: 11.94 kB / 476.3 MB, free: 7.254 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1295, allocations: 0 / 476.3 MB, free: 7.254 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.1295, allocations: 0 / 476.3 MB, free: 7.254 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001141/0.1306, allocations: 0.7759 MB / 477.1 MB, free: 6.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.1307, allocations: 8.031 kB / 477.1 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001046/0.1308, allocations: 106.6 kB / 477.2 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.341e-05/0.1309, allocations: 56.28 kB / 477.3 MB, free: 6.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/0.1312, allocations: 303.8 kB / 477.6 MB, free: 5.918 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.073e-05/0.1313, allocations: 41 kB / 477.6 MB, free: 5.879 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.538e-05/0.1314, allocations: 47.98 kB / 477.7 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009851/0.1323, allocations: 0.7069 MB / 478.4 MB, free: 5.121 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.1324, allocations: 4 kB / 478.4 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.336e-05/0.1324, allocations: 19.98 kB / 478.4 MB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.636e-05/0.1325, allocations: 53.28 kB / 478.4 MB, free: 5.047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.1336, allocations: 0.7428 MB / 479.2 MB, free: 4.301 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001924/0.1356, allocations: 1.426 MB / 480.6 MB, free: 2.812 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000747/0.1363, allocations: 462.2 kB / 481.1 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002967/0.1366, allocations: 157.2 kB / 481.2 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.003e-05/0.1367, allocations: 16.22 kB / 481.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.1367, allocations: 38.72 kB / 481.3 MB, free: 2.137 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.443e-06/0.1367, allocations: 0 / 481.3 MB, free: 2.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001091/0.1378, allocations: 0.5404 MB / 481.8 MB, free: 1.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.1379, allocations: 63.34 kB / 481.9 MB, free: 1.516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005116/0.1384, allocations: 0.5251 MB / 482.4 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.1384, allocations: 29.7 kB / 482.4 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.1386, allocations: 248 kB / 482.7 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.392e-05/0.1387, allocations: 102.6 kB / 482.8 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.1388, allocations: 93.95 kB / 482.9 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.139, allocations: 366.8 kB / 483.2 MB, free: 132 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000315/0.1393, allocations: 160.6 kB / 483.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003758/0.1397, allocations: 293.4 kB / 483.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007339/0.1404, allocations: 0.4889 MB / 484.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.1404, allocations: 4.109 kB / 484.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008986/0.1413, allocations: 0.5437 MB / 484.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1413, allocations: 8 kB / 484.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1414, allocations: 4 kB / 484.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.1414, allocations: 8 kB / 484.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009388/0.1423, allocations: 219.8 kB / 484.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00357/0.1459, allocations: 7.31 MB / 492.2 MB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003423/0.1463, allocations: 63.28 kB / 492.3 MB, free: 6.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-05/0.1463, allocations: 23.98 kB / 492.3 MB, free: 6.617 MB / 366.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.000285/0.1466, allocations: 229.5 kB / 492.6 MB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.566e-05/0.1467, allocations: 47.42 kB / 492.6 MB, free: 6.336 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.1477, allocations: 0.5525 MB / 493.1 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.1478, allocations: 4 kB / 493.2 MB, free: 5.773 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1478, allocations: 0 / 493.2 MB, free: 5.773 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1478, allocations: 0 / 493.2 MB, free: 5.773 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004794/0.1483, allocations: 425.2 kB / 493.6 MB, free: 5.309 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1483, allocations: 0 / 493.6 MB, free: 5.309 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000822/0.1491, allocations: 203.8 kB / 493.8 MB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.638e-06/0.1491, allocations: 4 kB / 493.8 MB, free: 5.105 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.1492, allocations: 15.92 kB / 493.8 MB, free: 5.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003451/0.1526, allocations: 7.31 MB / 0.4894 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1526, allocations: 0 / 0.4894 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007698/0.1534, allocations: 0.5032 MB / 0.4898 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.1535, allocations: 128.5 kB / 0.49 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.999e-05/0.1536, allocations: 4 kB / 0.49 GB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.1539, allocations: 15.97 kB / 0.49 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.219e-05/0.1539, allocations: 28.03 kB / 0.49 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.154, allocations: 15.98 kB / 0.49 GB, free: 12.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003939/0.1544, allocations: 387 kB / 0.4904 GB, free: 12.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1544, allocations: 0 / 0.4904 GB, free: 12.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006268/0.155, allocations: 163.8 kB / 0.4906 GB, free: 12.24 MB / 382.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.001313/0.1563, allocations: 1.153 MB / 0.4917 GB, free: 11.06 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001525/0.1579, allocations: 0.6058 MB / 0.4923 GB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1579, allocations: 0 / 0.4923 GB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009927/0.1589, allocations: 347.6 kB / 0.4926 GB, free: 10.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/0.1594, allocations: 99.41 kB / 0.4927 GB, free: 10.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006517/0.1659, allocations: 5.449 MB / 0.498 GB, free: 4.375 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004326/0.1664, allocations: 0.8897 MB / 0.4989 GB, free: 3.461 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003724/0.1668, allocations: 148.2 kB / 0.499 GB, free: 3.316 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002011/0.167, allocations: 139.4 kB / 0.4992 GB, free: 3.18 MB / 382.1 MB Notification: Performance of SimCode: time 1.001e-06/0.167, allocations: 0 / 0.4992 GB, free: 3.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2204/0.3874, allocations: 14.49 MB / 0.5133 GB, free: 49.1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.8, allocations: 16.84 kB / 0.5133 GB, free: 49.1 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_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/kc_evenGapOverall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches