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_evenGapLaminar_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_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_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.001775/0.001775, allocations: 102.8 kB / 17.63 MB, free: 5.344 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.00207/0.00207, allocations: 192 kB / 18.56 MB, free: 4.434 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.393/1.393, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.2987/0.2987, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00226/0.00226, allocations: 58.25 kB / 408.6 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1438, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC): time 0.00498/0.1489, allocations: 2.157 MB / 471.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001989/0.1509, allocations: 0.9035 MB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.151, allocations: 4 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003784/0.1514, allocations: 67.59 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005068/0.152, allocations: 151.2 kB / 472.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003576/0.1524, allocations: 83.7 kB / 472.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006234/0.153, allocations: 485.7 kB / 473.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.1531, allocations: 64.98 kB / 473.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002862/0.1534, allocations: 183.1 kB / 473.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003767/0.1538, allocations: 230.9 kB / 473.7 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.128e-05/0.1539, allocations: 15.94 kB / 473.7 MB, free: 9.906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004694/0.1544, allocations: 183.7 kB / 473.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.1545, allocations: 111.4 kB / 474 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003735/0.1549, allocations: 190.7 kB / 474.2 MB, free: 9.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006473/0.1556, allocations: 0.5333 MB / 474.7 MB, free: 8.895 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1556, allocations: 4 kB / 474.7 MB, free: 8.891 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1556, allocations: 0 / 474.7 MB, free: 8.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.1556, allocations: 0 / 474.7 MB, free: 8.891 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.001243/0.1569, allocations: 0.7487 MB / 475.5 MB, free: 8.094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.1569, allocations: 11.97 kB / 475.5 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001082/0.157, allocations: 102.7 kB / 475.6 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.1571, allocations: 56.28 kB / 475.6 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.1575, allocations: 303.8 kB / 475.9 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.286e-05/0.1576, allocations: 41 kB / 476 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.451e-05/0.1577, allocations: 47.98 kB / 476 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.1588, allocations: 0.7108 MB / 476.7 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.1588, allocations: 0 / 476.7 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.752e-05/0.1589, allocations: 19.98 kB / 476.7 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.771e-05/0.159, allocations: 57.27 kB / 476.8 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.1602, allocations: 0.7389 MB / 477.5 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002241/0.1625, allocations: 1.441 MB / 479 MB, free: 4.461 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.1636, allocations: 454.4 kB / 479.4 MB, free: 4.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004304/0.1641, allocations: 157.2 kB / 479.6 MB, free: 3.855 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.367e-05/0.1641, allocations: 12.2 kB / 479.6 MB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.655e-05/0.1642, allocations: 34.8 kB / 479.6 MB, free: 3.801 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 5.981e-06/0.1642, allocations: 3.984 kB / 479.6 MB, free: 3.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001625/0.1659, allocations: 0.5481 MB / 480.2 MB, free: 3.242 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.1659, allocations: 55.41 kB / 480.2 MB, free: 3.176 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008668/0.1668, allocations: 0.5251 MB / 480.7 MB, free: 2.645 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.749e-05/0.1669, allocations: 33.7 kB / 480.8 MB, free: 2.605 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/0.1671, allocations: 224.5 kB / 481 MB, free: 2.379 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.1673, allocations: 106.5 kB / 481.1 MB, free: 2.273 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001932/0.1675, allocations: 89.94 kB / 481.2 MB, free: 2.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.1677, allocations: 362.8 kB / 481.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004605/0.1681, allocations: 152.5 kB / 481.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005385/0.1687, allocations: 252.2 kB / 481.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009825/0.1697, allocations: 431.7 kB / 482.4 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1697, allocations: 7.938 kB / 482.4 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001384/0.1711, allocations: 0.4887 MB / 482.9 MB, free: 428 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/0.1711, allocations: 11.98 kB / 482.9 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.1712, allocations: 4.375 kB / 482.9 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.1712, allocations: 8 kB / 482.9 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.1726, allocations: 203.8 kB / 483.1 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005121/0.1777, allocations: 7.321 MB / 490.4 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005651/0.1783, allocations: 51.66 kB / 490.4 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.495e-05/0.1784, allocations: 27.98 kB / 490.5 MB, free: 8.516 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (40): * Single equations (assignments): 28 * 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.0004633/0.1788, allocations: 222.3 kB / 490.7 MB, free: 8.289 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.179, allocations: 51.42 kB / 490.7 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/0.1805, allocations: 0.5484 MB / 491.3 MB, free: 7.684 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.1806, allocations: 8 kB / 491.3 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1806, allocations: 0 / 491.3 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.1806, allocations: 0 / 491.3 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008169/0.1814, allocations: 425.2 kB / 491.7 MB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.1814, allocations: 4 kB / 491.7 MB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/0.1827, allocations: 207.8 kB / 491.9 MB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.1827, allocations: 0 / 491.9 MB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.237e-05/0.1827, allocations: 11.94 kB / 491.9 MB, free: 6.992 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005144/0.1879, allocations: 7.31 MB / 499.2 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.1879, allocations: 0 / 499.2 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.1892, allocations: 0.515 MB / 499.8 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001855/0.1894, allocations: 124.5 kB / 499.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.1895, allocations: 11.98 kB / 499.9 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000358/0.1899, allocations: 11.94 kB / 499.9 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.19, allocations: 23.97 kB / 499.9 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.104e-05/0.1901, allocations: 11.98 kB / 499.9 MB, free: 14.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005774/0.1906, allocations: 391 kB / 0.4886 GB, free: 14.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1907, allocations: 0 / 0.4886 GB, free: 14.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007165/0.1914, allocations: 131.8 kB / 0.4887 GB, free: 14.16 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.001648/0.193, allocations: 1.091 MB / 0.4898 GB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001976/0.195, allocations: 0.5859 MB / 0.4904 GB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.195, allocations: 4 kB / 0.4904 GB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009877/0.196, allocations: 339.7 kB / 0.4907 GB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005544/0.1966, allocations: 93.84 kB / 0.4908 GB, free: 12.03 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006503/0.2031, allocations: 5.405 MB / 0.4961 GB, free: 6.469 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.2036, allocations: 0.9011 MB / 0.4969 GB, free: 5.543 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000325/0.2039, allocations: 124.1 kB / 0.4971 GB, free: 5.422 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001835/0.2041, allocations: 143.4 kB / 0.4972 GB, free: 5.281 MB / 382.1 MB Notification: Performance of SimCode: time 2.094e-06/0.2041, allocations: 4 kB / 0.4972 GB, free: 5.277 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2352/0.4393, allocations: 13.27 MB / 0.5102 GB, free: 51.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.84, allocations: 15.42 kB / 0.5102 GB, free: 51.09 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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_evenGapLaminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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_evenGapLaminar_KC/kc_evenGapLaminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches