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.001674/0.001674, allocations: 106.5 kB / 16.41 MB, free: 6.516 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.001863/0.001863, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.412/1.412, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2068/0.2068, allocations: 43.52 MB / 314.1 MB, free: 456 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.002157/0.002157, allocations: 69.45 kB / 441.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1046, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003707/0.1083, allocations: 1.904 MB / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001972/0.1103, allocations: 1.13 MB / 0.4904 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.1104, allocations: 0 / 0.4904 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002985/0.1107, allocations: 51.67 kB / 0.4904 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001728/0.1109, allocations: 55.67 kB / 0.4905 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005225/0.1115, allocations: 179.2 kB / 0.4907 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003038/0.1118, allocations: 223 kB / 0.4909 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.54e-05/0.1119, allocations: 21.66 kB / 0.4909 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.112, allocations: 87.56 kB / 0.491 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.1122, allocations: 103.5 kB / 0.4911 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.916e-05/0.1122, allocations: 8 kB / 0.4911 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004141/0.1127, allocations: 247.6 kB / 0.4913 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.437e-05/0.1128, allocations: 51.75 kB / 0.4914 GB, free: 8.207 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.1129, allocations: 99.34 kB / 0.4915 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004678/0.1133, allocations: 314.7 kB / 0.4918 GB, free: 7.801 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1134, allocations: 0 / 0.4918 GB, free: 7.801 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1134, allocations: 0 / 0.4918 GB, free: 7.801 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.1134, allocations: 4 kB / 0.4918 GB, free: 7.797 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.001128/0.1145, allocations: 0.5603 MB / 0.4923 GB, free: 7.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.1146, allocations: 8.031 kB / 0.4923 GB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.663e-05/0.1146, allocations: 50.73 kB / 0.4924 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.841e-05/0.1147, allocations: 24.8 kB / 0.4924 GB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.115, allocations: 239.9 kB / 0.4926 GB, free: 6.824 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.115, allocations: 8.375 kB / 0.4926 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.115, allocations: 19.94 kB / 0.4927 GB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005551/0.1156, allocations: 284.4 kB / 0.4929 GB, free: 6.504 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1156, allocations: 4 kB / 0.4929 GB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.1156, allocations: 4 kB / 0.4929 GB, free: 6.496 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.814e-05/0.1157, allocations: 8 kB / 0.4929 GB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005842/0.1163, allocations: 223.7 kB / 0.4932 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.1174, allocations: 0.7659 MB / 0.4939 GB, free: 5.445 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000572/0.118, allocations: 235.7 kB / 0.4941 GB, free: 5.188 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002706/0.1183, allocations: 102.5 kB / 0.4942 GB, free: 5.078 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.636e-05/0.1183, allocations: 4 kB / 0.4942 GB, free: 5.074 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.975e-05/0.1184, allocations: 42.5 kB / 0.4943 GB, free: 5.023 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.974e-06/0.1184, allocations: 0 / 0.4943 GB, free: 5.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.000957/0.1193, allocations: 321.4 kB / 0.4946 GB, free: 4.703 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.11e-05/0.1194, allocations: 106.8 kB / 0.4947 GB, free: 4.574 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002981/0.1197, allocations: 274.6 kB / 0.4949 GB, free: 4.297 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.1198, allocations: 29.7 kB / 0.495 GB, free: 4.262 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.1199, allocations: 139.8 kB / 0.4951 GB, free: 4.121 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.908e-05/0.12, allocations: 43.58 kB / 0.4951 GB, free: 4.078 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-05/0.12, allocations: 45.66 kB / 0.4952 GB, free: 4.027 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.1202, allocations: 334.9 kB / 0.4955 GB, free: 3.691 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002662/0.1205, allocations: 91.84 kB / 0.4956 GB, free: 3.602 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002881/0.1208, allocations: 121 kB / 0.4957 GB, free: 3.465 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005429/0.1213, allocations: 225.2 kB / 0.4959 GB, free: 3.227 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1214, allocations: 4 kB / 0.4959 GB, free: 3.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000659/0.122, allocations: 257.2 kB / 0.4962 GB, free: 2.965 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.1221, allocations: 14.59 kB / 0.4962 GB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.65e-05/0.1221, allocations: 12 kB / 0.4962 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.1221, allocations: 8.141 kB / 0.4962 GB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.1223, allocations: 35.91 kB / 0.4962 GB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1224, allocations: 0 / 0.4962 GB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.1225, allocations: 27.88 kB / 0.4963 GB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/0.1226, allocations: 15.98 kB / 0.4963 GB, free: 2.855 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.0001552/0.1227, allocations: 145.8 kB / 0.4964 GB, free: 2.703 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.58e-05/0.1228, allocations: 23.8 kB / 0.4964 GB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000506/0.1233, allocations: 235.1 kB / 0.4967 GB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.1233, allocations: 8.094 kB / 0.4967 GB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1234, allocations: 3.938 kB / 0.4967 GB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.1234, allocations: 4 kB / 0.4967 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004325/0.1238, allocations: 261.5 kB / 0.4969 GB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.841e-05/0.1238, allocations: 8 kB / 0.4969 GB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.124, allocations: 27.97 kB / 0.497 GB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.77e-06/0.124, allocations: 7.938 kB / 0.497 GB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.124, allocations: 11.98 kB / 0.497 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.1241, allocations: 0 / 0.497 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1241, allocations: 3.938 kB / 0.497 GB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006775/0.1247, allocations: 477.8 kB / 0.4974 GB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.362e-05/0.1248, allocations: 108.8 kB / 0.4975 GB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.753e-05/0.1249, allocations: 8 kB / 0.4976 GB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.1251, allocations: 15.97 kB / 0.4976 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.591e-05/0.1252, allocations: 15.98 kB / 0.4976 GB, free: 1.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.1252, allocations: 7.938 kB / 0.4976 GB, free: 1.402 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002084/0.1254, allocations: 209.9 kB / 0.4978 GB, free: 1.199 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1254, allocations: 0 / 0.4978 GB, free: 1.199 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004232/0.1259, allocations: 79.75 kB / 0.4979 GB, free: 1.121 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.001201/0.1271, allocations: 1.062 MB / 0.4989 GB, free: 32 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007407/0.1278, allocations: 280.8 kB / 0.4992 GB, free: 15.74 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1278, allocations: 0 / 0.4992 GB, free: 15.74 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003374/0.1282, allocations: 185.3 kB / 0.4994 GB, free: 15.54 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005144/0.1287, allocations: 56.67 kB / 0.4994 GB, free: 15.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004155/0.1329, allocations: 2.978 MB / 0.5023 GB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.1333, allocations: 0.7631 MB / 0.5031 GB, free: 11.6 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001312/0.1334, allocations: 37.52 kB / 0.5031 GB, free: 11.56 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.1335, allocations: 67.41 kB / 0.5032 GB, free: 11.49 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1336, allocations: 0 / 0.5032 GB, free: 11.49 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02949/0.163, allocations: 6.523 MB / 0.5095 GB, free: 4.98 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.251/8.414, allocations: 8.188 kB / 0.5095 GB, free: 4.973 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