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.001391/0.001391, allocations: 98.67 kB / 16.27 MB, free: 5.93 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.001435/0.001435, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.1 MB, free: 12.29 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.2097/0.2097, allocations: 43.51 MB / 313.9 MB, free: 0.5156 MB / 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.002296/0.002296, allocations: 67.48 kB / 382.9 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1241, allocations: 57.79 MB / 440.6 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC): time 0.002829/0.127, allocations: 2.139 MB / 442.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.129, allocations: 1.807 MB / 444.6 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.957e-05/0.1291, allocations: 4 kB / 444.6 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002786/0.1294, allocations: 71.52 kB / 444.7 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003415/0.1297, allocations: 151.2 kB / 444.8 MB, free: 2.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006524/0.1304, allocations: 334.5 kB / 445.1 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000329/0.1307, allocations: 485.7 kB / 445.6 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.1308, allocations: 61 kB / 445.7 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.131, allocations: 183.1 kB / 445.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002141/0.1313, allocations: 222.9 kB / 446.1 MB, free: 1.309 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.766e-05/0.1313, allocations: 12 kB / 446.1 MB, free: 1.297 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007624/0.1321, allocations: 0.5576 MB / 446.6 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.1322, allocations: 115.5 kB / 446.7 MB, free: 0.625 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001581/0.1324, allocations: 190.6 kB / 446.9 MB, free: 448 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007555/0.1331, allocations: 0.7202 MB / 447.7 MB, free: 15.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1331, allocations: 0 / 447.7 MB, free: 15.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1331, allocations: 0 / 447.7 MB, free: 15.71 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.1332, allocations: 0 / 447.7 MB, free: 15.71 MB / 334.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.001232/0.1344, allocations: 0.7769 MB / 448.4 MB, free: 14.89 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1344, allocations: 8.031 kB / 448.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001017/0.1346, allocations: 102.7 kB / 448.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.824e-05/0.1347, allocations: 52.28 kB / 448.6 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003765/0.135, allocations: 303.9 kB / 448.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/0.1351, allocations: 33 kB / 448.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.066e-05/0.1351, allocations: 51.98 kB / 449 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009693/0.1361, allocations: 0.7108 MB / 449.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1361, allocations: 0 / 449.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.594e-05/0.1362, allocations: 23.98 kB / 449.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.78e-05/0.1363, allocations: 53.27 kB / 449.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.1374, allocations: 0.7428 MB / 450.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/0.1393, allocations: 1.442 MB / 451.9 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007459/0.1401, allocations: 461.8 kB / 452.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002858/0.1404, allocations: 157.2 kB / 452.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.189e-05/0.1405, allocations: 16.55 kB / 452.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.1405, allocations: 38.5 kB / 452.6 MB, free: 10.6 MB / 334.1 MB Notification: Performance of pre-optimization done (n=28): time 1.413e-06/0.1405, allocations: 0 / 452.6 MB, free: 10.6 MB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.001077/0.1416, allocations: 0.5357 MB / 453.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.1416, allocations: 59.41 kB / 453.2 MB, free: 9.984 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005297/0.1422, allocations: 0.5251 MB / 453.7 MB, free: 9.457 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.1422, allocations: 33.7 kB / 453.7 MB, free: 9.418 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.1424, allocations: 240.1 kB / 454 MB, free: 9.176 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.767e-05/0.1424, allocations: 110.5 kB / 454.1 MB, free: 9.066 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.1426, allocations: 86.06 kB / 454.2 MB, free: 8.973 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.1427, allocations: 362.8 kB / 454.5 MB, free: 8.609 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003019/0.1431, allocations: 164.6 kB / 454.7 MB, free: 8.449 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003654/0.1434, allocations: 301.3 kB / 455 MB, free: 8.098 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007187/0.1442, allocations: 496.6 kB / 455.5 MB, free: 7.555 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1442, allocations: 0 / 455.5 MB, free: 7.555 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008909/0.1451, allocations: 0.5394 MB / 456 MB, free: 7.008 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.1451, allocations: 8 kB / 456 MB, free: 7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.1451, allocations: 8.547 kB / 456 MB, free: 6.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.1451, allocations: 12 kB / 456 MB, free: 6.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009273/0.1461, allocations: 215.8 kB / 456.2 MB, free: 6.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003866/0.1499, allocations: 7.309 MB / 463.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003584/0.1503, allocations: 55.66 kB / 463.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.05e-05/0.1504, allocations: 31.92 kB / 463.6 MB, free: 15.09 MB / 350.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.0002856/0.1507, allocations: 233.6 kB / 463.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.968e-05/0.1508, allocations: 43.44 kB / 463.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.1518, allocations: 0.5562 MB / 464.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.1518, allocations: 4 kB / 464.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1518, allocations: 0 / 464.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1518, allocations: 0 / 464.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004824/0.1523, allocations: 429.2 kB / 464.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1523, allocations: 0 / 464.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000855/0.1532, allocations: 195.9 kB / 465.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.1532, allocations: 7.984 kB / 465.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/0.1533, allocations: 15.94 kB / 465.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003944/0.1572, allocations: 7.298 MB / 472.4 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.1572, allocations: 0 / 472.4 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007896/0.158, allocations: 0.5156 MB / 472.9 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.1582, allocations: 132.4 kB / 473.1 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.823e-05/0.1583, allocations: 4 kB / 473.1 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.1585, allocations: 11.98 kB / 473.1 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.16e-05/0.1586, allocations: 23.97 kB / 473.1 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.37e-05/0.1586, allocations: 19.98 kB / 473.1 MB, free: 5.246 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004076/0.1591, allocations: 387 kB / 473.5 MB, free: 4.867 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1591, allocations: 4 kB / 473.5 MB, free: 4.863 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006847/0.1598, allocations: 167.8 kB / 473.7 MB, free: 4.699 MB / 350.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.001356/0.1611, allocations: 1.137 MB / 474.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001576/0.1627, allocations: 0.6059 MB / 475.4 MB, free: 2.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1627, allocations: 0 / 475.4 MB, free: 2.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.1637, allocations: 352.5 kB / 475.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005137/0.1643, allocations: 107.7 kB / 475.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006944/0.1712, allocations: 5.457 MB / 481.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006368/0.1719, allocations: 0.8974 MB / 482.2 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004558/0.1724, allocations: 148.2 kB / 482.3 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/0.1727, allocations: 147.4 kB / 482.5 MB, free: 11.62 MB / 366.1 MB Notification: Performance of SimCode: time 8.51e-07/0.1727, allocations: 0 / 482.5 MB, free: 11.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03855/0.2112, allocations: 14.48 MB / 497 MB, free: 13.17 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/11.87, allocations: 448 / 497 MB, free: 13.17 MB / 382.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