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_KC.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_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",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.001053/0.001053, allocations: 105.8 kB / 16.27 MB, free: 5.93 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.001098/0.001098, allocations: 191.3 kB / 17.2 MB, free: 5.574 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.467/1.467, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2266/0.2266, allocations: 43.52 MB / 313.9 MB, free: 0.5312 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.001597/0.001597, allocations: 72.31 kB / 382.9 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1029, allocations: 57.78 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.002756/0.1057, allocations: 1.777 MB / 442.4 MB, free: 5.008 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.1068, allocations: 0.8343 MB / 443.2 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.662e-05/0.1069, allocations: 0 / 443.2 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002266/0.1071, allocations: 39.75 kB / 443.3 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002002/0.1073, allocations: 71.64 kB / 443.4 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.1075, allocations: 79.72 kB / 443.4 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.1077, allocations: 151.3 kB / 443.6 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.217e-05/0.1077, allocations: 17.06 kB / 443.6 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.625e-05/0.1078, allocations: 59.7 kB / 443.7 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.108, allocations: 79.66 kB / 443.7 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.108, allocations: 4 kB / 443.7 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002235/0.1082, allocations: 163.6 kB / 443.9 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.18e-05/0.1083, allocations: 35.89 kB / 443.9 MB, free: 3.48 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.94e-05/0.1083, allocations: 47.69 kB / 444 MB, free: 3.434 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.1086, allocations: 203.3 kB / 444.2 MB, free: 3.234 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1086, allocations: 0 / 444.2 MB, free: 3.234 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1086, allocations: 4 kB / 444.2 MB, free: 3.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1086, allocations: 4 kB / 444.2 MB, free: 3.227 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0005514/0.1091, allocations: 438.9 kB / 444.6 MB, free: 2.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.1092, allocations: 8.031 kB / 444.6 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.636e-05/0.1092, allocations: 54.72 kB / 444.7 MB, free: 2.68 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.1093, allocations: 12.75 kB / 444.7 MB, free: 2.668 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.1094, allocations: 204.8 kB / 444.9 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.1094, allocations: 8.312 kB / 444.9 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.1095, allocations: 23.88 kB / 444.9 MB, free: 2.398 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002869/0.1098, allocations: 169.5 kB / 445.1 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.1098, allocations: 0 / 445.1 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.1098, allocations: 0 / 445.1 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/0.1098, allocations: 15.98 kB / 445.1 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003007/0.1101, allocations: 159.9 kB / 445.3 MB, free: 2.055 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006087/0.1107, allocations: 496 kB / 445.7 MB, free: 1.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003501/0.1111, allocations: 158.5 kB / 445.9 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.1112, allocations: 52.81 kB / 445.9 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.1113, allocations: 7.984 kB / 446 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.125e-05/0.1113, allocations: 38.56 kB / 446 MB, free: 1.246 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.864e-06/0.1113, allocations: 0 / 446 MB, free: 1.246 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004907/0.1118, allocations: 193.4 kB / 446.2 MB, free: 1.051 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.1118, allocations: 55.34 kB / 446.2 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.112, allocations: 207.3 kB / 446.4 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.112, allocations: 29.7 kB / 446.5 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.055e-05/0.112, allocations: 112.5 kB / 446.6 MB, free: 0.625 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.1121, allocations: 31.62 kB / 446.6 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-05/0.1121, allocations: 29.61 kB / 446.6 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.021e-05/0.1122, allocations: 330.8 kB / 447 MB, free: 232 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.1123, allocations: 51.89 kB / 447 MB, free: 180 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.1124, allocations: 70.52 kB / 447.1 MB, free: 100 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/0.1127, allocations: 130.5 kB / 447.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1127, allocations: 4 kB / 447.2 MB, free: 15.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003561/0.1131, allocations: 165.4 kB / 447.4 MB, free: 15.79 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1131, allocations: 12.06 kB / 447.4 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1131, allocations: 0 / 447.4 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.1132, allocations: 0 / 447.4 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002772/0.1135, allocations: 47.97 kB / 447.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007032/0.1142, allocations: 1.227 MB / 448.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.1143, allocations: 19.88 kB / 448.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.1143, allocations: 0 / 448.7 MB, free: 14.43 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002224/0.1146, allocations: 143.8 kB / 448.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.394e-05/0.1146, allocations: 15.75 kB / 448.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004337/0.115, allocations: 183 kB / 449 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.1151, allocations: 8 kB / 449 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1151, allocations: 0 / 449 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1151, allocations: 3.984 kB / 449 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.1153, allocations: 221.5 kB / 449.2 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1154, allocations: 0 / 449.2 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002386/0.1156, allocations: 47.91 kB / 449.3 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1156, allocations: 0 / 449.3 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.1156, allocations: 0 / 449.3 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006265/0.1163, allocations: 1.23 MB / 450.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1163, allocations: 0 / 450.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003739/0.1167, allocations: 247.5 kB / 450.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.599e-05/0.1167, allocations: 89.02 kB / 450.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.1168, allocations: 11.88 kB / 450.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.1169, allocations: 11.98 kB / 450.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.33e-05/0.1169, allocations: 7.984 kB / 450.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.117, allocations: 3.938 kB / 450.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000124/0.1171, allocations: 153.2 kB / 451 MB, free: 11.94 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1171, allocations: 0 / 451 MB, free: 11.94 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003036/0.1174, allocations: 40 kB / 451.1 MB, free: 11.9 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000762/0.1182, allocations: 0.8175 MB / 451.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005181/0.1187, allocations: 147.8 kB / 452 MB, free: 10.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1187, allocations: 0 / 452 MB, free: 10.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002918/0.119, allocations: 91.81 kB / 452.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.1194, allocations: 36.33 kB / 452.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002638/0.122, allocations: 2.166 MB / 454.3 MB, free: 8.535 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.1223, allocations: 0.7201 MB / 455 MB, free: 7.789 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001317/0.1225, allocations: 45.02 kB / 455.1 MB, free: 7.746 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.642e-05/0.1226, allocations: 39.42 kB / 455.1 MB, free: 7.707 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1226, allocations: 0 / 455.1 MB, free: 7.707 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02428/0.1469, allocations: 4.541 MB / 459.7 MB, free: 3.215 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.38, allocations: 12.38 kB / 459.7 MB, free: 3.203 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_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_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_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/kc_evenGapTurbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches