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_evenGapTurbulent.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_evenGapTurbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",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.001189/0.001189, allocations: 104.1 kB / 17.63 MB, free: 5.48 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.001207/0.001207, allocations: 192 kB / 18.56 MB, free: 4.562 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.348/1.348, allocations: 222.9 MB / 242.3 MB, free: 15.19 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.2109/0.2109, allocations: 44.19 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001256, allocations: 60.06 kB / 408.6 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1222, allocations: 60.83 MB / 469.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.00394/0.1262, allocations: 1.895 MB / 471.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002012/0.1283, allocations: 1.09 MB / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.1284, allocations: 0 / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003276/0.1288, allocations: 39.7 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002306/0.1291, allocations: 75.58 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000636/0.1297, allocations: 159.4 kB / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003309/0.13, allocations: 223 kB / 472.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.636e-05/0.1301, allocations: 25.66 kB / 472.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.1303, allocations: 83.56 kB / 473 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00019/0.1305, allocations: 107.5 kB / 473.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.403e-05/0.1306, allocations: 8 kB / 473.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004416/0.131, allocations: 243.6 kB / 473.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.537e-05/0.1311, allocations: 55.73 kB / 473.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.1313, allocations: 87.41 kB / 473.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005275/0.1318, allocations: 319.2 kB / 473.8 MB, free: 9.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1318, allocations: 0 / 473.8 MB, free: 9.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1318, allocations: 0 / 473.8 MB, free: 9.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.1318, allocations: 0 / 473.8 MB, free: 9.836 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001089/0.1329, allocations: 0.5492 MB / 474.3 MB, free: 9.238 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.133, allocations: 12.03 kB / 474.3 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.173e-05/0.1331, allocations: 54.67 kB / 474.4 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.706e-05/0.1331, allocations: 28.64 kB / 474.4 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.1334, allocations: 219.9 kB / 474.6 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.1334, allocations: 12.38 kB / 474.6 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.1334, allocations: 19.94 kB / 474.7 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005245/0.134, allocations: 292.2 kB / 474.9 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.134, allocations: 0 / 474.9 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.134, allocations: 4 kB / 474.9 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.794e-05/0.134, allocations: 15.98 kB / 475 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005507/0.1346, allocations: 219.7 kB / 475.2 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.1357, allocations: 0.7656 MB / 475.9 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005506/0.1363, allocations: 223.7 kB / 476.2 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/0.1365, allocations: 110.5 kB / 476.3 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.969e-05/0.1366, allocations: 7.984 kB / 476.3 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.1366, allocations: 38.53 kB / 476.3 MB, free: 7.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.813e-06/0.1366, allocations: 0 / 476.3 MB, free: 7.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009185/0.1375, allocations: 309.3 kB / 476.6 MB, free: 6.762 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.226e-05/0.1376, allocations: 111 kB / 476.7 MB, free: 6.629 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002678/0.1379, allocations: 286.4 kB / 477 MB, free: 6.344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.1379, allocations: 29.7 kB / 477 MB, free: 6.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.138, allocations: 139.9 kB / 477.2 MB, free: 6.168 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.312e-05/0.1381, allocations: 55.41 kB / 477.2 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-05/0.1382, allocations: 37.61 kB / 477.3 MB, free: 6.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1383, allocations: 338.8 kB / 477.6 MB, free: 5.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002479/0.1385, allocations: 75.92 kB / 477.7 MB, free: 5.656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.1388, allocations: 133 kB / 477.8 MB, free: 5.508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005209/0.1394, allocations: 216.9 kB / 478 MB, free: 5.277 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1394, allocations: 3.984 kB / 478 MB, free: 5.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006617/0.14, allocations: 261.3 kB / 478.3 MB, free: 5.012 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.1401, allocations: 7.938 kB / 478.3 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.529e-05/0.1401, allocations: 8 kB / 478.3 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.1401, allocations: 4 kB / 478.3 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.1403, allocations: 31.97 kB / 478.3 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.1403, allocations: 4 kB / 478.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.1405, allocations: 35.66 kB / 478.4 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.1406, allocations: 15.97 kB / 478.4 MB, free: 4.906 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001457/0.1407, allocations: 153.7 kB / 478.5 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.553e-05/0.1408, allocations: 23.66 kB / 478.5 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004799/0.1413, allocations: 227.2 kB / 478.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.1413, allocations: 0 / 478.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1413, allocations: 4 kB / 478.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1413, allocations: 3.984 kB / 478.8 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003999/0.1417, allocations: 261.5 kB / 479 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.97e-05/0.1418, allocations: 12 kB / 479 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/0.1419, allocations: 27.97 kB / 479.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.142, allocations: 7.938 kB / 479.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.142, allocations: 4 kB / 479.1 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.142, allocations: 4 kB / 479.1 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.142, allocations: 0 / 479.1 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006642/0.1427, allocations: 482 kB / 479.5 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.661e-05/0.1428, allocations: 104.7 kB / 479.7 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.036e-05/0.1428, allocations: 3.984 kB / 479.7 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002513/0.1431, allocations: 23.98 kB / 479.7 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.583e-05/0.1431, allocations: 11.98 kB / 479.7 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.1432, allocations: 8.094 kB / 479.7 MB, free: 3.473 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001861/0.1434, allocations: 205.9 kB / 479.9 MB, free: 3.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1434, allocations: 0 / 479.9 MB, free: 3.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004922/0.1439, allocations: 75.94 kB / 480 MB, free: 3.195 MB / 350.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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.00115/0.145, allocations: 1.074 MB / 481 MB, free: 2.094 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006789/0.1457, allocations: 293 kB / 481.3 MB, free: 1.789 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1457, allocations: 0 / 481.3 MB, free: 1.789 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003111/0.146, allocations: 181 kB / 481.5 MB, free: 1.594 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005245/0.1466, allocations: 40.97 kB / 481.6 MB, free: 1.555 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003945/0.1505, allocations: 2.964 MB / 484.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.1509, allocations: 0.7593 MB / 485.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001312/0.151, allocations: 41.52 kB / 485.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.1511, allocations: 63.41 kB / 485.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of SimCode: time 2.144e-06/0.1511, allocations: 4 kB / 485.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02467/0.1758, allocations: 6.459 MB / 491.8 MB, free: 7.301 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.541/7.717, allocations: 11.34 kB / 491.9 MB, free: 7.293 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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_evenGapTurbulent.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent/kc_evenGapTurbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches