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_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 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_evenGapTurbulent,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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.001118/0.001118, allocations: 109.8 kB / 16.41 MB, free: 6.004 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.001228/0.001228, allocations: 187.6 kB / 17.34 MB, free: 5.617 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.356/1.356, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.1866/0.1866, allocations: 43.52 MB / 314.1 MB, free: 464 kB / 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.001522/0.001522, allocations: 60.28 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1131, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003315/0.1164, allocations: 1.912 MB / 0.4893 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.1183, allocations: 1.122 MB / 0.4904 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.1185, allocations: 0 / 0.4904 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002957/0.1188, allocations: 55.67 kB / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002167/0.119, allocations: 71.59 kB / 0.4905 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005683/0.1196, allocations: 163.3 kB / 0.4907 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000312/0.1199, allocations: 227 kB / 0.4909 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.114e-05/0.12, allocations: 25.66 kB / 0.4909 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.1202, allocations: 87.56 kB / 0.491 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.1204, allocations: 107.5 kB / 0.4911 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.119e-05/0.1204, allocations: 8 kB / 0.4911 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004329/0.1209, allocations: 239.6 kB / 0.4913 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.057e-05/0.121, allocations: 59.73 kB / 0.4914 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.1211, allocations: 91.41 kB / 0.4915 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005266/0.1217, allocations: 318.7 kB / 0.4918 GB, free: 7.812 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1217, allocations: 0 / 0.4918 GB, free: 7.812 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1217, allocations: 0 / 0.4918 GB, free: 7.812 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.1217, allocations: 0 / 0.4918 GB, free: 7.812 MB / 382.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.001147/0.1228, allocations: 0.5642 MB / 0.4923 GB, free: 7.199 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.1229, allocations: 8.031 kB / 0.4923 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.229e-05/0.123, allocations: 50.73 kB / 0.4924 GB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.396e-05/0.123, allocations: 20.8 kB / 0.4924 GB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.1234, allocations: 239.9 kB / 0.4926 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.1234, allocations: 8.375 kB / 0.4926 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.1234, allocations: 15.94 kB / 0.4926 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005635/0.124, allocations: 288.4 kB / 0.4929 GB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.124, allocations: 0 / 0.4929 GB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.124, allocations: 8 kB / 0.4929 GB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.27e-05/0.1241, allocations: 15.97 kB / 0.4929 GB, free: 6.496 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005593/0.1246, allocations: 223.7 kB / 0.4932 GB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.1258, allocations: 0.7659 MB / 0.4939 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005491/0.1263, allocations: 231.7 kB / 0.4941 GB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/0.1266, allocations: 94.5 kB / 0.4942 GB, free: 5.098 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.424e-05/0.1266, allocations: 8 kB / 0.4942 GB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.1267, allocations: 42.52 kB / 0.4943 GB, free: 5.039 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 2.294e-06/0.1267, allocations: 0 / 0.4943 GB, free: 5.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009584/0.1276, allocations: 317.4 kB / 0.4946 GB, free: 4.723 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.115e-05/0.1277, allocations: 106.8 kB / 0.4947 GB, free: 4.594 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/0.128, allocations: 274.5 kB / 0.4949 GB, free: 4.316 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.1281, allocations: 33.7 kB / 0.495 GB, free: 4.277 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.1282, allocations: 143.8 kB / 0.4951 GB, free: 4.133 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.892e-05/0.1282, allocations: 47.58 kB / 0.4951 GB, free: 4.086 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.564e-05/0.1283, allocations: 49.72 kB / 0.4952 GB, free: 4.031 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1285, allocations: 330.9 kB / 0.4955 GB, free: 3.699 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/0.1287, allocations: 83.86 kB / 0.4956 GB, free: 3.617 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002613/0.129, allocations: 131.7 kB / 0.4957 GB, free: 3.473 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005308/0.1296, allocations: 212.9 kB / 0.4959 GB, free: 3.246 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1296, allocations: 3.938 kB / 0.4959 GB, free: 3.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006256/0.1302, allocations: 269.7 kB / 0.4962 GB, free: 2.973 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.1302, allocations: 7.938 kB / 0.4962 GB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.79e-05/0.1303, allocations: 8 kB / 0.4962 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.1303, allocations: 4 kB / 0.4962 GB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/0.1305, allocations: 31.97 kB / 0.4962 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.1305, allocations: 4 kB / 0.4962 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.1307, allocations: 31.86 kB / 0.4963 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.1307, allocations: 12 kB / 0.4963 GB, free: 2.875 MB / 382.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.0001377/0.1309, allocations: 161.6 kB / 0.4964 GB, free: 2.707 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.374e-05/0.131, allocations: 27.8 kB / 0.4965 GB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004613/0.1314, allocations: 227.2 kB / 0.4967 GB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.1315, allocations: 4 kB / 0.4967 GB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1315, allocations: 0 / 0.4967 GB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1315, allocations: 0 / 0.4967 GB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003844/0.1319, allocations: 269.5 kB / 0.4969 GB, free: 2.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.856e-05/0.1319, allocations: 12.09 kB / 0.4969 GB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.1321, allocations: 27.91 kB / 0.497 GB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.1321, allocations: 7.938 kB / 0.497 GB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.1321, allocations: 8 kB / 0.497 GB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1321, allocations: 0 / 0.497 GB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1321, allocations: 0 / 0.497 GB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000646/0.1328, allocations: 485.7 kB / 0.4974 GB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.963e-05/0.1329, allocations: 104.8 kB / 0.4975 GB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.339e-05/0.1329, allocations: 8 kB / 0.4976 GB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.1332, allocations: 15.97 kB / 0.4976 GB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.293e-05/0.1333, allocations: 19.98 kB / 0.4976 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.1333, allocations: 7.938 kB / 0.4976 GB, free: 1.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001858/0.1335, allocations: 205.9 kB / 0.4978 GB, free: 1.211 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1335, allocations: 0 / 0.4978 GB, free: 1.211 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004411/0.1339, allocations: 79.77 kB / 0.4979 GB, free: 1.133 MB / 382.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.001077/0.135, allocations: 1.066 MB / 0.4989 GB, free: 40 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006561/0.1357, allocations: 277 kB / 0.4992 GB, free: 15.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.1357, allocations: 4.062 kB / 0.4992 GB, free: 15.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003316/0.136, allocations: 181 kB / 0.4994 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005301/0.1366, allocations: 56.62 kB / 0.4994 GB, free: 15.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00386/0.1404, allocations: 2.974 MB / 0.5023 GB, free: 12.4 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.1408, allocations: 0.7632 MB / 0.5031 GB, free: 11.61 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001336/0.1409, allocations: 37.52 kB / 0.5031 GB, free: 11.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.1411, allocations: 63.42 kB / 0.5032 GB, free: 11.51 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1411, allocations: 0 / 0.5032 GB, free: 11.51 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02599/0.1671, allocations: 6.515 MB / 0.5095 GB, free: 5 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.641/7.808, allocations: 16.12 kB / 0.5095 GB, free: 4.984 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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_evenGapTurbulent/kc_evenGapTurbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches