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.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,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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.001619/0.001619, allocations: 107.7 kB / 16.27 MB, free: 5.98 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.001958/0.001958, allocations: 191.9 kB / 17.2 MB, free: 5.613 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.378/1.378, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.2047/0.2047, allocations: 43.52 MB / 313.9 MB, free: 0.5352 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.002846/0.002846, allocations: 71.3 kB / 382.9 MB, free: 56.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1312, allocations: 57.79 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.002873/0.1341, allocations: 2.197 MB / 442.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002155/0.1363, allocations: 2.099 MB / 444.9 MB, free: 2.477 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.613e-05/0.1364, allocations: 4 kB / 444.9 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002539/0.1367, allocations: 75.47 kB / 445 MB, free: 2.398 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000172/0.1369, allocations: 95.3 kB / 445.1 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008276/0.1377, allocations: 418.4 kB / 445.5 MB, free: 1.895 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000359/0.1381, allocations: 0.5016 MB / 446 MB, free: 1.391 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.197e-05/0.1382, allocations: 61.05 kB / 446.1 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.1383, allocations: 179 kB / 446.3 MB, free: 1.152 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.1385, allocations: 202.9 kB / 446.5 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.521e-05/0.1386, allocations: 16 kB / 446.5 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007123/0.1393, allocations: 0.6356 MB / 447.1 MB, free: 308 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.433e-05/0.1394, allocations: 115.4 kB / 447.2 MB, free: 192 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.1395, allocations: 190.7 kB / 447.4 MB, free: 0 / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008821/0.1404, allocations: 0.7786 MB / 448.2 MB, free: 15.22 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1404, allocations: 4 kB / 448.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1404, allocations: 0 / 448.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.1405, allocations: 0 / 448.2 MB, free: 15.21 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001281/0.1417, allocations: 0.8071 MB / 449 MB, free: 14.36 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.1418, allocations: 8.031 kB / 449 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.954e-05/0.1419, allocations: 94.7 kB / 449.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.628e-05/0.142, allocations: 52.28 kB / 449.1 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003666/0.1424, allocations: 311.5 kB / 449.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.329e-05/0.1424, allocations: 33.38 kB / 449.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.439e-05/0.1425, allocations: 55.88 kB / 449.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.1435, allocations: 0.6923 MB / 450.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.1436, allocations: 0 / 450.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.087e-05/0.1436, allocations: 20 kB / 450.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.581e-05/0.1437, allocations: 24.98 kB / 450.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008876/0.1445, allocations: 0.492 MB / 450.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/0.1465, allocations: 1.507 MB / 452.3 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005858/0.1471, allocations: 322.8 kB / 452.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003372/0.1474, allocations: 150.5 kB / 452.7 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.158e-05/0.1475, allocations: 24.22 kB / 452.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.1476, allocations: 46.44 kB / 452.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 1.673e-06/0.1476, allocations: 0 / 452.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.001292/0.1489, allocations: 0.5086 MB / 453.3 MB, free: 9.871 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/0.1489, allocations: 106.8 kB / 453.4 MB, free: 9.742 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005718/0.1495, allocations: 0.5642 MB / 454 MB, free: 9.168 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.1495, allocations: 29.7 kB / 454 MB, free: 9.133 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.1497, allocations: 232.2 kB / 454.2 MB, free: 8.898 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.543e-05/0.1498, allocations: 70.91 kB / 454.3 MB, free: 8.828 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.1499, allocations: 85.59 kB / 454.4 MB, free: 8.738 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1501, allocations: 362.8 kB / 454.7 MB, free: 8.375 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003543/0.1504, allocations: 151.8 kB / 454.9 MB, free: 8.227 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004191/0.1509, allocations: 256.6 kB / 455.1 MB, free: 7.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007934/0.1517, allocations: 425.5 kB / 455.6 MB, free: 7.469 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.1517, allocations: 0 / 455.6 MB, free: 7.469 MB / 334.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009351/0.1526, allocations: 492.4 kB / 456 MB, free: 6.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.1527, allocations: 8.375 kB / 456 MB, free: 6.973 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-05/0.1527, allocations: 43.98 kB / 456.1 MB, free: 6.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.1528, allocations: 8 kB / 456.1 MB, free: 6.922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.153, allocations: 31.91 kB / 456.1 MB, free: 6.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.153, allocations: 11.98 kB / 456.1 MB, free: 6.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/0.1533, allocations: 59.36 kB / 456.2 MB, free: 6.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.694e-05/0.1533, allocations: 31.92 kB / 456.2 MB, free: 6.789 MB / 334.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.0002169/0.1536, allocations: 213.6 kB / 456.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.1537, allocations: 51.38 kB / 456.5 MB, free: 6.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008843/0.1546, allocations: 465.3 kB / 456.9 MB, free: 6.059 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.1546, allocations: 4 kB / 456.9 MB, free: 6.055 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1546, allocations: 0 / 456.9 MB, free: 6.055 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1546, allocations: 3.938 kB / 456.9 MB, free: 6.051 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005509/0.1552, allocations: 405.2 kB / 457.3 MB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.748e-05/0.1552, allocations: 40 kB / 457.4 MB, free: 5.566 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.1554, allocations: 23.97 kB / 457.4 MB, free: 5.543 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.1554, allocations: 3.984 kB / 457.4 MB, free: 5.539 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.33e-05/0.1554, allocations: 12 kB / 457.4 MB, free: 5.527 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1554, allocations: 7.938 kB / 457.4 MB, free: 5.52 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1554, allocations: 3.938 kB / 457.4 MB, free: 5.516 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008701/0.1563, allocations: 0.6207 MB / 458.1 MB, free: 4.879 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.1564, allocations: 132.5 kB / 458.2 MB, free: 4.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.533e-05/0.1565, allocations: 4 kB / 458.2 MB, free: 4.727 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003245/0.1568, allocations: 15.98 kB / 458.2 MB, free: 4.711 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.252e-05/0.1569, allocations: 35.84 kB / 458.2 MB, free: 4.676 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.718e-05/0.157, allocations: 16 kB / 458.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004186/0.1574, allocations: 418.7 kB / 458.7 MB, free: 4.254 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1574, allocations: 0 / 458.7 MB, free: 4.254 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006158/0.158, allocations: 171.8 kB / 458.8 MB, free: 4.086 MB / 334.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.001515/0.1596, allocations: 1.284 MB / 460.1 MB, free: 2.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.1606, allocations: 0.6951 MB / 460.8 MB, free: 2 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1606, allocations: 0 / 460.8 MB, free: 2 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005415/0.1611, allocations: 493.1 kB / 461.3 MB, free: 1.445 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006614/0.1618, allocations: 94.44 kB / 461.4 MB, free: 1.355 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007503/0.1693, allocations: 5.546 MB / 466.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004724/0.1698, allocations: 0.8935 MB / 467.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001906/0.17, allocations: 75.34 kB / 467.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.1702, allocations: 127.4 kB / 468 MB, free: 10.51 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1702, allocations: 0 / 468 MB, free: 10.51 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03818/0.2084, allocations: 13.92 MB / 481.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.903/8.111, allocations: 4.188 kB / 481.9 MB, free: 12.63 MB / 366.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_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_evenGapOverall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches