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.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,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",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.001063/0.001063, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001093/0.001093, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.333/1.333, allocations: 222.9 MB / 242.3 MB, free: 15.23 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.201/0.201, allocations: 44.19 MB / 336.6 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 64.27 kB / 408.6 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1202, allocations: 60.81 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.003447/0.1237, allocations: 1.945 MB / 471.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001835/0.1256, allocations: 1.129 MB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.818e-05/0.1257, allocations: 7.938 kB / 472.5 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002865/0.126, allocations: 63.64 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002461/0.1263, allocations: 107.4 kB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004695/0.1268, allocations: 155.4 kB / 472.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004568/0.1272, allocations: 477.7 kB / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.91e-05/0.1273, allocations: 49.03 kB / 473.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.1275, allocations: 163.1 kB / 473.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000235/0.1277, allocations: 195 kB / 473.6 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.472e-05/0.1278, allocations: 8 kB / 473.6 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000444/0.1282, allocations: 271.5 kB / 473.9 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.1283, allocations: 99.47 kB / 474 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.1285, allocations: 182.8 kB / 474.2 MB, free: 9.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006154/0.1292, allocations: 0.5684 MB / 474.8 MB, free: 8.859 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.1292, allocations: 4 kB / 474.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1292, allocations: 0 / 474.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1292, allocations: 0 / 474.8 MB, free: 8.855 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.0009545/0.1301, allocations: 0.7219 MB / 475.5 MB, free: 8.086 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.1302, allocations: 8.031 kB / 475.5 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.531e-05/0.1303, allocations: 102.7 kB / 475.6 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.006e-05/0.1304, allocations: 48.36 kB / 475.6 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003342/0.1307, allocations: 295.6 kB / 475.9 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.1308, allocations: 37.69 kB / 476 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.118e-05/0.1309, allocations: 51.94 kB / 476 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008556/0.1317, allocations: 0.6389 MB / 476.7 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.1317, allocations: 0 / 476.7 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.206e-05/0.1318, allocations: 20 kB / 476.7 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.59e-05/0.1318, allocations: 37.23 kB / 476.7 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007723/0.1326, allocations: 0.5085 MB / 477.2 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002232/0.1349, allocations: 1.414 MB / 478.6 MB, free: 4.828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000725/0.1356, allocations: 437.8 kB / 479.1 MB, free: 4.395 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002284/0.1358, allocations: 140.8 kB / 479.2 MB, free: 4.254 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.386e-05/0.1359, allocations: 15.88 kB / 479.2 MB, free: 4.238 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.1359, allocations: 38.5 kB / 479.2 MB, free: 4.191 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.904e-06/0.1359, allocations: 0 / 479.2 MB, free: 4.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.0009028/0.1369, allocations: 0.5013 MB / 479.7 MB, free: 3.684 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.1369, allocations: 55.41 kB / 479.8 MB, free: 3.617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005751/0.1375, allocations: 0.5407 MB / 480.3 MB, free: 3.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.1375, allocations: 33.7 kB / 480.4 MB, free: 3.031 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.1377, allocations: 228 kB / 480.6 MB, free: 2.805 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.772e-05/0.1378, allocations: 82.81 kB / 480.7 MB, free: 2.723 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.1379, allocations: 97.92 kB / 480.8 MB, free: 2.621 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.138, allocations: 354.7 kB / 481.1 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002464/0.1383, allocations: 156.2 kB / 481.3 MB, free: 2.113 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003107/0.1386, allocations: 261.5 kB / 481.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00381/0.1424, allocations: 1.055 MB / 482.6 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.1424, allocations: 0 / 482.6 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000805/0.1433, allocations: 0.4968 MB / 483.1 MB, free: 224 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.1433, allocations: 8 kB / 483.1 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.729e-05/0.1434, allocations: 39.98 kB / 483.1 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.1434, allocations: 11.94 kB / 483.1 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.1436, allocations: 39.91 kB / 483.2 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.1436, allocations: 4 kB / 483.2 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002588/0.1439, allocations: 55.31 kB / 483.2 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.161e-05/0.1439, allocations: 23.98 kB / 483.3 MB, free: 40 kB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (41): * Single equations (assignments): 29 * 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.0003592/0.1443, allocations: 229.8 kB / 483.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.923e-05/0.1444, allocations: 43.44 kB / 483.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009649/0.1454, allocations: 0.5402 MB / 484.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.1454, allocations: 4 kB / 484.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.1454, allocations: 4 kB / 484.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.1454, allocations: 11.98 kB / 484.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006017/0.146, allocations: 429.1 kB / 484.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.19e-05/0.1461, allocations: 39.98 kB / 484.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.1463, allocations: 27.98 kB / 484.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1463, allocations: 0 / 484.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.022e-05/0.1463, allocations: 12 kB / 484.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1463, allocations: 0 / 484.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1463, allocations: 3.938 kB / 484.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.1473, allocations: 0.7178 MB / 485.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.1475, allocations: 120.6 kB / 485.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.904e-05/0.1476, allocations: 8 kB / 485.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.1478, allocations: 7.984 kB / 485.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.774e-05/0.1478, allocations: 23.98 kB / 485.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/0.1479, allocations: 19.98 kB / 485.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004247/0.1483, allocations: 399 kB / 485.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1483, allocations: 0 / 485.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005276/0.1488, allocations: 143.8 kB / 486 MB, free: 13.18 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * 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: 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.001447/0.1503, allocations: 1.313 MB / 487.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008903/0.1512, allocations: 0.731 MB / 488.1 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1512, allocations: 0 / 488.1 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004218/0.1516, allocations: 484.2 kB / 488.5 MB, free: 10.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000507/0.1521, allocations: 101 kB / 488.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006813/0.159, allocations: 5.49 MB / 494.1 MB, free: 4.734 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005125/0.1595, allocations: 0.8819 MB / 495 MB, free: 3.828 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003045/0.1598, allocations: 116.2 kB / 495.1 MB, free: 3.715 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/0.16, allocations: 135.4 kB / 495.2 MB, free: 3.586 MB / 366.1 MB Notification: Performance of SimCode: time 1.693e-06/0.16, allocations: 0 / 495.2 MB, free: 3.586 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03439/0.1944, allocations: 12.69 MB / 0.496 GB, free: 7.113 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.724/7.919, allocations: 14.27 kB / 0.496 GB, free: 7.102 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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_evenGapLaminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches